1 2014-11-18 Roland McGrath <roland@hack.frob.com>
3 * nptl/createthread.c: Moved ...
4 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6 * nptl/createthread.c: Add proper top-line comment.
7 (do_clone): Folded into ...
8 (create_thread): ... here. Take new arguments STOPPED_START and
9 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10 increment __nptl_threads, do event-reporting logic, do
11 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13 resource cleanup if sched_setaffinity or sched_setscheduler fails,
15 * nptl/pthread_create.c: Forward-declare create_thread before
16 including createthread.c.
17 (start_thread): Use new macro START_THREAD_DEFN to replace defining
18 declaration, and new macro START_THREAD_SELF to replace argument.
19 Remove return statement.
20 (report_thread_creation): New function.
21 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
22 synchronization logic, and __nptl_nthreads increment here, around
23 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
24 PD->parent_cancelhandling here, before create_thread. When
25 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26 __deallocate_stack, and ENOMEM translation here.
28 2014-11-18 Joseph Myers <joseph@codesourcery.com>
31 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32 (mptwo): Rename to __mptwo.
33 (__inv): Use __mptwo instead of mptwo.
34 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35 (mptwo): Rename to __mptwo.
36 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37 of mpone and __mptwo instead of mptwo.
38 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43 of mpone and __mptwo instead of mptwo.
44 (__mpranred): Use __mpone instead of mpone.
45 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
47 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
48 (test-xfail-ISO99/math.h/linknamespace): Likewise.
49 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
50 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
51 (test-xfail-ISO11/math.h/linknamespace): Likewise.
52 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
53 (test-xfail-XPG3/math.h/linknamespace): Likewise.
54 (test-xfail-XPG4/math.h/linknamespace): Likewise.
55 (test-xfail-POSIX/math.h/linknamespace): Likewise.
56 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
57 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
58 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
59 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
60 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
61 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
62 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
63 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
64 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
65 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
67 2014-11-18 Tom de Vries <tom@codesoucery.com>
69 * manual/signal.texi (Primitives Interrupted by Signals): In section,
70 replace BSD Handler xref with BSD Signal Handling.
72 2014-11-17 Richard Henderson <rth@redhat.com>
74 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
75 (_FP_PACK_RAW_2): Remove.
76 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
77 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
78 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
79 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
80 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
81 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
82 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
83 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
84 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
85 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
86 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
87 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
88 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
89 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
90 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
91 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
93 2014-11-14 Roland McGrath <roland@hack.frob.com>
95 * signal/signal.h [__USE_MISC]
96 (struct sigvec): Remove type.
97 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
98 (sigvec): Remove declaration.
99 * sysdeps/posix/sigvec.c: Moved ...
100 * signal/sigvec.c: ... here, replacing old file.
101 (struct sigvec): New type, copied from old signal.h definition.
102 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
103 (__sigvec): Convert definition to prototype.
104 (sigvec): Replace weak_alias with compat_symbol.
105 * signal/Versions (libc: GLIBC_2.21): New version set.
106 * include/signal.h: Remove __sigvec declaration.
107 * sysdeps/unix/bsd/sigvec.c: Remove file.
108 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
109 * manual/signal.texi (BSD Handler): Remove subsection.
110 Move siginterrupt up to ...
111 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
112 (Blocking in BSD): Fold subsection into its parent.
113 * NEWS: Mention sigvec removal.
115 2014-11-14 Joseph Myers <joseph@codesourcery.com>
117 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
118 (DLA_FMS): Make definition conditional only on [__FMA4__].
119 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
122 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
123 Make definition conditional only on [PROF].
124 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
126 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
127 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
129 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
131 * include/signal.h (__sigpause): Move declaration above call to
133 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
135 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
136 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
138 2014-11-14 David S. Miller <davem@davemloft.net>
140 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
141 Define before including <string/memcpy.c> and <string/mempcpy.c>.
143 2014-11-14 Joseph Myers <joseph@codesourcery.com>
145 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
146 * configure: Regenerated.
147 * manual/install.texi (Tools for Compilation): Document a
148 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
149 compiler verified to work.
150 * INSTALL: Regenerated.
152 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
153 redeclare with asm name.
154 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
155 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
156 including <string.h>.
157 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
159 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
161 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
163 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
165 2014-11-13 Joseph Myers <joseph@codesourcery.com>
167 * stdlib/strtol.c (__strtol): Use prototype definition.
170 * stdlib/strtol.c (SYM__): New macro.
172 (__strtol): Likewise.
173 (strtol): Rename to __strtol and define as weak alias of
174 __strtol. Use libc_hidden_weak.
176 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
178 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
179 Use numbered labels in inline assembly.
181 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
183 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
184 Add setjmp LIBC_PROBE.
185 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
187 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
188 Add longjmp, longjmp_target LIBC_PROBE.
189 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
192 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
195 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
196 to get rid of unused variable warning.
198 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
200 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
201 Check for unwind_backtrace == NULL only in SHARED case.
202 (__backchain_backtrace): Compile only in SHARED case.
203 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
205 (__backchain_backtrace): Declare as static.
207 2014-11-12 Roland McGrath <roland@hack.frob.com>
209 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
210 (__libc_multiple_threads_ptr): Variable moved ...
211 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
213 2014-11-12 Joseph Myers <joseph@codesourcery.com>
215 * conform/GlibcConform.pm: New file.
216 * conform/conformtest.pl: Use GlibcConform module.
217 * conform/linknamespace.pl: New file.
218 * conform/list-header-symbols.pl: Likewise.
219 * conform/Makefile (linknamespace-symlists-base): New variable.
220 (linknamespace-symlists-tests): Likewise.
221 (linknamespace-header-base): Likewise.
222 (linknamespace-header-tests): Likewise.
223 (tests-special): Add new tests.
224 ($(linknamespace-symlists-tests)): New rule.
225 (linknamespace-libs): New variable.
226 ($(objpfx)symlist-stdlibs): New rule.
227 ($(linknamespace-header-tests)): Likewise.
228 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
229 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
230 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
231 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
232 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
233 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
234 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
235 (test-xfail-ISO/math.h/linknamespace): Likewise.
236 (test-xfail-ISO/signal.h/linknamespace): Likewise.
237 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
238 (test-xfail-ISO/time.h/linknamespace): Likewise.
239 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
240 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
241 (test-xfail-ISO99/math.h/linknamespace): Likewise.
242 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
243 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
244 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
245 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
246 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
247 (test-xfail-ISO11/math.h/linknamespace): Likewise.
248 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
249 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
250 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
251 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
252 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
253 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
254 (test-xfail-XPG3/math.h/linknamespace): Likewise.
255 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
256 (test-xfail-XPG3/search.h/linknamespace): Likewise.
257 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
258 (test-xfail-XPG3/time.h/linknamespace): Likewise.
259 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
260 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
261 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
262 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
263 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
264 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
265 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
266 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
267 (test-xfail-XPG4/math.h/linknamespace): Likewise.
268 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
269 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
270 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
271 (test-xfail-XPG4/search.h/linknamespace): Likewise.
272 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
273 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
274 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
275 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
276 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
277 (test-xfail-XPG4/time.h/linknamespace): Likewise.
278 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
279 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
280 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
281 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
282 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
283 (test-xfail-POSIX/math.h/linknamespace): Likewise.
284 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
285 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
286 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
287 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
288 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
289 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
290 (test-xfail-POSIX/time.h/linknamespace): Likewise.
291 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
292 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
293 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
294 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
295 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
296 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
297 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
298 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
299 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
300 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
301 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
302 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
303 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
304 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
305 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
306 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
307 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
308 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
309 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
310 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
311 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
312 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
313 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
314 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
315 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
316 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
317 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
318 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
319 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
320 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
321 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
322 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
323 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
324 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
325 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
326 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
327 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
328 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
329 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
330 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
331 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
332 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
333 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
334 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
335 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
336 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
337 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
338 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
339 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
340 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
341 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
342 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
343 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
344 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
345 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
346 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
347 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
348 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
349 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
350 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
351 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
352 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
353 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
354 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
355 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
356 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
357 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
358 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
359 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
360 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
361 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
362 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
363 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
364 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
365 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
366 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
367 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
368 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
369 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
370 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
371 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
372 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
373 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
374 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
375 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
376 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
377 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
378 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
379 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
380 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
381 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
382 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
383 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
384 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
385 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
386 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
387 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
388 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
391 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
395 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
396 (memmem): Rename to __memmem and define as weak alias of
397 __memmem. Use libc_hidden_weak.
398 (__memmem): Use libc_hidden_def.
399 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
400 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
404 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
405 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
406 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
407 and define as weak alias of __fgets_unlocked. Use
409 (__fgets_unlocked): Use libc_hidden_def.
410 * include/stdio.h (__fgets_unlocked): Declare. Use
412 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
413 __fgets_unlocked instead of fgets_unlocked.
414 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
415 (GET_NPROCS_CONF_PARSER): Likewise.
416 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
417 (GET_NPROCS_CONF_PARSER): Likewise.
420 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
421 weak alias of __wmemset. Use libc_hidden_weak.
422 (__wmemset): Use libc_hidden_def.
423 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
424 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
428 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
429 with asm name __mempcpy.
430 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
433 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
434 and define as weak alias of __rawmemchr.
435 (__rawmemchr): Do not define as strong alias of rawmemchr.
438 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
440 (qsort): Call __qsort_r instead of qsort_r.
441 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
442 (__qsort_r): Declare. Call libc_hidden_proto.
443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
445 * nscd/gai.c (__qsort_r): Define to qsort_r.
446 * posix/tst-rfc3484.c (__qsort_r): Likewise.
447 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
448 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
451 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
452 define as weak alias of __malloc_info.
455 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
456 as weak alias of __rewinddir. Don't use libc_hidden_def.
457 (__rewinddir): Use libc_hidden_def.
458 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
459 as weak alias of __rewinddir. Don't use libc_hidden_def.
460 (__rewinddir): Use libc_hidden_def.
461 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
462 weak alias of __rewinddir. Don't use libc_hidden_def.
463 (__rewinddir): Use libc_hidden_def.
464 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
465 (__rewinddir): Use libc_hidden_proto.
466 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
468 (__getcwd): Use __rewinddir instead of rewinddir.
471 * libio/fileno.c (fileno): Rename to __fileno and define as weak
472 alias of __fileno. Use libc_hidden_weak.
473 (__fileno): Use libc_hidden_def.
474 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
475 * libio/ftello.c (ftello): Rename to __ftello and define as weak
477 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
479 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
480 (__fread_unlocked): Define as strong alias of _IO_fread. Use
482 (fread_unlocked): Don't use libc_hidden_ver.
483 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
484 and define as weak alias of __fread_unlocked. Don't use
486 (__fread_unlocked): Use libc_hidden_def.
487 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
488 (ftello): Don't use libc_hidden_proto.
489 (__ftello): Declare. Use libc_hidden_proto.
490 (fread_unlocked): Don't use libc_hidden_proto.
491 (__fread_unlocked): Declare. Use libc_hidden_proto.
492 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
493 and __ftello instead of fileno, fread_unlocked and ftello.
495 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
501 (_dl_start_user): Likewise.
502 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
504 2014-11-12 Carlos O'Donell <carlos@redhat.com>
505 Siddhesh Poyarekar <siddhesh@redhat.com>
507 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
508 Move argv and envp down instead of moving argc up.
509 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
511 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
514 * test-skeleton.c (main): Return successful if one of
515 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
516 * string/tst-strcoll-overflow.c: Define expected status.
518 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
521 * locale/iso-639.def: Define Bhili and Tulu language codes.
523 2014-11-11 Alan Hayward <alan.hayward@arm.com>
525 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
527 2014-11-10 Renlin Li <Renlin.Li@arm.com>
530 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
532 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
534 * configure.ac: Updated check of minimal required version to
536 * manual/install.texi (Tools for Compilation): Updated version
538 * configure: Regenerated.
541 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
543 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
546 2014-11-07 Joseph Myers <joseph@codesourcery.com>
548 * include/sys/wait.h (__libc_waitpid): Remove declaration.
549 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
550 (__waitpid): Don't define as alias. Use libc_hidden_def not
552 (waitpid): Define as alias of __waitpid.
553 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
555 (__waitpid): Don't define as alias. Use libc_hidden_def not
557 (waitpid): Define as alias of __waitpid.
558 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
559 __libc_waitpid alias.
560 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
561 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
563 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
564 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
565 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
567 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
569 (__waitpid): Don't define as alias. Use libc_hidden_def not
571 (waitpid): Define as alias of __waitpid.
573 2014-11-06 Carlos O'Donell <carlos@redhat.com>
575 * manual/llio.texi: Add comment that write safety has been
578 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
579 (localplt-build-dso): Add elf/ld.so.
580 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
581 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
584 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
589 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
590 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
591 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
592 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
593 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
594 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
595 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
596 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
597 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
598 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
601 2014-11-05 Joseph Myers <joseph@codesourcery.com>
604 * include/libc-symbols.h (INTUSE): Remove macro.
606 (INTVARDEF): Likewise.
607 (_INTVARDEF): Likewise.
609 (INTVARDEF2): Likewise.
610 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
611 rtld_hidden_def instead of INTVARDEF.
612 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
613 (_dl_starting_up_internal): Remove declaration.
614 (_dl_starting_up): Use rtld_hidden_proto.
615 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
617 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
618 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
620 * elf/dl-writev.h (_dl_writev): Likewise.
621 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
622 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
623 _dl_starting_up_internal.
625 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
630 2014-11-05 Will Newton <will.newton@linaro.org>
632 * benchtests/Makefile: (bench-malloc): Add malloc thread
633 scalability benchmark.
634 * benchtests/bench-malloc-threads.c: New file.
636 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
638 * sysdeps/aarch64/strchrnul.S: New file.
640 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
644 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
652 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
655 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
657 * catgets/test-gencat.c: Use test-skeleton.c.
658 * catgets/tst-catgets.c: Likewise.
659 * csu/tst-empty.c: Likewise.
660 * elf/tst-audit2.c: Likewise.
661 * elf/tst-global1.c: Likewise.
662 * elf/tst-pathopt.c: Likewise.
663 * elf/tst-piemod1.c: Likewise.
664 * elf/tst-tls10.c: Likewise.
665 * elf/tst-tls11.c: Likewise.
666 * elf/tst-tls12.c: Likewise.
667 * gnulib/tst-gcc.c: Likewise.
668 * iconvdata/tst-e2big.c: Likewise.
669 * iconvdata/tst-loading.c: Likewise.
670 * iconv/tst-iconv1.c: Likewise.
671 * iconv/tst-iconv2.c: Likewise.
672 * inet/test-inet6_opt.c: Likewise.
673 * inet/tst-gethnm.c: Likewise.
674 * inet/tst-network.c: Likewise.
675 * inet/tst-ntoa.c: Likewise.
676 * intl/tst-codeset.c: Likewise.
677 * intl/tst-gettext2.c: Likewise.
678 * intl/tst-gettext3.c: Likewise.
679 * intl/tst-ngettext.c: Likewise.
680 * intl/tst-translit.c: Likewise.
681 * io/test-stat.c: Likewise.
682 * libio/test-fmemopen.c: Likewise.
683 * libio/tst-freopen.c: Likewise.
684 * libio/tst-sscanf.c: Likewise.
685 * libio/tst-ungetwc1.c: Likewise.
686 * libio/tst-ungetwc2.c: Likewise.
687 * libio/tst-widetext.c: Likewise.
688 * localedata/tst-ctype.c: Likewise.
689 * localedata/tst-digits.c: Likewise.
690 * localedata/tst-leaks.c: Likewise.
691 * localedata/tst-mbswcs1.c: Likewise.
692 * localedata/tst-mbswcs2.c: Likewise.
693 * localedata/tst-mbswcs3.c: Likewise.
694 * localedata/tst-mbswcs4.c: Likewise.
695 * localedata/tst-mbswcs5.c: Likewise.
696 * localedata/tst-setlocale.c: Likewise.
697 * localedata/tst-trans.c: Likewise.
698 * localedata/tst-wctype.c: Likewise.
699 * localedata/tst-xlocale1.c: Likewise.
700 * login/tst-grantpt.c: Likewise.
701 * malloc/tst-calloc.c: Likewise.
702 * malloc/tst-malloc.c: Likewise.
703 * malloc/tst-mallocstate.c: Likewise.
704 * malloc/tst-mcheck.c: Likewise.
705 * malloc/tst-mtrace.c: Likewise.
706 * malloc/tst-obstack.c: Likewise.
707 * math/atest-exp2.c: Likewise.
708 * math/atest-exp.c: Likewise.
709 * math/atest-sincos.c: Likewise.
710 * math/test-matherr.c: Likewise.
711 * math/test-misc.c: Likewise.
712 * math/test-powl.c: Likewise.
713 * math/tst-definitions.c: Likewise.
714 * misc/tst-dirname.c: Likewise.
715 * misc/tst-efgcvt.c: Likewise.
716 * misc/tst-fdset.c: Likewise.
717 * misc/tst-hsearch.c: Likewise.
718 * misc/tst-mntent2.c: Likewise.
719 * nptl/tst-sem7.c: Likewise.
720 * nptl/tst-sem8.c: Likewise.
721 * nptl/tst-sem9.c: Likewise.
722 * nss/test-netdb.c: Likewise.
723 * posix/tst-fnmatch.c: Likewise.
724 * posix/tst-getlogin.c: Likewise.
725 * posix/tst-gnuglob.c: Likewise.
726 * posix/tst-mmap.c: Likewise.
727 * pwd/tst-getpw.c: Likewise.
728 * resolv/tst-inet_ntop.c: Likewise.
729 * rt/tst-timer.c: Likewise.
730 * stdio-common/test-fseek.c: Likewise.
731 * stdio-common/test-popen.c: Likewise.
732 * stdio-common/test-vfprintf.c: Likewise.
733 * stdio-common/tst-cookie.c: Likewise.
734 * stdio-common/tst-fileno.c: Likewise.
735 * stdio-common/tst-gets.c: Likewise.
736 * stdio-common/tst-obprintf.c: Likewise.
737 * stdio-common/tst-perror.c: Likewise.
738 * stdio-common/tst-sprintf2.c: Likewise.
739 * stdio-common/tst-sprintf3.c: Likewise.
740 * stdio-common/tst-sprintf.c: Likewise.
741 * stdio-common/tst-swprintf.c: Likewise.
742 * stdio-common/tst-tmpnam.c: Likewise.
743 * stdio-common/tst-unbputc.c: Likewise.
744 * stdio-common/tst-wc-printf.c: Likewise.
745 * stdlib/tst-environ.c: Likewise.
746 * stdlib/tst-fmtmsg.c: Likewise.
747 * stdlib/tst-limits.c: Likewise.
748 * stdlib/tst-rand48-2.c: Likewise.
749 * stdlib/tst-rand48.c: Likewise.
750 * stdlib/tst-random2.c: Likewise.
751 * stdlib/tst-random.c: Likewise.
752 * stdlib/tst-strtol.c: Likewise.
753 * stdlib/tst-strtoll.c: Likewise.
754 * stdlib/tst-tls-atexit.c: Likewise.
755 * stdlib/tst-xpg-basename.c: Likewise.
756 * string/test-ffs.c: Likewise.
757 * string/tst-bswap.c: Likewise.
758 * string/tst-inlcall.c: Likewise.
759 * string/tst-strtok.c: Likewise.
760 * string/tst-strxfrm.c: Likewise.
761 * sysdeps/x86_64/tst-audit10.c: Likewise.
762 * sysdeps/x86_64/tst-audit3.c: Likewise.
763 * sysdeps/x86_64/tst-audit4.c: Likewise.
764 * sysdeps/x86_64/tst-audit5.c: Likewise.
765 * time/tst-ftime_l.c: Likewise.
766 * time/tst-getdate.c: Likewise.
767 * time/tst-mktime3.c: Likewise.
768 * time/tst-mktime.c: Likewise.
769 * time/tst-posixtz.c: Likewise.
770 * time/tst-strptime2.c: Likewise.
771 * time/tst-strptime3.c: Likewise.
772 * wcsmbs/tst-btowc.c: Likewise.
773 * wcsmbs/tst-mbrtowc.c: Likewise.
774 * wcsmbs/tst-mbsrtowcs.c: Likewise.
775 * wcsmbs/tst-wchar-h.c: Likewise.
776 * wcsmbs/tst-wcpncpy.c: Likewise.
777 * wcsmbs/tst-wcrtomb.c: Likewise.
778 * wcsmbs/tst-wcsnlen.c: Likewise.
779 * wcsmbs/tst-wcstof.c: Likewise.
781 2014-11-04 Joseph Myers <joseph@codesourcery.com>
784 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
786 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
788 (_dl_mcount): Use rtld_hidden_proto.
789 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
791 * elf/rtld.c (_rtld_global_ro): Likewise.
794 * elf/dl-init.c (_dl_init): Don't use INTDEF.
795 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
796 of _dl_init_internal.
797 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
798 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
799 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
800 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
801 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
802 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
803 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
804 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
805 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
806 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
807 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
808 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
809 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
810 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
811 * sysdeps/tile/dl-start.S (_start): Likewise.
812 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
813 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
816 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
817 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
818 (rtld_progname): Make macro definition unconditional.
819 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
821 (dlmopen_doit): Do not use INTUSE with _dl_argv.
823 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
824 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
825 instead of _dl_argv_internal.
826 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
827 __GI__dl_argv instead of INTUSE(_dl_argv).
828 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
829 __GI__dl_argv instead of _dl_argv_internal.
831 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
832 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
834 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
835 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
837 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
838 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
840 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
841 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
843 2014-11-04 Andreas Schwab <schwab@suse.de>
845 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
847 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
850 mtvsrd instruction in binary form.
852 2014-11-03 Andreas Schwab <schwab@suse.de>
855 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
856 for less than MB_LEN_MAX use a local buffer of that size.
857 * libio/tst-fputws.c: New file.
858 * libio/Makefile (tests): Add tst-fputws.
860 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
862 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
863 the size of the fpu_fr.fpu_dregs[] array.
865 2014-11-01 Joseph Myers <joseph@codesourcery.com>
867 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
868 (__nanosleep): Do not define as alias.
869 (nanosleep): Define as alias of __nanosleep.
870 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
871 __libc_nanosleep name.
873 2014-10-31 Joseph Myers <joseph@codesourcery.com>
875 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
876 install.texi in comment.
878 2014-10-31 Torvald Riegel <triegel@redhat.com>
880 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
881 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
882 ... add here and use lwsync or sync ...
883 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
884 ... and add here using lwsync.
886 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
888 * elf/dl-machine-reject-phdr.h: New file.
889 * elf/dl-load.c: #include that.
890 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
891 if that returned true.
893 2014-10-31 Roland McGrath <roland@hack.frob.com>
896 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
897 gen-as-const-headers chunk. Add a big scare comment after the last
898 safe place to touch before-compile.
900 2014-10-31 Joseph Myers <joseph@codesourcery.com>
902 * manual/install.texi (Tools for Compilation): Update autoconf
903 version requirements.
904 * INSTALL: Regenerated.
906 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
907 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
908 (__libc_pselect): Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
916 2014-10-31 Torvald Riegel <triegel@redhat.com>
918 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
919 correct barrier instruction.
920 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
922 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
925 2014-10-30 Roland McGrath <roland@hack.frob.com>
927 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
928 after defining inlines. Instead, just use parens to defeat macro
929 expansion of __isctype in its declaration.
931 2014-10-30 Joseph Myers <joseph@codesourcery.com>
933 * include/sys/uio.h (__libc_readv): Remove declaration.
934 (__libc_writev): Likewise.
935 * misc/readv.c (__libc_readv): Rename to __readv.
936 (__readv): Do not define as alias.
937 (readv): Define as alias of __readv.
938 * misc/writev.c (__libc_writev): Rename to __writev.
939 (__writev): Do not define as alias.
940 (writev): Define as alias of __writev.
941 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
942 (__readv): Do not define as alias.
943 (readv): Define unconditionally as alias of __readv.
944 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
945 (__writev): Do not define as alias.
946 (writev): Define unconditionally as alias of __writev.
947 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
949 (writev): Do not define __libc_writev name.
951 2014-10-30 Roland McGrath <roland@hack.frob.com>
953 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
954 (convert_charseq): New function, broken out of ...
955 (use_from_charmap): ... here. Call it.
956 (use_to_charmap): Use convert_charseq and free instead of duplicating
957 its code with a variable-length stack struct.
959 2014-10-30 Joseph Myers <joseph@codesourcery.com>
961 * include/fcntl.h (__libc_creat): Remove declaration.
962 * io/creat.c (__libc_creat): Rename to creat.
963 (creat): Do not define as alias.
964 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
965 of creat instead of __libc_creat.
966 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
968 (creat): Do not define as alias.
969 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
971 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
976 2014-10-29 Carlos O'Donell <carlos@redhat.com>
978 * manual/llio.texi: Add comments discussing why write() may be
979 considered MT-unsafe on Linux.
981 2014-10-28 Carlos O'Donell <carlos@redhat.com>
983 * dl-load.c (local_strdup): Remove.
984 (expand_dynamic_string_token): Use __strdup.
985 (decompose_rpath): Likewise.
986 (_dl_map_object): Likewise.
988 2014-10-28 Joseph Myers <joseph@codesourcery.com>
991 * sysdeps/generic/unwind-dw2-fde.c
992 (__register_frame_info_bases_internal): Do not declare.
993 (__register_frame_info_table_bases_internal): Likewise.
994 (__deregister_frame_info_bases_internal): Likewise.
995 (__register_frame_info_bases): Declare and use hidden_proto before
996 definition. Use hidden_def instead of INTDEF.
997 (__register_frame_info_table_bases): Likewise.
998 (__deregister_frame_info_bases): Likewise.
999 (__register_frame_info): Do not use INTUSE.
1000 (__register_frame): Likewise.
1001 (__register_frame_info_table): Likewise.
1002 (__register_frame_table): Likewise.
1003 (__deregister_frame_info): Likewise.
1004 (__deregister_frame): Likewise.
1006 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1009 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1011 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1013 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1016 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1019 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1020 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1021 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1022 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1023 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1024 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1026 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1027 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1028 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1031 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1033 (setfsuid): Likewise.
1034 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1035 (setfsuid): Likewise.
1036 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1037 (setfsuid): Likewise.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1040 (setfsuid): Likewise.
1041 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1042 (setfsuid): Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1045 (setfsuid): Likewise.
1047 2014-10-27 Andreas Schwab <schwab@suse.de>
1050 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1051 check for Slow_SSE4_2 feature bit.
1052 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1053 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1054 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1055 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1057 2014-10-24 Roland McGrath <roland@hack.frob.com>
1059 * configure.ac: Validate compiler version with a empirical test of
1060 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1062 * configure: Regenerated.
1064 * inet/htons.c (htons): Prototypify.
1065 * inet/htonl.c (htonl): Likewise.
1067 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1069 * string/strncat.c (strncat): Improve performance by using strlen.
1071 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1073 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1075 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1077 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1078 Call libc_fetestexcept_aarch64.
1080 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1082 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1083 Call libc_feholdexcept_aarch64.
1085 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1087 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1088 Call get_rounding_mode.
1090 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1092 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1095 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1097 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1100 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1104 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1105 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1106 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1107 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1108 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1109 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1110 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1111 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1112 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1113 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1114 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1115 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1117 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1118 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1119 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1120 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1121 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1122 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1123 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1124 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1128 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1131 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1132 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1133 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1134 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1135 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1136 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1137 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1138 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1143 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1145 (geteuid): Likewise.
1148 (getresgid): Likewise.
1149 (getresuid): Likewise.
1150 (getgroups): Likewise.
1151 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1152 (geteuid): Likewise.
1155 (getresgid): Likewise.
1156 (getresuid): Likewise.
1157 (getgroups): Likewise.
1158 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1159 (geteuid): Likewise.
1162 (getresgid): Likewise.
1163 (getresuid): Likewise.
1164 (getgroups): Likewise.
1165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1167 (geteuid): Likewise.
1170 (getresgid): Likewise.
1171 (getresuid): Likewise.
1172 (getgroups): Likewise.
1173 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1174 (geteuid): Likewise.
1177 (getresgid): Likewise.
1178 (getresuid): Likewise.
1179 (getgroups): Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1182 (geteuid): Likewise.
1185 (getgroups): Likewise.
1188 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1189 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1190 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1194 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1195 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1196 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1197 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1198 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1200 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1202 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1209 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1217 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1219 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1222 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1224 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1227 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1229 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1230 Remove unused include.
1232 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1234 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1235 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1236 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1237 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1239 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1240 Helge Deller <deller@gmx.de>
1243 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1244 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1245 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1247 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1251 Remove macro definition.
1252 (__ashrdi3_v_glibc20): Likewise.
1253 (__lshrdi3_v_glibc20): Likewise.
1254 (__cmpdi2_v_glibc20): Likewise.
1255 (__ucmpdi2_v_glibc20): Likewise.
1256 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1257 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1258 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1259 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1260 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1261 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1263 2014-10-22 Roland McGrath <roland@hack.frob.com>
1265 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1266 old GNU extension [0] syntax.
1267 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1268 alloca rather than an array member with variable length.
1269 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1270 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1271 (parse_opt): ... here. Likewise use alloca there.
1272 Validate the -i argument before checking for rootness.
1273 (send_shutdown): New function, broken out of ...
1274 (parse_opt): ... here.
1276 2014-10-22 Roland McGrath <roland@hack.frob.com>
1278 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1279 macro to get at the _rt_local_ro field.
1280 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1281 ([PIC] case) or _dl_hwcap ([!PIC] case).
1282 * sysdeps/arm/setjmp.S: Likewise.
1284 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1285 * sysdeps/arm/configure.ac: New check to define it.
1286 * sysdeps/arm/configure: Regenerated.
1287 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1288 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1289 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1290 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1291 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1292 Use move/movt pair instead of a load.
1293 (LDST_GLOBAL): Macro removed.
1294 (LDR_GLOBAL): New macro replaces it.
1295 (LDR_HIDDEN): New macro.
1296 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1297 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1299 * setjmp/tst-setjmp-static.c: New file.
1300 * setjmp/Makefile (tests): Add it.
1301 (tests-static): New variable.
1303 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1306 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1308 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1311 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1313 2014-10-21 Roland McGrath <roland@hack.frob.com>
1315 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1317 2014-10-20 Roland McGrath <roland@hack.frob.com>
1319 * io/fts.c (dirent_not_directory): New function.
1320 (fts_build): Call it.
1322 2014-10-20 Roland McGrath <roland@hack.frob.com>
1324 * nptl/version.c (__nptl_main): Use normal __write rather than
1326 (banner): Update copyright years.
1328 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1330 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1331 * nptl/pthread_cond_timedwait.c: Likewise.
1332 * nptl/pthread_mutex_timedlock.c: Likewise.
1333 * nptl/sem_timedwait.c: Likewise.
1335 * sysdeps/nptl/bits/libc-lock.h
1336 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1337 (__libc_lock_init_recursive): Return void, not 0.
1338 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1339 (__libc_rwlock_init): Likewise.
1340 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1342 2014-10-20 Torvald Riegel <triegel@redhat.com>
1345 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1346 (__pthread_once_slow): ... here.
1347 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1348 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1350 2014-10-20 Torvald Riegel <triegel@redhat.com>
1353 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1354 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1355 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1356 * nptl/pthread_once.c (__pthread_once): Likewise.
1359 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1362 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1364 (writev): Use __libc_writev as strong name.
1365 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1366 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1368 2014-10-17 Roland McGrath <roland@hack.frob.com>
1370 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1372 * sysdeps/i386/nptl/tls.h
1373 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1374 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1376 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1377 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1378 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1379 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1380 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1381 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1383 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1384 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1386 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1388 (__pthread_mutex_init): ... here. Call it.
1389 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1390 Conditionalize PI cases on [__NR_futex].
1391 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1392 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1393 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1395 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1396 conditional on [SIGSETXID].
1397 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1398 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1399 is defined. Likewise for SIGSETXID.
1400 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1401 Conditionalize definitions on [SIGSETXID].
1402 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1403 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1404 unblocking on [SIGCANCEL].
1406 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1407 [__NR_set_robust_list].
1409 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1411 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1412 (do_compare): Likewise.
1414 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1417 * string/strcoll_l.c: Don't include stdio.h.
1418 (coll_seq): Remove members idxarr and rulearr.
1419 (get_next_seq_cached): Remove function.
1420 (get_next_seq): Likewise.
1421 (get_next_seq_nocache): Rename to get_next_seq.
1422 (do_compare): Remove function.
1423 (do_compare_nocache): Rename to do_compare.
1424 (STRCOLL): Remove weight and rules cache.
1426 2014-10-16 Roland McGrath <roland@hack.frob.com>
1428 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1429 * sysdeps/arm/sfp-machine.h: ... to here.
1430 * sysdeps/arm/Implies: Remove arm/soft-fp.
1432 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1434 * conform/data/sys/utsname.h-data (*_t): Allow.
1435 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1436 [POSIX] (WEXITED): Do not expect constant.
1437 [POSIX] (WSTOPPED): Likewise.
1438 [POSIX] (WNOHANG): Likewise.
1439 [POSIX] (WNOWAIT): Likewise.
1440 [POSIX] (siginfo_t): Do not expect type or elements.
1441 [POSIX] (pid_t): Do not expect type.
1442 [POSIX] (signal.h): Do not allow header.
1443 [POSIX] (sys/resource.h): Likewise.
1444 [POSIX] (si_*): Do not allow pattern.
1445 [POSIX] (W*): Likewise.
1446 [POSIX] (P_*): Likewise.
1447 [POSIX] (BUS_*): Likewise.
1448 [POSIX] (CLD_*): Likewise.
1449 [POSIX] (FPE_*): Likewise.
1450 [POSIX] (ILL_*): Likewise.
1451 [POSIX] (POLL_*): Likewise.
1452 [POSIX] (SEGV_*): Likewise.
1453 [POSIX] (SI_*): Likewise.
1454 [POSIX] (TRAP_*): Likewise.
1455 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1458 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1462 infinite loop when __recvmsg returns 0.
1464 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1466 * CANCEL-FCT-WAIVE: Remove file.
1467 * CANCEL-FILE-WAIVE: Likewise.
1470 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1471 instead of INTVARDEF.
1472 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1473 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1474 rtld_hidden_data_def instead of INTVARDEF.
1475 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1476 * elf/dl-deps.c (expand_dst): Likewise.
1477 * elf/dl-load.c (_dl_dst_count): Likewise.
1478 (_dl_dst_substitute): Likewise.
1479 (decompose_rpath): Likewise.
1480 (_dl_init_paths): Likewise.
1481 (open_path): Likewise.
1482 (_dl_map_object): Likewise.
1483 * elf/rtld.c (dl_main): Likewise.
1484 (process_dl_audit): Likewise.
1485 (process_envvars): Likewise.
1486 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1488 (__libc_enable_secure): Use rtld_hidden_proto.
1490 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1493 (add_path): New function broken out of _dl_rtld_di_serinfo.
1494 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1496 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1498 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1499 parentheses around macro arguments.
1500 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1502 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1503 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1504 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1505 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1506 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1509 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1510 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1511 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1512 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1513 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1514 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1515 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1516 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1517 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1518 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1519 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1520 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1521 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1522 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1523 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1529 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1530 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1531 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1532 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1533 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1534 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1535 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1538 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1539 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1542 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1543 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1544 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1546 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1547 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1548 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1549 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1550 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1551 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1554 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1555 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1558 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1559 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1560 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1562 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1563 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1564 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1565 (_FP_FRAC_SRS_1): Likewise.
1566 (_FP_FRAC_CLZ_1): Likewise.
1567 (_FP_MUL_MEAT_1_imm): Likewise.
1568 (_FP_MUL_MEAT_1_wide): Likewise.
1569 (_FP_MUL_MEAT_1_hard): Likewise.
1570 (_FP_SQRT_MEAT_1): Likewise.
1571 (_FP_FRAC_ASSEMBLE_1): Likewise.
1572 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1573 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1574 (__FP_CLZ_2): Likewise.
1575 (_FP_MUL_MEAT_2_wide): Likewise.
1576 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1577 (_FP_MUL_MEAT_2_gmp): Likewise.
1578 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1579 (_FP_SQRT_MEAT_2): Likewise.
1580 (_FP_FRAC_ASSEMBLE_2): Likewise.
1581 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1582 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1583 (_FP_FRAC_CLZ_4): Likewise.
1584 (_FP_MUL_MEAT_4_wide): Likewise.
1585 (_FP_MUL_MEAT_4_gmp): Likewise.
1586 (_FP_SQRT_MEAT_4): Likewise.
1587 (_FP_FRAC_ASSEMBLE_4): Likewise.
1588 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1589 * soft-fp/op-common.h (_FP_CMP): Likewise.
1590 (_FP_CMP_EQ): Likewise.
1591 (_FP_CMP_UNORD): Likewise.
1592 (_FP_TO_INT): Likewise.
1593 (_FP_FROM_INT): Likewise.
1594 [!__FP_CLZ] (__FP_CLZ): Likewise.
1595 (_FP_DIV_HELP_imm): Likewise.
1596 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1598 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1601 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1602 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1603 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1604 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1605 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1606 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1607 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1608 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1609 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1610 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1611 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1612 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1613 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1614 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1615 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1616 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1617 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1618 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1619 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1623 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1627 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1628 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1629 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1630 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1631 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1632 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1633 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1634 (FP_UNPACK_RAW_SP): Likewise.
1635 (FP_PACK_RAW_S): Likewise.
1636 (FP_PACK_RAW_SP): Likewise.
1637 (FP_UNPACK_S): Likewise.
1638 (FP_UNPACK_SP): Likewise.
1639 (FP_UNPACK_SEMIRAW_S): Likewise.
1640 (FP_UNPACK_SEMIRAW_SP): Likewise.
1641 (FP_PACK_S): Likewise.
1642 (FP_PACK_SP): Likewise.
1643 (FP_PACK_SEMIRAW_S): Likewise.
1644 (FP_PACK_SEMIRAW_SP): Likewise.
1645 (_FP_SQRT_MEAT_S): Likewise.
1646 (FP_CMP_S): Likewise.
1647 (FP_CMP_EQ_S): Likewise.
1648 (FP_CMP_UNORD_S): Likewise.
1649 (FP_TO_INT_S): Likewise.
1650 (FP_FROM_INT_S): Likewise.
1652 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1654 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1655 (FP_EX_INVALID_IMZ): Likewise.
1656 (FP_EX_INVALID_IMZ_FMA): Likewise.
1657 (FP_EX_INVALID_ISI): Likewise.
1658 (FP_EX_INVALID_ZDZ): Likewise.
1659 (FP_EX_INVALID_IDI): Likewise.
1660 (FP_EX_INVALID_SQRT): Likewise.
1661 (FP_EX_INVALID_CVI): Likewise.
1662 (FP_EX_INVALID_VC): Likewise.
1663 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1664 "invalid" exceptions.
1665 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1666 (_FP_ADD_INTERNAL): Likewise.
1667 (_FP_MUL): Likewise.
1668 (_FP_FMA): Likewise.
1669 (_FP_DIV): Likewise.
1670 (_FP_CMP_CHECK_NAN): Likewise.
1671 (_FP_SQRT): Likewise.
1672 (_FP_TO_INT): Likewise.
1673 (FP_EXTEND): Likewise.
1675 2014-10-09 Allan McRae <allan@archlinux.org>
1677 * po/fr.po: Update French translation from translation project.
1679 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1682 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1684 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1685 (__cxa_atexit): Use libc_hidden_proto.
1686 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1689 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1691 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1692 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1693 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1694 [!_ISOMAC] (__iswctype_internal): Likewise.
1695 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1696 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1698 (fcntl): Remove __fcntl_internal alias.
1699 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1700 __connect_internal alias.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1704 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1705 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1707 (_FP_CHECK_FLUSH_ZERO): New macro.
1708 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1709 (_FP_CMP): Likewise.
1710 (_FP_CMP_EQ): Likewise.
1711 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1713 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1714 (FP_TRUNC): Likewise.
1716 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1717 treated as invalid conversion, not as normal exponent.
1719 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1720 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1721 (_FP_CMP_EQ): Likewise.
1722 (_FP_CMP_UNORD): Likewise.
1723 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1724 (FP_CMP_EQ_D): Likewise.
1725 (FP_CMP_UNORD_D): Likewise.
1726 * soft-fp/extended.h (FP_CMP_E): Likewise.
1727 (FP_CMP_EQ_E): Likewise.
1728 (FP_CMP_UNORD_E): Likewise.
1729 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1730 (FP_CMP_EQ_Q): Likewise.
1731 (FP_CMP_UNORD_Q): Likewise.
1732 * soft-fp/single.h (FP_CMP_S): Likewise.
1733 (FP_CMP_EQ_S): Likewise.
1734 (FP_CMP_UNORD_S): Likewise.
1735 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1736 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1737 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1738 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1739 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1740 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1741 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1742 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1743 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1744 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1745 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1746 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1747 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1749 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1751 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1752 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1754 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1756 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1757 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1758 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1759 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1761 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1763 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1764 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1766 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1768 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1769 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1770 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1771 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1774 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1775 a subnormal result, set the underflow exception if trapping on
1776 underflow is enabled.
1777 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1778 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1779 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1781 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1782 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1783 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1784 * soft-fp/extendxftf2.c (__extendxftf2): Use
1785 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1787 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1788 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1789 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1790 FP_HANDLE_EXCEPTIONS.
1791 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1792 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1793 FP_HANDLE_EXCEPTIONS.
1794 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1795 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1796 FP_HANDLE_EXCEPTIONS.
1797 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1798 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1799 FP_HANDLE_EXCEPTIONS.
1801 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1804 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1805 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1807 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1808 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1810 (__adjtimex): Define using libc_hidden_ver.
1811 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1813 (ntp_gettime): Call __adjtimex directly.
1814 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1816 (ntp_gettimex): Call __adjtimex directly.
1817 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1818 __adjtimex_internal alias.
1820 2014-10-08 Roland McGrath <roland@hack.frob.com>
1823 * nscd/nscd.c (more_help): Rewrite list of tables collection
1824 using xstrdup and asprintf.
1826 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1828 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1829 Roland McGrath <roland@hack.frob.com>
1831 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1832 (do_lookup_unique): ... local function 'enter' here; update callers.
1834 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1836 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1837 compat_symbol calls on [SHARED].
1838 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1839 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1841 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1842 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1843 (oldsetrlimit): Remove.
1844 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1846 (lchown): New syscall entry.
1847 (oldsetrlimit): Remove.
1848 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1850 (oldsetrlimit): Remove.
1851 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1854 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1855 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1856 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1857 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1858 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1859 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1861 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1866 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1869 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1870 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1871 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1872 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1874 (__old_sem_post): Likewise.
1876 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1878 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1879 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1880 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1881 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1882 Use INLINE_VSYSCALL macro.
1883 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1884 __vdso_clock_gettime.
1885 * sysdeps/unix/sysv/linux/tile/init-first.c
1886 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1887 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1888 __vdso_clock_gettime.
1890 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1891 to set up frame more cleanly.
1893 * sysdeps/tile/memcmp.c: New file.
1895 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1897 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1898 * sysdeps/tile/tilegx/strcasestr.c: New file.
1899 * sysdeps/tile/tilegx/strnlen.c: New file.
1900 * sysdeps/tile/tilegx/strstr.c: New file.
1902 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1904 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1906 * nptl/tst-setuid3.c: Write errors to stdout.
1908 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1911 (preload): New functions broken out of _dl_map_object_deps.
1912 (_dl_map_object_deps): Remove a nested function. Update call sites.
1914 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1917 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1918 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1920 2014-10-01 Steve Ellcey <sellcey@mips.com>
1922 * sysdeps/mips/strcmp.S: New.
1924 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1929 (mkdirat): Likewise.
1930 (readlinkat): Likewise.
1931 (renameat): Likewise.
1932 (symlinkat): Likewise.
1933 (unlinkat): Likewise.
1934 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1935 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1936 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1937 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1938 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1939 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1940 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1942 2014-09-30 Will Newton <will.newton@linaro.org>
1944 * math/math.h: Define long double math functions if
1945 _LIBC_TEST is defined.
1946 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1948 * localedata/Makefile: Move assignment to tests-special
1949 into an ifdef testing run-built-tests.
1950 * timezone/Makefile: Likewise.
1952 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1955 with $(BASH) not $(SHELL).
1957 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1958 Matthew LeGendre <legendre1@llnl.gov>
1961 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1964 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1966 * stdio-common/printf_fp.c
1967 (hack_digit): New function, broken out of ...
1968 (__printf_fp): ... local function here. Update call sites.
1969 hack_digit now takes an additional parameter that is a pointer
1970 to a struct of the referenced locals. Those locals moved inside
1971 the struct and references updated.
1973 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1975 * aclocal.m4: Require autoconf 2.69.
1976 * configure: Regenerated.
1977 * sysdeps/aarch64/configure: Likewise.
1978 * sysdeps/alpha/configure: Likewise.
1979 * sysdeps/arm/armv7/configure: Likewise.
1980 * sysdeps/arm/configure: Likewise.
1981 * sysdeps/ia64/configure: Likewise.
1982 * sysdeps/mach/configure: Likewise.
1983 * sysdeps/mips/configure: Likewise.
1984 * sysdeps/s390/configure: Likewise.
1985 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1988 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1990 * sysdeps/ia64/configure.ac: Likewise.
1992 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1995 specify symbol version for ld.so. Do not include entry for
1997 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1999 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2002 * Makeconfig [$(build-shared) = yes]
2003 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2005 [$(build-shared) = yes && $(soversions.mk-done) = t]
2006 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2007 [$(build-shared) = yes && $(soversions.mk-done) = t]
2008 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2010 [$(build-shared) = yes && $(soversions.mk-done) = t]
2011 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2013 [$(build-shared) = yes && $(soversions.mk-done) = t]
2014 (common-generated): Don't append gnu/lib-names.h and
2015 gnu/lib-names.stmp here.
2016 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2017 (lib-names-h-abi): New variable.
2018 [$(build-shared) = yes && $(soversions.mk-done) = t]
2019 (lib-names-stmp-abi): Likewise.
2020 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2021 abi-variants] (before-compile): Append
2022 $(common-objpfx)$(lib-names-h-abi).
2023 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2024 abi-variants] (common-generated): Append gnu/lib-names.h.
2025 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2026 abi-variants] (install-others-nosubdir): Depend on
2027 $(inst_includedir)/$(lib-names-h-abi).
2028 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2029 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2030 [$(build-shared) = yes && $(soversions.mk-done) = t]
2031 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2032 [$(build-shared) = yes && $(soversions.mk-done) = t]
2033 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2034 [$(build-shared) = yes && $(soversions.mk-done) = t]
2035 (common-generated): Append $(lib-names-h-abi) and
2036 $(lib-names-stmp-abi).
2037 * scripts/lib-names.awk: Do not handle multi being set.
2038 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2040 (abi-lp64_be-ld-soname): Likewise.
2041 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2043 (abi-hard-ld-soname): Likewise.
2044 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2045 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2047 (abi-o32_hard-ld-soname): Likewise.
2048 (abi-o32_soft_2008-ld-soname): Likewise.
2049 (abi-o32_hard_2008-ld-soname): Likewise.
2050 (abi-n32_soft-ld-soname): Likewise.
2051 (abi-n32_hard-ld-soname): Likewise.
2052 (abi-n32_soft_2008-ld-soname): Likewise.
2053 (abi-n32_hard_2008-ld-soname): Likewise.
2054 (abi-n64_soft-ld-soname): Likewise.
2055 (abi-n64_hard-ld-soname): Likewise.
2056 (abi-n64_soft_2008-ld-soname): Likewise.
2057 (abi-n64_hard_2008-ld-soname): Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2060 (abi-64-v2-ld-soname): Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2063 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2065 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2067 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2069 (abi-64-ld-soname): Likewise.
2070 (abi-x32-ld-soname): Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2073 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2075 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2078 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2079 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2080 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2081 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2083 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2084 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2085 syscall entry for GLIBC_2.2 symbol version.
2086 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2089 (setrlimit): Likewise.
2090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2093 2014-09-23 Will Newton <will.newton@linaro.org>
2095 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2096 _LINUX_ARM_SYSDEP_H include guard too.
2097 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2100 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2102 * sysdeps/unix/sysv/linux/eventfd.c:
2103 Make first argument unsigned.
2104 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2107 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2109 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2110 * socket/sys/socket.h: Likewise
2111 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2113 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2115 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2117 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2119 * time/tst-ftime.c: New test.
2120 * time/Makefile (tests): Add tst-ftime.
2122 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2124 * soft-fp/extended.h: Fix comment formatting.
2125 * soft-fp/op-1.h: Likewise.
2126 * soft-fp/op-2.h: Likewise.
2127 * soft-fp/op-4.h: Likewise.
2128 * soft-fp/op-8.h: Likewise.
2129 * soft-fp/op-common.h: Likewise.
2130 * soft-fp/soft-fp.h: Likewise.
2132 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2134 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2137 * Makeconfig (soversions-default-setname): Remove variable.
2138 ($(common-objpfx)soversions.i): Don't pass default_setname to
2140 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2141 oldest_abi to abi-versions.awk.
2142 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2143 * config.make.in (oldest-abi): Remove variable.
2144 * configure.ac (--enable-oldest-abi): Remove configure option.
2145 * configure: Regenerated.
2146 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2148 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2149 * scripts/soversions.awk: Do not handle default_setname variable.
2150 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2152 * sysdeps/mach/hurd/configure: Regenerated.
2153 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2155 * sysdeps/unix/sysv/linux/configure: Regenerated.
2157 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2159 * elf/Makefile (CFLAGS-interp.c): Remove.
2160 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2162 * elf/interp.c: Include generated runtime-linker.h
2164 * Makerules (lib%.so): Don't include $(+interp) in
2166 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2167 * dlfcn/eval.c: Remove file.
2169 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2173 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2177 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2179 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2180 Jakub Jelinek <jakub@redhat.com>
2183 * libio/stdio.h: Check definition of __fortify_function
2184 instead of __extern_always_inline to include bits/stdio2.h.
2185 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2186 check if __extern_always_inline is defined.
2187 [__USE_MISC || __USE_XOPEN]: Likewise.
2188 [__USE_ISOC99] Likewise.
2189 * misc/sys/cdefs.h (__fortify_function): Define only if
2190 __extern_always_inline is defined.
2191 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2192 __extern_always_inline and __extern_inline only for g++-4.3
2193 and newer or a compatible gcc.
2195 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2198 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2199 last change to handle zero prefix length.
2201 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2203 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2206 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2209 2014-09-13 Allan McRae <allan@archlinux.org>
2211 * po/ru.po: Update Russian translation from translation project.
2213 2014-09-12 Roland McGrath <roland@hack.frob.com>
2215 * locale/programs/locale.c (show_locale_vars): Inline local function
2216 into its sole call site. Clean up some style nits.
2217 (print_item): New function, broken out of ...
2218 (show_info): ... local function here. Clean up style nits.
2220 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2222 (set_class_defaults): ... local function set_default here.
2223 Define set_default as a macro locally to pass constant parameters.
2224 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2225 rather than a shared local.
2227 * stdlib/rpmatch.c (try): New function, broken out of ...
2228 (rpmatch): ... local function here. Also, prototypify definition.
2230 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2232 * scripts/soversions.awk: Do not handle configuration names.
2233 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2234 vendor and os variables to soversions.awk.
2235 * configure.ac: Do not modify gnu-* host_os.
2236 * configure: Regenerated
2237 * shlib-versions: Remove first column with configuration names.
2238 * nptl/shlib-versions: Likewise.
2239 * nptl_db/shlib-versions: Likewise.
2240 * sysdeps/hppa/shlib-versions: Likewise.
2241 * sysdeps/m68k/shlib-versions: Likewise.
2242 * sysdeps/mach/hurd/shlib-versions: Likewise.
2243 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2244 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2245 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2246 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2247 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2248 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2249 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2250 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2253 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2254 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2255 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2258 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2263 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2266 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2268 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2270 * shlib-versions: Remove OS-specific entries. Moved to files in
2272 * sysdeps/mach/hurd/shlib-versions: New file.
2273 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2275 * nptl/shlib-versions: Remove architecture-specific entries.
2276 Moved to files in sysdeps.
2277 * shlib-versions: Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2280 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2281 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2282 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2285 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2286 (UDP_NO_CHECK6_RX): Likewise.
2288 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2290 * sysdeps/posix/sysconf.c (__sysconf): Spell
2291 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2293 2014-08-12 Florian Weimer <fweimer@redhat.com>
2295 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2297 * iconv/Versions (__gconv_transliterate): Export for use from
2299 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2300 (struct __gconv_trans_data, __gconv_trans_fct,
2301 __gconv_trans_context_fct, __gconv_trans_query_fct,
2302 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2304 (struct __gconv_step_data): Remove __trans member.
2305 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2306 longer hidden. Remove unused trans_data argument.
2307 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2308 (__gconv_translit_find): Remove declaration.
2309 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2311 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2312 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2313 trans_data argument. Add hidden definition.
2314 (__gconv_translit_find): Remove.
2315 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2316 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2317 * iconv/skeleton.c: Remove transliteration initialization.
2318 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2319 __gconv_step_data initialization.
2320 * libio/iofwide.c (__libio_translit_): Remove.
2321 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2322 * wcsmbs/btowc.c (__btowc): Likewise.
2323 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2324 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2325 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2326 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2327 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2328 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2329 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2330 * wcsmbs/wctob.c (wctob): Likewise.
2332 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2335 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2336 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2338 * sysdeps/x86/Makefile: Adjust.
2340 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2341 Roland McGrath <roland@hack.frob.com>
2343 * locale/weight.h: Add include guard.
2344 (findidx): Make static rather than auto; take new parameters
2345 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2346 * locale/weightwc.h: Likewise.
2347 * posix/fnmatch_loop.c
2348 (FCT): Change type of EXTRA from int32_t to wint_t.
2349 Don't include either header inside the function.
2350 Call FINDIDX rather than findidx, and pass new arguments.
2351 #undef FINDIDX at the end of the file.
2352 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2353 FINDIDX before including fnmatch_loop.c for the non-wide version.
2354 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2355 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2356 for the wide version.
2357 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2358 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2359 Pass new arguments to findidx.
2360 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2361 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2362 Don't #include it inside the function. Pass new arguments to findidx.
2363 * posix/regex_internal.h
2364 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2365 (re_string_elem_size_at): Don't #include it inside the function.
2366 Pass new arguments to findidx.
2367 * string/strcoll_l.c: #include WEIGHT_H at top level.
2368 (get_next_seq): Don't #include it inside the function.
2369 Pass new arguments to findidx.
2370 (get_next_seq_nocache): Likewise.
2371 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2372 (STRXFRM): Don't #include it inside the function.
2373 Pass new arguments to findidx.
2375 2014-09-11 Florian Weimer <fweimer@redhat.com>
2378 * malloc/malloc.c (unlink): Turn asserts into a call to
2381 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2384 * libio/wfileops (do_ftell_wide): Free OUT.
2386 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2388 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2390 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2393 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2394 group if the current group is empty.
2396 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398 * benchtests/bench-memset.c (test_main): Add more test from size
2399 from 32 to 512 bytes.
2400 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2401 Add POWER8 memset object.
2402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2403 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2404 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2406 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2408 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2409 multiarch POWER8 memset optimization.
2410 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2411 POWER8 memset optimization.
2413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2414 Remove bzero multiarch objects.
2415 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2416 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2420 [__bzero]: Redefine to specific name.
2421 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2425 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2428 2014-09-10 Florian Weimer <fweimer@redhat.com>
2430 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2431 warnings into errors.
2433 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2434 __cxa_thread_atexit_impl prototype.
2436 2014-09-09 Steve Ellcey <sellcey@mips.com>
2438 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2439 Fix capitalization of error message.
2441 2014-09-09 Steve Ellcey <sellcey@mips.com>
2443 * sysdeps/mips/preconfigure: Modify ABI tests.
2445 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2447 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2449 2014-09-07 Roland McGrath <roland@hack.frob.com>
2450 Carlos O'Donell <carlos@systemhalted.org>
2452 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2453 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2454 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2455 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2456 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2457 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2458 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2459 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2460 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2461 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2462 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2463 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2464 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2465 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2466 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2467 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2468 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2469 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2470 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2471 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2472 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2473 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2474 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2475 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2476 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2477 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2478 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2479 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2480 Deconditionalize the code that was previously under [RESET_PID].
2481 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2482 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2483 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2484 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2487 2014-09-08 Allan McRae <allan@archlinux.org>
2489 * version.h (RELEASE): Set to "development".
2490 (VERSION): Set to "2.20.90"
2492 2014-09-07 Allan McRae <allan@archlinux.org
2494 * version.h (RELEASE): Set to "stable".
2495 (VERSION): Set to "2.20"
2496 * include/features.h (__GLIBC_MINOR__): Set to 20.
2498 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2501 * po/ko.po: Update Korean translation from translation project.
2503 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2506 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2507 macro for handling signed relocations.
2509 2014-09-03 Florian Weimer <fweimer@redhat.com>
2512 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2513 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2515 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2516 * iconvdata/ibm935.c (BODY): Likewise.
2517 * iconvdata/ibm937.c (BODY): Likewise.
2518 * iconvdata/ibm939.c (BODY): Likewise.
2519 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2521 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2523 * iconvdata/run-iconv-test.sh: New test loop for checking for
2526 2014-09-02 Khem Raj <raj.khem@gmail.com>
2528 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2531 2014-09-01 Allan McRae <allan@archlinux.org>
2533 * po/eo.po: Update Esperanto translation from translation project.
2535 * po/ca.po: Update Catalan translation from translation project.
2537 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2539 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2542 2014-08-27 Mark Wielaard <mjw@redhat.com>
2545 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2546 to call set_thread_area instead of hand written asm.
2547 (__NR_set_thread_area): Removed define.
2548 (TLS_FLAG_WRITABLE): Likewise.
2549 (__ASSUME_SET_THREAD_AREA): Remove check.
2550 (TLS_EBX_ARG): Remove define.
2551 (TLS_LOAD_EBX): Likewise.
2553 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2555 Simplify atomicity of socket creation in bind.
2557 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2558 looking up the name after linking the file.
2560 2014-08-27 Allan McRae <allan@archlinux.org>
2562 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2564 2014-08-26 Florian Weimer <fweimer@redhat.com>
2567 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2568 trans_compare, open_translit, __gconv_translit_find):
2569 Remove module loading code.
2571 2014-08-26 Allan McRae <allan@archlinux.org>
2573 * po/vi.po: Update Vietnamese translation from translation project.
2575 * po/uk.po: Update Ukrainian translation from translation project.
2577 * po/fr.po: Update French translation from translation project.
2579 * po/ru.po: Update Russian translation from translation project.
2581 * po/pl.po: Update Polish translation from translation project.
2583 * po/cs.po: Update Czech translation from translation project.
2585 * po/de.po: Update German translation from translation project.
2587 * po/bg.po: Update Bulgarian translation from translation project.
2589 * po/sv.po: Update Sweedish translation from translation project.
2591 * po/nl.po: Update Dutch translation from translation project.
2593 * po/es.po: Update Spanish translation from translation project.
2595 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2597 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2599 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2600 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2601 (CPPFLAGS-iconvconfig): Likewise.
2602 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2604 * include/libc-symbols.h: Remove unnecessary check for
2606 * nptl/pthreadP.h: Likewise.
2607 * sysdeps/aarch64/setjmp.S: Likewise.
2608 * sysdeps/alpha/setjmp.S: Likewise.
2609 * sysdeps/arm/sysdep.h: Likewise.
2610 * sysdeps/i386/setjmp.S: Likewise.
2611 * sysdeps/m68k/setjmp.c: Likewise.
2612 * sysdeps/posix/getcwd.c: Likewise.
2613 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2615 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2616 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2617 * sysdeps/sh/sh3/setjmp.S: Likewise.
2618 * sysdeps/sh/sh4/setjmp.S: Likewise.
2619 * sysdeps/unix/alpha/sysdep.h: Likewise.
2620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2622 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2623 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2628 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2631 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2633 * sysdeps/x86_64/setjmp.S: Likewise.
2635 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2640 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2641 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2643 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2648 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2649 and __x86_64__ when disabling x87 inline functions.
2651 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2655 asm statement with __cpuid_count.
2657 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2659 * configure.ac: Change __ehdr_start code to dereference the struct.
2660 Run readelf on the output to look for relocations.
2661 * configure: Regenerated.
2663 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2666 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2668 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2670 2014-08-12 Roland McGrath <roland@hack.frob.com>
2672 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2674 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2677 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2678 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2680 2014-08-12 Sean Anderson <seanga2@gmail.com>
2682 * malloc/malloc.c: Fix typo in comment.
2684 2014-08-09 Allan McRae <allan@archlinux.org>
2686 * Regenerate libc.po.
2688 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2690 * intl/tst-gettext2.sh: Check every lang file for creation.
2692 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2694 * sysdeps/aarch64/fpu/math_private.h
2695 (libc_feholdsetround_noex_aarch64_ctx): New function.
2697 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2699 * sysdeps/arm/armv6/strcpy.S (strcpy):
2700 Fix performance issue in misaligned cases.
2702 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2704 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2705 Move definition from termios.h.
2706 (struct termio): Likewise.
2707 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2708 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2709 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2710 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2713 Move definition to ioctl-types.h
2714 (struct termio): Likewise.
2715 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2716 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2717 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2718 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2721 2014-08-05 Richard Henderson <rth@redhat.com>
2723 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2725 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2727 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2728 Use __feraiseexcept.
2729 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2730 Protect libm symbols with IS_IN_libm.
2732 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2734 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2736 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2738 2014-08-04 Will Newton <will.newton@linaro.org>
2740 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2743 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2745 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2746 variants for each function.
2748 2014-08-04 Roland McGrath <roland@hack.frob.com>
2750 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2752 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2753 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2755 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2756 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2757 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2758 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2759 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2760 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2761 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2762 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2763 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2764 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2791 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2792 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2793 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2794 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2795 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2797 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2799 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2801 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2803 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2804 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2805 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2806 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2807 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2809 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2810 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2812 2014-08-04 Roland McGrath <roland@hack.frob.com>
2814 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2815 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2816 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2817 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2818 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2819 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2821 2014-08-04 Roland McGrath <roland@hack.frob.com>
2823 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2824 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2825 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2826 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2828 2014-08-04 Roland McGrath <roland@hack.frob.com>
2830 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2831 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2832 (__libc_vfork): Define function under this name.
2833 (__vfork): Define as an alias.
2834 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2835 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2837 2014-08-04 Roland McGrath <roland@hack.frob.com>
2839 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2840 that was previously under [RESET_PID].
2841 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2843 2014-08-04 Andreas Schwab <schwab@suse.de>
2845 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2847 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2849 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2852 2014-08-01 Roland McGrath <roland@hack.frob.com>
2854 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2856 2014-08-01 Richard Henderon <rth@redhat.com>
2858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2859 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2860 typo in exact zero test.
2861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2862 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2865 2014-08-01 Roland McGrath <roland@hack.frob.com>
2867 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2868 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2869 * sysdeps/arm/sysdep.h: ... here.
2870 [!__ASSEMBLER__]: Include <stdint.h>.
2872 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2874 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2875 (HAVE_WCTYPE_H): Likewise.
2876 (HAVE_ISWCTYPE): Likewise.
2877 (ENABLE_NLS): Likewise.
2878 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2879 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2881 * posix/regex_internal.c: Check if DEBUG is defined and is
2884 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2885 (HAVE_MBSRTOWCS): Likewise.
2886 * posix/fnmatch.c: Include string.h unconditionally.
2888 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2890 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2893 2014-07-31 Roland McGrath <roland@hack.frob.com>
2895 * sysdeps/generic/safe-fatal.h: New file.
2896 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2897 * nptl/forward.c: Include it.
2898 (__pthread_unwind): Use __safe_fatal as default action, rather
2899 than a bogus use of INTERNAL_SYSCALL that could never work.
2901 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2902 * configure.ac (libc_cv_builtin_trap): New test.
2903 * configure: Regenerated.
2904 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2905 (ABORT_INSTRUCTION): Define using __builtin_trap.
2907 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2908 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2909 * sysdeps/nptl/nptl-signals.h: New file.
2910 * nptl/pthreadP.h: Include <nptl-signals.h>.
2912 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2914 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2915 (ONE_DIRECTION): Define.
2916 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2917 (ONE_DIRECTION): Define.
2918 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2919 (ONE_DIRECTION): Define.
2921 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2923 * sysdeps/s390/Makefile: Delete file.
2924 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2925 * sysdeps/s390/__longjmp.c: Delete file.
2926 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2927 Remove fields __flags and __reserved.
2928 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2930 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2931 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2932 * sysdeps/s390/rtld-setjmp.S: Likewise.
2933 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2934 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2935 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2936 * sysdeps/s390/s390-32/setjmp.S: ... here.
2938 (__sigsetjmp): Remove setting __flags field.
2939 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2940 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2941 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2942 * sysdeps/s390/s390-64/setjmp.S: ... here.
2944 (__sigsetjmp): Remove setting __flags field.
2945 * sysdeps/s390/setjmp.S: Delete file.
2946 * sysdeps/s390/sigjmp.c: Likewise.
2947 * sysdeps/s390/v1-longjmp.c: Likewise.
2948 * sysdeps/s390/v1-setjmp.h: Likewise.
2949 * sysdeps/s390/v1-sigjmp.c: Likewise.
2950 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2951 Remove v1-longjmp_chk.
2952 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2953 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2954 Include debug/longjmp_chk.c and add versioning.
2955 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2956 Include nptl/pt-longjmp.c and add versioning.
2957 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2958 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2959 Include __longjmp.c.
2960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2962 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2963 (__getcontext): Remove setting __flags field.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2966 Don't restore upper high grps.
2967 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2969 (__swapcontext): Remove setting uc_flags field.
2970 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2972 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2973 Include __longjmp.c.
2974 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2976 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2977 (__getcontext): Remove setting __flags field.
2979 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2980 (__swapcontext): Remove setting uc_flags field.
2981 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2983 Remove fields uc_high_gprs and __reserved.
2984 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2985 New file with reverted content.
2986 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2987 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2992 2014-07-31 Andreas Schwab <schwab@suse.de>
2994 * config.h.in (HAVE_IFUNC): Define to 0.
2995 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2998 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3001 memmove-avx-unaligned, memcpy-avx-unaligned and
3002 mempcpy-avx-unaligned.
3003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3004 Add tests for AVX memcpy functions.
3005 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3006 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3008 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3009 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3011 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3012 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3014 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3015 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3016 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3018 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3024 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3027 * manual/llio.texi: Add section about open file description locks.
3028 * manual/examples/ofdlocks.c: Example of open file description
3030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3031 F_OFD_SETLK, and F_OFD_SETLKW.
3033 2014-07-23 Allan McRae <allan@archlinux.org>
3035 * po/es.po: Update Spanish translation from translation project.
3037 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3039 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3041 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3044 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3045 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3046 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3048 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3051 * math/fesetenv.c (__fesetenv)
3052 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3053 * math/feupdateenv.c (__feupdateenv)
3054 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3056 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3057 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3058 (__ASSUME_SOCKETCALL): Do not define.
3060 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3061 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3062 (__ASSUME_SOCKETCALL): Do not define.
3063 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3064 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3065 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3066 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3067 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3068 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3069 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3070 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3072 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3073 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3074 (__ASSUME_SOCKETCALL): Do not define.
3075 (__ASSUME_IPC64): Define unconditionally.
3076 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3077 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3078 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3079 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3080 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3081 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3082 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3085 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3086 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3087 (__ASSUME_SOCKETCALL): Do not define.
3088 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3089 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3090 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3091 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3092 (__ASSUME_REQUEUE_PI): Define unconditionally.
3093 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3094 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3095 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3096 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3097 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3098 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3100 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3101 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3102 (__ASSUME_SOCKETCALL): Do not define.
3103 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3104 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3105 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3106 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3107 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3108 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3110 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3111 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3112 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3113 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3114 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3115 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3116 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3117 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3118 (__ASSUME_GETCPU_SYSCALL): Likewise.
3120 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3121 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3122 cases for individual architectures.
3123 * sysdeps/gnu/configure: Regenerated.
3124 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3125 LIBC_SLIBDIR_RTLDDIR.
3126 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3127 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3128 LIBC_SLIBDIR_RTLDDIR.
3129 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3131 LIBC_SLIBDIR_RTLDDIR.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3134 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3140 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3141 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3142 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3143 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3145 * sysdeps/aarch64/shlib-versions: Move to ...
3146 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3147 * sysdeps/alpha/shlib-versions: Move to ...
3148 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3149 * sysdeps/arm/shlib-versions: Move to ...
3150 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3151 * sysdeps/hppa/shlib-versions: Move all contents except for
3152 libgcc_s entry to ...
3153 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3155 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3156 * sysdeps/ia64/shlib-versions: Move to ...
3157 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3159 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3160 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3161 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3162 * sysdeps/microblaze/shlib-versions: Move to ...
3163 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3164 * sysdeps/mips/shlib-versions: Move to ...
3165 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3167 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3168 * sysdeps/tile/shlib-versions: Move to ...
3169 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3172 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3173 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3175 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3177 2014-07-17 Will Newton <will.newton@linaro.org>
3179 * sysdeps/arm/bits/atomic.h
3180 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3181 (__arch_compare_and_exchange_bool_16_int): Likewise.
3182 (__arch_compare_and_exchange_bool_64_int): Likewise.
3184 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3185 into an #else block.
3187 2014-07-16 Roland McGrath <roland@hack.frob.com>
3189 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3190 just Linux configurations. Test empirically that the compiler sets
3191 __ARM_EABI__, rather than using the tuple to decide.
3192 * sysdeps/arm/preconfigure: Regenerated.
3193 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3194 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3195 contents appended ...
3196 * sysdeps/arm/configure.ac: ... here.
3197 * sysdeps/arm/configure: Regenerated.
3199 2014-07-15 Roland McGrath <roland@hack.frob.com>
3201 * nptl/pthread_kill.c: New file.
3202 * nptl/pthread_sigmask.c: New file.
3203 * nptl/pthread_sigqueue.c: New file.
3205 * sysdeps/nptl/lowlevellock.h: New file.
3206 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3207 * sysdeps/nptl/lowlevellock-futex.h: New file.
3209 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3210 Remove dead declarations.
3212 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3214 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3215 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3217 * sysdeps/x86_64/configure.ac: Likewise.
3218 * sysdeps/i386/configure: Regenerated.
3219 * sysdeps/x86_64/configure: Likewise.
3220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3221 memset-avx2 only if config-cflags-avx2 is yes.
3222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3223 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3225 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3226 only if HAVE_AVX2_SUPPORT is defined.
3227 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3229 2014-07-14 Alan Modra <amodra@gmail.com>
3232 * elf/elf.h (DT_PPC64_NUM): Correct value.
3233 * NEWS: Add to fixed bug list.
3235 2014-07-13 Jim Meyering <meyering@fb.com>
3238 regex: don't deref NULL upon heap allocation failure
3239 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3240 failure in one more place.
3241 To trigger the segfault, configure grep -with-included-regex,
3242 build it, and run these commands:
3243 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3245 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3249 2014-07-11 Richard Henderson <rth@redhat.com>
3251 * sysdeps/aarch64/libm-test-ulps: Update.
3253 2014-07-10 Florian Weimer <fweimer@redhat.com>
3256 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3257 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3258 (__nptl_setxid): Initialize error member. Call
3259 __nptl_setxid_error.
3260 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3261 * nptl/descr.h (struct xid_command): Add error member.
3262 * nptl/tst-setuid3.c: New file.
3263 * nptl/Makefile (tests): Add it.
3265 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3269 (__lll_trylock): Use __lll_base_trylock.
3270 (__lll_cond_trylock): Likewise.
3272 2014-07-10 Roland McGrath <roland@hack.frob.com>
3274 * nptl/pthread_create.c (start_thread): Use atomic_or and
3275 lll_futex_wake directly rather than lll_robust_dead.
3276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3277 (lll_robust_dead): Macro removed.
3278 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3279 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3280 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3281 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3282 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3283 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3284 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3285 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3286 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3288 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3289 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3290 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3291 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3294 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3295 Use atomic_compare_and_exchange_val_acq directly rather than
3297 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3298 (__lll_robust_trylock, lll_robust_trylock): Removed.
3299 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3300 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3301 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3302 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3303 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3304 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3305 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3306 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3309 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3311 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3314 2014-07-02 Florian Weimer <fweimer@redhat.com>
3316 * manual/locale.texi (Locale Names): New section documenting
3317 locale name syntax. Adjust menu and node chaining accordingly.
3318 (Choosing Locale): Reference Locale Names, Locale Categories.
3319 Mention setting LC_ALL=C. Reflect that name syntax is now
3321 (Locale Categories): New section title. Reference Locale Names.
3322 LC_ALL is an environment variable, but not a category.
3323 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3324 description, now in Locale Name. Reference that section. Locale
3325 name syntax is now documented.
3327 2014-07-02 Florian Weimer <fweimer@redhat.com>
3330 * locale/findlocale.c (name_present, valid_locale_name): New
3332 (_nl_find_locale): Use the loc_name variable to store name
3333 candidates. Call name_present and valid_locale_name to check and
3334 validate locale names. Return an error if the locale is invalid.
3336 2014-07-02 Florian Weimer <fweimer@redhat.com>
3338 * locale/setlocale.c (setlocale): Use strdup for allocating
3339 composite name copy.
3341 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3343 Sync up with gnulib.
3344 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3345 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3346 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3347 and _GL_ARG_NONNULL.
3348 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3349 [!_LIBC]: Include code for Windows and Cygwin.
3350 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3351 Include prototype for int strerror_r.
3352 [!_LIBC] (is_open): New function.
3353 (flush_stdout): New function.
3354 (print_errno_message): Use it.
3356 (error_at_line): Likewise.
3357 (error_tail) Add function attribute macros. Use
3360 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3362 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3364 * io/ftw.c: Include sys/param.h unconditionally.
3366 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3369 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3371 (freecache): New function to free CACHE on exit.
3373 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3376 2014-07-09 David S. Miller <davem@davemloft.net>
3378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3380 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3381 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3382 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3383 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3384 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3385 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3386 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3387 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3388 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3389 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3390 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3391 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3392 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3394 2014-07-09 Andreas Schwab <schwab@suse.de>
3396 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3398 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3399 (do_test): Likewise.
3401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3403 2014-07-09 Will Newton <will.newton@linaro.org>
3405 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3406 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3407 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3408 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3409 * sysdeps/hppa/start.S (_start): Likewise.
3411 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3413 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3415 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3418 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3420 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3421 after checking that it is non-NULL.
3423 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3425 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3427 * sysdeps/powerpc/memmove.c: Remove file.
3428 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3429 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3430 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3431 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3432 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3433 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3434 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3435 string memmove instead of removed powerpc one.
3437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3438 [weak_alias]: Fix compiler warning due trailing data.
3439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3440 [weak_alias]: Likewise.
3441 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3442 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3445 (__libc_ifunc_impl_list): Add memmove functions.
3447 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3451 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3453 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3455 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3457 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3459 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3461 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3463 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3465 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3467 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3469 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3471 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3473 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3475 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3477 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3479 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3481 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3484 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3487 to avoid alignment traps in non-cacheable memory.
3488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3493 file: multiarch power7 memmove.
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3495 multiarch default memmove.
3496 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3497 multiarch memove for powerpc32/power4.
3499 * string/bcopy.c: Use full path to include memmove.c.
3500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3502 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3503 bcopy for powerpc64.
3504 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3505 bcopy for powerpc64.
3506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3507 and memmove implementations.
3508 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3509 optimized multiarch memmove for POWER7/powerpc64.
3510 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3511 default multiarch memmove for powerpc64.
3512 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3513 multiarch for powerpc64.
3514 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3515 for POWER7/powerpc64.
3516 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3517 memmove for POWER7/powerpc64.
3519 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3522 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3523 __ELF_NATIVE_CLASS equal to 64.
3525 2014-07-07 Roland McGrath <roland@hack.frob.com>
3527 * sysdeps/nptl/lowlevellock.h: File removed.
3529 * NEWS: NPTL is no longer an add-on!
3530 * nptl/internaltypes.h: Moved ...
3531 * sysdeps/nptl/internaltypes.h: ... here.
3532 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3533 * sysdeps/nptl/fork.c: Likewise.
3534 * sysdeps/nptl/gai_misc.h: Likewise.
3535 * sysdeps/nptl/librt-cancellation.c: Likewise.
3536 * sysdeps/nptl/jmp-unwind.c: Likewise.
3537 * sysdeps/nptl/setxid.h: Likewise.
3538 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3539 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3540 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3541 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3542 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3543 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3544 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3545 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3546 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3547 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3548 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3549 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3550 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3551 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3552 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3553 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3554 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3555 * nptl/Makeconfig: Moved ...
3556 * sysdeps/nptl/Makeconfig: ... here.
3557 * nptl/configure: File removed.
3558 * nptl/ANNOUNCE: File removed.
3559 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3560 * sysdeps/unix/sysv/linux/configure: Regenerated.
3562 * nptl/Makefile (routines): Add libc_pthread_init,
3563 libc_multiple_threads, register-atfork and unregister-atfork.
3564 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3565 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3566 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3567 pthread-pi-defines.sym, structsem.sym.
3568 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3569 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3570 [$(subdir) = nptl] (tests): Add tst-setgetname.
3571 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3572 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3573 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3574 [!LIBC_SIGACTION]: Remove aliases.
3575 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3576 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3577 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3578 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3579 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3580 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3583 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3584 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3585 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3586 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3587 __libc_allocate_rtsig_private.
3588 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3589 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3590 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3591 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3592 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3593 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3594 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3595 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3596 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3597 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3598 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3599 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3600 * nptl/internaltypes.h: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3602 * sysdeps/nptl/jmp-unwind.c: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3604 * nptl/libc-lowlevellock.c: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3606 * nptl/libc_multiple_threads.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3608 * nptl/libc_pthread_init.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3610 * nptl/lowlevelbarrier.sym: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3612 * nptl/lowlevelcond.sym: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3614 * nptl/lowlevellock.c: ... here.
3615 * nptl/lowlevellock.h: Moved ...
3616 * sysdeps/nptl/lowlevellock.h: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3618 * nptl/lowlevelrobustlock.c: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3620 * nptl/lowlevelrobustlock.sym: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3622 * nptl/lowlevelrwlock.sym: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3624 * nptl/pt-fork.c: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3626 * nptl/pthread-pi-defines.sym: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3628 * nptl/pthread_attr_getaffinity.c: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3630 * nptl/pthread_attr_setaffinity.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3632 * nptl/pthread_mutex_cond_lock.c: ... here.
3633 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3635 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3636 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3637 * nptl/pthread_once.c: ... here, replacing old file.
3638 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3639 * nptl/pthread_yield.c: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3641 * nptl/register-atfork.c: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3643 * nptl/sem_post.c: ... here.
3644 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3645 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3646 * nptl/sem_timedwait.c: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3648 * nptl/sem_trywait.c: ... here.
3649 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3650 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3651 * nptl/sem_wait.c: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3653 * nptl/structsem.sym: ... here.
3654 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3655 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3656 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3657 * nptl/unregister-atfork.c: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3659 * nptl/unwindbuf.sym: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3661 * sysdeps/nptl/fork.c: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3663 * sysdeps/nptl/fork.h: ... here.
3664 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3665 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3666 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3668 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3670 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3671 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3672 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3673 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3674 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3676 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3678 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3680 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3682 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3684 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3686 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3688 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3690 * sysdeps/unix/sysv/linux/raise.c: ... here.
3691 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3692 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3694 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3696 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3698 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3700 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3702 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3704 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3705 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3707 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3709 * sysdeps/generic/memcopy.h: Add comment for
3710 MEMCPY_OK_FOR_FWD_MEMMOVE.
3712 2014-07-04 Will Newton <will.newton@linaro.org>
3714 * string/memchr.c: Merge from gnulib.
3715 [_LIBC]: Remove conditionals.
3716 (__ptr_t): Remove define.
3717 (LONG_MAX_32_BITS): Likewise.
3718 (LONG_MAX): Likewise.
3719 (MEMCHR): Use ANSI prototype and optimize algorithm.
3721 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3723 2014-07-03 Roland McGrath <roland@hack.frob.com>
3725 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3726 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3728 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3729 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3730 in a bare environment with no <stdlib.h> installed.
3731 * sysdeps/nptl/configure: Regenerated.
3733 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3735 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3736 AC_EGREP_CPP for kernel header checks, so they only succeed if
3737 including <linux/version.h> actually works right.
3738 * sysdeps/unix/sysv/linux/configure: Regenerated.
3740 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3741 value so it's not diagnosed as unused.
3743 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3744 thing) with "ifeq ($(subdir),rt)".
3746 2014-07-03 Richard Henderson <rth@redhat.com>
3748 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3749 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3750 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3752 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3753 (math_force_eval): New.
3755 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3756 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3758 * sysdeps/alpha/fpu/s_round.c: Remove file.
3759 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3761 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3762 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3763 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3764 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3765 (_dl_start, print_statistics): Likewise.
3766 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3767 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3769 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3770 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3771 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3772 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3773 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3774 (HP_SMALL_TIMING_AVAIL): Define.
3775 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3777 (HP_SMALL_TIMING_AVAIL): Define.
3778 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3779 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3781 * sysdeps/aarch64/hp-timing.h: New file.
3783 * sysdeps/generic/hp-timing.h: Remove dead comment.
3784 * sysdeps/generic/hp-timing-common.h: New file.
3785 * sysdeps/alpha/hp-timing.h: Include it.
3786 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3787 * sysdeps/i386/i686/hp-timing.h: Likewise.
3788 * sysdeps/ia64/hp-timing.h: Likewise.
3789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3790 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3792 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3793 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3794 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3797 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3798 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3799 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3800 * elf/rtld.c (_dl_start_final): Likewise.
3801 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3802 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3803 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3804 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3805 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3807 (HP_TIMING_DIFF_INIT): Remove.
3808 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3809 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3810 (HP_TIMING_DIFF_INIT): Remove.
3811 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3812 * sysdeps/i386/i686/hp-timing.c: Remove file.
3813 * sysdeps/x86_64/hp-timing.c: Remove file.
3814 * sysdeps/ia64/hp-timing.c: Remove file.
3815 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3816 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3817 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3818 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3820 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3821 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3822 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3823 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3825 (HP_TIMING_ACCUM): Remove.
3826 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3827 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3828 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3830 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3831 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3832 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3833 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3834 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3835 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3836 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3837 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3839 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3841 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3843 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3845 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3847 Sync up with gettext.
3848 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3849 [_MSC_VER]: Include malloc.h
3850 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3851 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3852 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3853 TEMP_FAILURE_RETRY. Cast return of alloca.
3854 [!_LIBC] Call gl_rwlock_init.
3855 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3857 2014-07-02 Roland McGrath <roland@hack.frob.com>
3859 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3860 before checking its value.
3862 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3864 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3866 * debug/memcpy_chk.c: Don't include pagecopy.h.
3867 * debug/mempcpy_chk.c: Likewise.
3868 * string/memcpy.c: Likewise.
3869 * string/memmove.c: Likewise.
3870 * sysdeps/powerpc/memmove.c: Likewise.
3871 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3872 definition of PAGE_COPY_FWD_MAYBE here...
3873 * sysdeps/generic/pagecopy.h: ... from here.
3874 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3876 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3877 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3879 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3883 (__libc_ifunc_impl_list): Likewise.
3884 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3885 multiarch strcat for PPC64.
3886 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3887 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3889 2014-07-02 Roland McGrath <roland@hack.frob.com>
3891 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3893 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3895 * intl/loadmsgcat.c: Remove declaration of
3896 get_sysdep_segment_value.
3897 (get_sysdep_segment_value): Use ISO C style.
3898 (_nl_load_domain): Use ISO C style. Get rid of redundant
3899 semicolon. Fix typo and formatting in comment.
3900 (_nl_unload_domain): Use ISO C style.
3902 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3904 2014-07-02 Will Newton <will.newton@linaro.org>
3906 * malloc/obstack.c: Merge from gnulib master.
3907 [HAVE_CONFIG_H]: Remove conditional code.
3908 [!_LIBC]: Include config.h.
3909 [!ELIDE_CODE]: Don't include inttypes.h, include
3910 stdint.h unconditionally.
3911 (print_and_abort): Mark as _Noreturn.
3912 (_obstack_allocated_p): Mark as __attribute_pure__.
3913 (obstack_free): Rename to __obstack_free.
3914 [!__attribute__]: Remove conditional code.
3915 * malloc/obstack.h: Merge from gnulib master.
3916 [__cplusplus]: Move conditional down.
3917 [!__attribute_pure__]: Define __attribute_pure__ here
3918 if it is not already defined.
3919 (_obstack_memory_used): Mark as __attribute_pure__.
3920 [!__obstack_free]: Define as obstack_free.
3921 [__GNUC__]: Remove check for ancient NeXT gcc.
3923 2014-07-02 Will Newton <will.newton@linaro.org>
3924 Paul Eggert <eggert@cs.ucla.edu>
3926 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3928 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3930 * resolv/gethnamaddr.c: Add comment warning that the file is
3933 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3935 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3938 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3939 entry for aio_cancel and aio_cancel64.
3940 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3941 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3942 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3943 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3944 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3945 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3946 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3947 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3948 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3949 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3950 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3951 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3952 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3954 2014-07-01 Roland McGrath <roland@hack.frob.com>
3956 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3957 * nptl/pthread_mutex_lock.c: Likewise.
3958 * nptl/pthread_mutex_timedlock.c: Likewise.
3959 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3961 2014-07-01 Richard henderson <rth@redhat.com>
3963 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3964 (__isnan, __isnanl): Remove.
3965 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3967 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3969 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3971 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3973 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3975 * resolv/nss_dns/dns-host.c (getanswer_r)
3976 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3978 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3981 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3983 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3984 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3986 2014-07-01 Roland McGrath <roland@hack.frob.com>
3988 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3989 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3991 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3992 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3994 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3995 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3997 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3998 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4000 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4001 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4002 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4003 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4005 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4006 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4007 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4011 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4013 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4014 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4016 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4020 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4022 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4026 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4028 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4030 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4031 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4032 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4034 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4035 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4037 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4038 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4039 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4040 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4041 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4043 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4045 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4046 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4047 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4050 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4054 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4056 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4057 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4059 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4061 * sysdeps/arm/libm-test-ulps: Regenerated.
4063 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4064 Roland McGrath <roland@hack.frob.com>
4066 * test-skeleton.c (signal_handler): Kill the whole process group
4067 before killing the child individually.
4068 (main): Report any failure on `setpgid'.
4070 2014-06-30 Roland McGrath <roland@hack.frob.com>
4072 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4073 from _TLS_H to _ARM_NPTL_TLS_H.
4074 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4075 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4077 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4080 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4081 (__expm1l): Return argument unchanged when small but not
4084 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4086 (_FP_UNPACK_RAW_1_P): Likewise.
4087 (_FP_PACK_RAW_1): Likewise.
4088 (_FP_PACK_RAW_1_P): Likewise.
4089 (_FP_MUL_MEAT_1_wide): Likewise.
4090 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4091 (_FP_MUL_MEAT_1_hard): Likewise.
4092 (_FP_DIV_MEAT_1_imm): Likewise.
4093 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4094 (_FP_DIV_MEAT_1_udiv): Likewise.
4095 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4096 (_FP_UNPACK_RAW_2): Likewise.
4097 (_FP_UNPACK_RAW_2_P): Likewise.
4098 (_FP_PACK_RAW_2): Likewise.
4099 (_FP_PACK_RAW_2_P): Likewise.
4100 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4101 (_FP_MUL_MEAT_2_wide): Likewise.
4102 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4103 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4104 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4105 (_FP_MUL_MEAT_2_gmp): Likewise.
4106 (_FP_DIV_MEAT_2_udiv): Likewise.
4107 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4108 (_FP_FRAC_SRL_4): Likewise.
4109 (_FP_FRAC_SRST_4): Likewise.
4110 (_FP_FRAC_SRS_4): Likewise.
4111 (_FP_UNPACK_RAW_4): Likewise.
4112 (_FP_UNPACK_RAW_4_P): Likewise.
4113 (_FP_PACK_RAW_4): Likewise.
4114 (_FP_PACK_RAW_4_P): Likewise.
4115 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4116 (_FP_MUL_MEAT_4_wide): Likewise.
4117 (_FP_MUL_MEAT_4_gmp): Likewise.
4118 (umul_ppppmnnn): Likewise.
4119 (_FP_DIV_MEAT_4_udiv): Likewise.
4120 (__FP_FRAC_ADD_4): Likewise.
4121 (__FP_FRAC_SUB_3): Likewise.
4122 (__FP_FRAC_SUB_4): Likewise.
4123 (__FP_FRAC_DEC_3): Likewise.
4124 (__FP_FRAC_DEC_4): Likewise.
4125 (__FP_FRAC_ADDI_4): Likewise.
4126 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4127 (_FP_FRAC_SRL_8): Likewise.
4128 (_FP_FRAC_SRS_8): Likewise.
4130 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4132 (FP_UNPACK_RAW_EP): Likewise.
4133 (FP_PACK_RAW_E): Likewise.
4134 (FP_PACK_RAW_EP): Likewise.
4135 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4136 (_FP_ISSIGNAN): Likewise.
4137 (_FP_ADD_INTERNAL): Likewise.
4138 (_FP_FMA): Likewise.
4139 (_FP_CMP): Likewise.
4140 (_FP_SQRT): Likewise.
4141 (_FP_TO_INT): Likewise.
4142 (_FP_FROM_INT): Likewise.
4143 (FP_EXTEND): Likewise.
4144 (_FP_DIV_MEAT_N_loop): Likewise.
4146 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4148 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4151 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4154 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4155 result with correct sign in case of exponents that produce
4156 overflow except for X very close to 1.
4158 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4160 mktime: merge #if/#ifdef usage from glibc
4161 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4162 as that works with both Glibc's and Gnulib's style.
4163 See thread starting at Siddhesh Poyarekar's bug report at:
4164 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4166 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4168 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4169 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4170 * sysdeps/tile/tilegx/memmove.c: Remove file.
4172 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4174 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4175 abi-name definition.
4176 * scripts/soversions.awk: Do not handle or generate ABI lines.
4177 * shlib-versions: Remove ABI entries.
4178 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4179 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4181 2014-06-27 Roland McGrath <roland@hack.frob.com>
4183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4184 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4186 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4191 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4194 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4196 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4198 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4200 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4201 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4204 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4214 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4217 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4222 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4224 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4228 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4231 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4239 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4241 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4244 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4247 Identical file removed.
4248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4250 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4252 Identical file removed.
4253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4257 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4259 Identical file removed.
4260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4263 Identical file removed.
4264 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4267 Identical file removed.
4268 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4271 Identical file removed.
4272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4274 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4276 Identical file removed.
4277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4279 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4283 Identical file removed.
4284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4286 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4288 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4289 Identical file removed.
4290 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4292 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4294 Identical file removed.
4295 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4297 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4298 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4299 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4302 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4304 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4306 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4308 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4309 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4310 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4311 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4312 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4314 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4317 * nscd/nscd.c (monitor_child): Return exit status of child
4318 instead of return value from wait syscall.
4320 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4322 * configure.ac (libc_commonpagesize): Remove variable.
4323 (libc_relro_required): Likewise.
4324 (libc_cv_z_relro): Remove configure test.
4325 * configure: Regenerated.
4326 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4328 (libc_relro_required): Likewise.
4329 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4330 (libc_relro_required): Likewise.
4331 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4332 (libc_relro_required): Likewise.
4333 * sysdeps/arm/preconfigure: Regenerated.
4334 * sysdeps/ia64/preconfigure: Remove file.
4335 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4337 (libc_relro_required): Likewise.
4341 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4342 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4343 recompute overflowing results in original rounding mode.
4344 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4345 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4346 recompute overflowing results in original rounding mode.
4347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4348 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4349 recompute overflowing results in original rounding mode.
4350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4351 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4352 recompute overflowing results in original rounding mode.
4353 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4354 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4355 recompute overflowing results in original rounding mode.
4356 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4357 (libc_feholdsetround_ctx): New macro.
4358 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4362 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4364 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4365 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4366 corresponding .cpsetup call.
4368 2014-06-26 Roland McGrath <roland@hack.frob.com>
4370 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4371 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4372 * sysdeps/arm/Makefile [$(subdir) = csu]
4373 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4374 (static-only-routines): Add aeabi_read_tp here.
4375 (shared-only-routines): Add libc-aeabi_read_tp here.
4376 (CFLAGS-libc-start.c): Add -fexceptions here.
4377 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4378 (sysdep_routines, static-only-routines, shared-only-routines):
4379 Don't add to these here.
4380 (CFLAGS-libc-start.c): Likewise.
4382 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4383 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4384 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4385 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4386 * sysdeps/arm/Makefile [$(subdir) = rt]
4387 (librt-sysdep_routines, librt-shared-only-routines):
4388 Append rt-aeabi_unwind_cpp_pr1 here.
4389 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4390 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4391 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4392 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4393 Append nptl-aeabi_unwind_cpp_pr1 here.
4394 (tests): Filter out tst-cleanupx4 here.
4395 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4396 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4397 Don't do those here.
4399 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4401 * scripts/list-sources.sh: Do not handle ports specially.
4403 2014-06-26 Roland McGrath <roland@hack.frob.com>
4405 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4406 * sysdeps/arm/feupdateenv.c: Likewise.
4408 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4410 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4412 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4413 trailing whitespace removed.
4414 * scripts/config.guess: Update to version 2014-03-23.
4415 * scripts/config.sub: Update to version 2014-05-01
4416 * scripts/install-sh: Update to version 2013-12-25.23.
4417 * scripts/move-if-change: Update from gnulib.
4419 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4421 * debug/memmove_chk.c: Remove pagecopy.h include.
4423 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4425 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4426 identical to gnulib mktime.
4428 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4430 * configure.ac: Do not test for machine being rs6000. Do not test
4432 * configure: Regenerated.
4434 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4436 * configure: Regenerated.
4437 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4438 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4439 Remove configure test.
4440 * sysdeps/arm/configure: Regenerated.
4441 * sysdeps/nptl/configure.ac: Do not check
4442 libc_cv_asm_cfi_directives.
4443 * sysdeps/nptl/configure: Regenerated.
4444 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4445 * sysdeps/x86_64/nptl/configure: Remove generated file.
4446 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4448 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4450 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4453 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4454 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4457 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4458 instead of whether it is defined.
4459 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4460 * sysdeps/hppa/dl-machine.h: Likewise.
4461 * sysdeps/ia64/dl-machine.h: Likewise.
4462 * sysdeps/m68k/dl-machine.h: Likewise.
4463 * sysdeps/microblaze/dl-machine.h: Likewise.
4464 * sysdeps/mips/dl-machine.: Likewise.
4465 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4467 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4468 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4469 * sysdeps/sh/dl-machine.h: Likewise.
4470 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4471 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4472 * sysdeps/tile/dl-machine.h: Likewise.
4473 * sysdeps/x86_64/dl-machine.h: Likewise.
4475 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4477 (verify_persistent_db): Likewise.
4479 2014-06-26 Roland McGrath <roland@hack.frob.com>
4481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4482 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4484 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4487 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4490 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4492 Identical file removed.
4493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4505 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4507 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4512 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4516 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4518 Identical file removed.
4519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4520 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4525 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4534 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4536 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4539 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4542 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4544 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4547 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4549 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4553 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4554 * sysdeps/unix/sysv/linux/s390/Versions
4555 (libpthread: GLIBC_2.19): New version set.
4556 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4557 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4558 (librt: GLIBC_2.3.3): New version set.
4559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4560 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4561 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4562 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4563 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4565 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4567 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4568 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4569 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4571 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4573 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4574 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4575 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4576 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4577 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4578 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4579 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4581 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4582 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4583 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4585 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4587 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4589 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4595 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4597 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4599 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4601 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4603 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4605 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4606 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4607 (__libc_vfork): Define the function under this name.
4608 [!NOT_IN_libc] (__vfork): Make this an alias.
4609 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4610 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4611 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4612 (__libc_vfork): Define the function under this name.
4613 [!NOT_IN_libc] (__vfork): Make this an alias.
4614 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4615 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4616 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4619 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4621 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4622 code that was previously under [RESET_PID].
4623 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4624 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4627 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4628 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4629 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4630 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4631 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4632 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4633 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4634 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4635 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4636 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4637 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4639 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4640 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4645 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4646 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4647 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4648 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4663 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4664 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4665 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4666 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4667 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4669 2014-06-25 Roland McGrath <roland@hack.frob.com>
4671 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4672 that was previously under [RESET_PID].
4673 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4675 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4677 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4678 not undefine and redefine.
4679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4680 [O_CLOEXEC]: Make code unconditional.
4681 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4682 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4683 <kernel-features.h>.
4684 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4685 conditional variable definition.
4686 (shm_open) [O_CLOEXEC]: Make code unconditional.
4687 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4690 * configure.ac (USE_REGPARMS): Don't define here.
4691 * configure: Regenerated.
4692 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4693 * sysdeps/i386/configure: Regenerated.
4695 * nptl/createthread.c: Don't include kernel-features.h.
4696 * nptl/pthread_cancel.c: Likewise.
4697 * nptl/pthread_condattr_setclock.c: Likewise.
4698 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4699 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4700 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4701 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4702 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4703 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4704 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4707 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4708 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4709 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4710 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4711 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4712 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4713 * nscd/gai.c: Likewise.
4714 * nss/nss_db/db-open.c: Likewise.
4715 * sysdeps/generic/ldsodefs.h: Likewise.
4716 * sysdeps/sh/nptl/tls.h: Likewise.
4717 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4718 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4719 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4720 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4721 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4722 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4723 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4724 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4726 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4727 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4728 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4729 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4730 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4731 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4732 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4733 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4734 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4735 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4736 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4738 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4739 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4740 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4741 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4742 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4743 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4744 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4745 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4746 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4747 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4748 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4749 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4750 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4751 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4752 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4753 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4754 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4755 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4756 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4757 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4758 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4759 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4760 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4761 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4762 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4763 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4764 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4765 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4766 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4767 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4768 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4769 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4770 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4771 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4772 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4773 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4774 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4797 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4798 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4799 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4800 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4801 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4804 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4807 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4808 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4809 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4810 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4811 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4812 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4814 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4815 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4816 * sysdeps/unix/sysv/linux/system.c: Likewise.
4817 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4818 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4819 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4820 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4821 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4823 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4825 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4826 * configure: Regenerated.
4827 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4829 * configure.ac (base_machine): Do not set specially for particular
4831 * configure: Regenerated.
4832 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4833 settings from configure.ac.
4834 * sysdeps/i386/preconfigure: New file.
4835 * sysdeps/s390/preconfigure: Likewise.
4836 * sysdeps/sh/preconfigure: Likewise.
4837 * sysdeps/sparc/preconfigure: Likewise.
4839 2014-06-25 Roland McGrath <roland@hack.frob.com>
4841 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4842 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4843 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4844 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4845 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4846 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4847 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4848 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4849 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4850 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4851 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4852 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4853 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4854 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4855 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4856 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4857 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4858 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4859 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4861 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4862 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4863 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4864 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4865 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4866 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4867 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4868 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4869 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4870 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4871 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4872 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4873 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4874 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4875 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4876 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4877 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4878 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4879 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4880 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4881 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4882 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4883 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4884 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4885 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4886 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4887 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4888 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4889 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4890 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4892 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4893 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4894 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4896 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4897 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4898 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4901 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4903 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4906 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4909 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4911 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4914 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4923 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4931 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4933 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4935 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4942 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4947 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4950 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4952 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4954 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4956 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4959 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4962 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4964 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4973 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4975 * timezone/checktab.awk: Update from tzcode 2014e.
4976 * timezone/private.h: Likewise.
4977 * timezone/tzfile.h: Likewise.
4978 * timezone/zdump.c: Likewise.
4979 * timezone/zic.c: Likewise.
4981 * sysdeps/unix/sysv/linux/kernel-features.h
4982 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4984 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4985 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4986 Remove conditional code.
4988 2014-06-25 Will Newton <will.newton@linaro.org>
4990 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4991 (_dl_arm_cap_flags): Add HWCAP2 values.
4992 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4993 (_DL_HWCAP_COUNT): Increase to 37.
4994 (_DL_HWCAP_LAST): New define.
4995 (_DL_HWCAP2_LAST): New define.
4996 (_dl_procinfo): Add support for printing
4998 (_dl_string_hwcap): Use _dl_hwcap_string.
5000 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5004 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5006 * README: Do not mention ports directory.
5008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5010 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5011 <kernel-features.h>.
5012 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5013 conditional variable definition.
5014 (__futimes): Update comment.
5015 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5016 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5019 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5020 arguments close to 0.
5021 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5023 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5025 * math/auto-libm-test-in: Add more tests of exp10.
5026 * math/auto-libm-test-out: Regenerated.
5027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5029 * sysdeps/unix/sysv/linux/kernel-features.h
5030 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5031 * sysdeps/unix/sysv/linux/readv.c: Do not include
5032 <kernel-features.h>.
5033 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5034 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5035 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5037 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5039 * sysdeps/unix/sysv/linux/writev.c: Do not include
5040 <kernel-features.h>.
5041 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5042 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5043 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5045 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5048 2014-06-25 Will Newton <will.newton@linaro.org>
5050 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5051 comment changes throughout the file. Remove checks
5052 for HAVE_*_H definitions that are not required.
5053 (__gen_tempname): Call abort if an unknown kind value is
5056 2014-06-25 Andreas Schwab <schwab@suse.de>
5059 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5060 scalbln, scalblnf, scalblnl in libc.
5062 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5066 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5067 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5069 2014-06-24 Roland McGrath <roland@hack.frob.com>
5071 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5072 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5073 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5074 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5076 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5077 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5079 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5080 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5081 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5082 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5083 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5084 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5085 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5086 * sysdeps/x86/bits/semaphore.h: ... here.
5087 * sysdeps/x86/nptl/elide.h: Moved ...
5088 * sysdeps/x86/elide.h: ... here.
5089 * sysdeps/x86_64/nptl/Implies: File removed.
5090 * sysdeps/i386/nptl/Implies: File removed.
5092 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5095 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5096 return the argument for normal arguments with exponent below -64.
5097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5099 * math/auto-libm-test-in: Add another test of expm1.
5100 * math/auto-libm-test-out: Regenerated.
5103 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5104 calling __erfcl for arguments at least 16.
5105 * math/auto-libm-test-in: Add more tests of erf.
5106 * math/auto-libm-test-out: Regenerated.
5108 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5109 individual architectures.
5110 * sysdeps/unix/sysv/linux/configure: Regenerated.
5111 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5112 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5113 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5114 (ldd_rewrite_script): Define variable.
5115 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5120 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5121 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5122 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5123 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5124 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5125 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5126 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5127 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5129 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5132 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5133 Rename member __data.d to __data.__elision_data.
5135 2014-06-24 Wilco <wdijkstr@arm.com>
5137 * NEWS: Add 16918 to fixed bug list.
5139 2014-06-24 Wilco <wdijkstr@arm.com>
5141 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5143 2014-06-24 Wilco <wdijkstr@arm.com>
5145 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5146 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5147 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5148 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5149 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5150 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5151 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5154 2014-06-24 Wilco <wdijkstr@arm.com>
5156 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5158 2014-06-24 Wilco <wdijkstr@arm.com>
5160 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5161 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5162 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5163 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5165 2014-06-24 Wilco <wdijkstr@arm.com>
5168 * sysdeps/arm/feupdateenv.c (feupdateenv):
5169 Rewrite to reduce FPSCR accesses and fix return value.
5171 2014-06-24 Wilco <wdijkstr@arm.com>
5173 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5174 Optimize to avoid unnecessary FPSCR writes.
5175 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5176 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5177 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5178 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5180 2014-06-24 Wilco <wdijkstr@arm.com>
5182 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5183 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5184 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5185 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5186 Call libc_fetestexcept_vfp.
5187 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5188 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5189 __SOFTFP__ ifdef so that they can be built for softfp.
5191 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5193 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5194 argument type signed char.
5196 * Makerules (check-abi): Dump diff of symlist if the test
5199 2014-06-23 Roland McGrath <roland@hack.frob.com>
5201 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5204 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5205 Remove unused variable ST.
5207 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5211 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5212 small arguments before calling __expm1.
5213 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5214 small arguments before calling __expm1f.
5215 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5216 small arguments before calling __expm1l.
5217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5219 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5220 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5221 spurious underflow for some cosh tests.
5222 * math/auto-libm-test-out: Regenerated.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5226 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5227 (__ieee754_y1): Set errno if return value overflows.
5228 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5229 (__ieee754_y1f): Set errno if return value overflows.
5230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5231 (__ieee754_y1l): Set errno if return value overflows.
5232 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5233 (__ieee754_y1l): Set errno if return value overflows.
5234 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5235 * math/auto-libm-test-out: Regenerated.
5237 * math/gen-auto-libm-tests.c: Document use of
5238 ignore-zero-inf-sign.
5239 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5240 (input_flags): Add ignore-zero-inf-sign.
5241 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5242 * math/gen-libm-test.pl (generate_testfile): Handle
5243 ignore-zero-inf-sign.
5244 * math/auto-libm-test-in: Mark some cpow tests with
5245 ignore-zero-inf-sign and some with xfail-rounding.
5246 * math/auto-libm-test-out: Regenerated.
5247 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5252 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5253 overflowing or underflowing operations take place with sign of
5255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5256 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5257 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5258 (__ieee754_pow): Recompute overflowing and underflowing results in
5259 original rounding mode.
5260 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5261 (__powl_helper): Allow negative argument X and scale negated value
5262 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5263 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5264 overflowing or underflowing operations take place with sign of
5266 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5268 * math/auto-libm-test-in: Add more tests of pow.
5269 * math/auto-libm-test-out: Regenerated.
5270 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5271 (pow_tonearest_test_data): Remove.
5272 (pow_test_tonearest): Likewise.
5273 (pow_towardzero_test_data): Likewise.
5274 (pow_test_towardzero): Likewise.
5275 (pow_downward_test_data): Likewise.
5276 (pow_test_downward): Likewise.
5277 (pow_upward_test_data): Likewise.
5278 (pow_test_upward): Likewise.
5279 (main): Don't call removed functions.
5280 * sysdeps/i386/fpu/libm-test-ulps: Update.
5281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5283 2014-06-23 Roland McGrath <roland@hack.frob.com>
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5459 2014-06-23 Will Newton <will.newton@linaro.org>
5460 Wilco <wdijkstr@arm.com>
5462 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5463 implementation. Include get-rounding-mode.h.
5464 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5465 [!libc_feholdsetround_noex_ctx]: Define
5466 libc_feholdsetround_noex_ctx.
5467 [!libc_feholdsetround_noexf_ctx]: Define
5468 libc_feholdsetround_noexf_ctx.
5469 [!libc_feholdsetround_noexl_ctx]: Define
5470 libc_feholdsetround_noexl_ctx.
5471 (libc_feholdsetround_ctx): New function.
5472 (libc_feresetround_ctx): New function.
5473 (libc_feholdsetround_noex_ctx): New function.
5474 (libc_feresetround_noex_ctx): New function.
5476 2014-06-23 Roland McGrath <roland@hack.frob.com>
5478 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5479 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5480 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5481 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5482 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5483 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5485 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5486 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5487 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5488 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5489 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5490 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5491 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5492 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5493 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5494 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5497 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5499 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5500 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5503 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5505 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5507 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5509 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5511 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5512 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5514 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5517 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5519 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5520 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5522 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5523 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5524 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5525 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5526 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5527 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5528 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5530 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5533 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5535 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5536 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5537 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5538 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5539 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5540 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5541 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5542 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5543 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5545 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5546 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5549 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5553 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5554 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5556 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5557 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5558 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5560 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5562 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5563 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5564 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5565 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5566 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5567 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5568 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5569 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5571 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5572 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5573 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5575 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5577 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5579 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5580 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5581 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5582 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5583 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5584 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5585 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5586 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5587 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5588 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5589 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5591 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5594 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5595 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5596 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5597 (IPV6_PMTUDISC_INTERFACE): Likewise.
5598 (IPV6_PMTUDISC_OMIT): Likewise.
5600 2014-06-23 Andreas Schwab <schwab@suse.de>
5602 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5603 Remove unused errout label.
5605 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5607 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5608 macro: hardware supports Vector Crypto instructions.
5610 2014-06-23 Will Newton <will.newton@linaro.org>
5612 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5613 rather than __builtin_expect.
5615 * elf/dl-lookup.c (undefined_msg): Remove variable.
5616 (_dl_lookup_symbol_x): Replace undefined_msg with string
5619 * elf/dl-lookup.c (do_lookup_unique): New function.
5620 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5621 to a separate function.
5623 2014-06-23 Andreas Schwab <schwab@suse.de>
5626 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5627 before reading the next line.
5629 2014-06-23 Will Newton <will.newton@linaro.org>
5631 * test-skeleton.c (signal_handler): Use printf and %m
5632 rather than perror. Use printf rather than fprintf to
5633 stderr. Use puts rather than fputs to stderr.
5636 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5638 * nscd/nscd.c (thread_info_t): Remove typedef.
5639 (thread_info): Remove variable.
5641 2014-06-21 Allan McRae <allan@archlinux.org>
5643 * NEWS: Mention CVE-2014-4043.
5645 2014-06-20 Roland McGrath <roland@hack.frob.com>
5647 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5648 * nptl/smp.h: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5652 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5653 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5654 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5655 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5657 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5658 * nptl/stack-aliasing.h: New file.
5659 * sysdeps/i386/i686/stack-aliasing.h: New file.
5660 * sysdeps/i386/i686/nptl/Makefile: File removed.
5661 * sysdeps/x86_64/stack-aliasing.h: New file.
5662 * sysdeps/x86_64/nptl/Makefile
5663 (CFLAGS-pthread_create.c): Variable removed.
5665 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5666 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5668 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5669 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5672 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5674 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5675 (__ASSUME_SIGFRAME_V2): Remove macro.
5676 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5677 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5678 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5679 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5680 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5681 Declare as function. Remove conditional macro definitions.
5682 (__default_rt_sa_restorer): Likewise.
5683 (__default_sa_restorer_v1): Remove declaration.
5684 (__default_sa_restorer_v2): Likewise.
5685 (__default_rt_sa_restorer_v1): Likewise.
5686 (__default_rt_sa_restorer_v2): Likewise.
5687 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5688 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5689 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5691 2014-06-20 Roland McGrath <roland@hack.frob.com>
5693 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5694 (libpthread-routines): Add sysdep.
5695 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5696 * sysdeps/unix/sysv/linux/sparc/Versions
5697 (libpthread: GLIBC_2.3.3): New version set.
5698 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5699 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5700 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5701 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5702 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5703 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5705 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5706 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5707 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5708 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5709 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5710 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5711 * sysdeps/sparc/nptl/sem_init.c: ... here.
5712 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5713 * sysdeps/sparc/nptl/sem_post.c: ... here.
5714 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5715 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5716 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5717 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5718 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5719 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5720 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5721 (libpthread-routines): Add cpu_relax.
5722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5725 (librt: GLIBC_2.3.3): New version set.
5726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5727 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5729 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5732 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5735 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5737 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5739 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5741 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5743 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5746 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5754 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5758 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5762 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5764 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5766 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5768 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5769 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5775 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5777 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5780 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5782 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5786 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5788 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5789 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5790 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5791 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5792 * nscd/nscd.c: Likewise.
5793 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5794 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5795 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5796 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5798 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5799 <kernel-features.h>.
5800 (init_mq_netlink): Remove conditional have_sock_cloexec
5801 definitions. Remove code conditional on have_sock_cloexec < 0.
5802 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5803 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5804 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5805 <kernel-features.h>.
5806 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5807 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5809 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5812 Add tests for memset_chk and memset.
5814 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5817 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5820 * elf/tst-dl-iter-static.c: New file.
5821 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5823 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5826 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5828 * sysdeps/unix/sysv/linux/kernel-features.h
5829 (__ASSUME_F_GETOWN_EX): Remove macro.
5830 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5831 <kernel-features.h>.
5832 (miss_F_GETOWN_EX): Remove variable or macro.
5833 (do_fcntl): Do not check miss_F_GETOWN_EX.
5834 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5836 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5839 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5840 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5842 * sysdeps/unix/sysv/linux/kernel-features.h
5843 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5844 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5845 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5846 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5848 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5851 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5852 Fix calculation of the symbol's value.
5853 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5854 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5855 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5856 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5857 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5858 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5859 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5860 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5861 (modules-names): Add `tst-armtlsdescmod',
5862 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5863 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5864 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5865 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5866 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5867 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5868 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5869 ($(objpfx)tst-armtlsdescloc): New dependency.
5870 ($(objpfx)tst-armtlsdescextnow): Likewise.
5871 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5872 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5874 * sysdeps/arm/configure: Regenerate.
5876 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5878 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5879 (__atfct_seterrno_2): Likewise.
5880 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5881 <kernel-features.h>.
5882 (__ASSUME_ATFCTS): Do not undefine and redefine.
5883 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5884 (__have_atfcts): Remove conditional definition.
5885 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5886 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5887 unreachable if [__ASSUME_ATFCTS].
5888 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5889 not undefine and redefine.
5890 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5891 <kernel-features.h>.
5892 (faccessat) [__NR_faccessat]: Make code unconditional.
5893 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5894 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5895 <kernel-features.h>.
5896 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5897 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5898 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5899 <kernel-features.h>.
5900 (fchownat) [__NR_fchownat]: Make code unconditional.
5901 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5902 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5903 <kernel-features.h>.
5904 (futimesat) [__NR_futimesat]: Make code unconditional.
5905 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5906 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5907 <kernel-features.h>.
5908 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5909 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5910 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5911 <kernel-features.h>.
5912 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5913 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5914 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5915 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5916 <kernel-features.h>.
5917 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5918 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5919 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5920 <kernel-features.h>.
5921 (linkat) [__NR_linkat]: Make code unconditional.
5922 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5923 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5924 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5925 <kernel-features.h>.
5926 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5927 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5928 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5929 <kernel-features.h>.
5930 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5931 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5932 * sysdeps/unix/sysv/linux/openat.c: Do not include
5933 <kernel-features.h>.
5934 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5935 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5936 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5937 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5938 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5939 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5940 <kernel-features.h>.
5941 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5942 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5943 result of INLINE_SYSCALL directly, not via int variable.
5944 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5945 <kernel-features.h>.
5946 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5947 (renameat) [__NR_renameat]: Make code unconditional.
5948 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5949 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5950 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5951 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5952 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5953 (__ASSUME_ATFCTS): Do not undefine and redefine.
5954 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5955 <kernel-features.h>.
5956 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5957 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5958 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5959 <kernel-features.h>.
5960 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5961 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5962 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5963 (__ASSUME_ATFCTS): Do not undefine and redefine.
5964 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5965 <kernel-features.h>.
5966 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5967 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5968 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5969 <kernel-features.h>.
5970 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5971 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5973 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5975 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5977 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5980 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5981 constructed tree before returning error.
5982 * posix/bug-regexp36.c: Expand test case.
5984 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5987 * math/libm-test.inc (scalbln_test_date):
5988 Add errno expectations.
5989 * math/w_scalblnf.c: New File.
5990 Add wrapper which checks for setting errno to ERANGE.
5991 Add weak_alias for corresponding scalbln function.
5992 * math/w_scalbln.c: Likewise.
5993 * math/w_scalblnl.c: Likewise.
5994 * math/Makefile (libm-calls): Add w_scalbln.
5995 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5996 Remove weak_alias for corresponding scalbln function.
5997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5999 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6001 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6002 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6003 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6004 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6005 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6006 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6007 Remove long_double_symbol for scalblnl function in libm, libc.
6008 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6009 Add wrapper which checks for setting errno to ERANGE.
6010 Add long_double_symbol for scalblnl function in libm, libc.
6011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6012 Remove long_double_symbol for scalblnl in libm.
6013 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6014 Add wrapper which checks for setting errno to ERANGE.
6015 Add long_double_symbol for scalblnl function in libm.
6016 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6017 Do not use wrapper because of own implementation.
6019 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6021 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6022 3 bytes for __pad1 for x32.
6023 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6025 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6026 H.J. Lu <hongjiu.lu@intel.com>
6028 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6029 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6030 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6031 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6032 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6034 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6037 * posix/regcomp.c (parse_expression): Deallocate partially
6038 constructed tree before returning error.
6039 * posix/Makefile.c (tests): Add bug-regex36.
6040 (generated): Add bug-regex36.mtrace.
6041 (tests-special): Add $(objpfx)bug-regex36-mem.out
6042 (bug-regex36-ENV): New variable.
6043 ($(objpfx)bug-regex36-mem.out): New rule.
6044 * posix/bug-regex36.c: New file.
6046 2014-06-19 Will Newton <will.newton@linaro.org>
6048 * malloc/malloc.c (systrim): If extra is zero then return
6051 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6053 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6055 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6057 * sysdeps/aarch64/strchr.S: New file.
6059 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6062 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6063 from arguments -2 or below.
6064 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6065 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6067 2014-06-18 Andreas Schwab <schwab@suse.de>
6070 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6071 of a bracket expr not to run off the end of the string.
6072 * posix/Makefile (tests): Add tst-fnmatch3.
6073 * posix/tst-fnmatch3.c: New file.
6075 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6077 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6078 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6079 [$(cross-compiling) = no]: Likewise.
6080 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6081 [$(cross-compiling) = no]: Likewise.
6083 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6086 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6087 double, adjusted for any remainder from the high double.
6088 * math/libm-test.inc (nearbyint): Add tests.
6091 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093 * nptl/sysdeps/powerpc/Makefile: Moved ...
6094 * sysdeps/powerpc/nptl/Makefile: ... here.
6095 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6096 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6097 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6098 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6099 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6100 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6101 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6102 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6103 * nptl/sysdeps/powerpc/tls.h: Moved ...
6104 * sysdeps/powerpc/nptl/tls.h: ... here.
6106 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6109 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6110 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6111 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6112 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6113 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6114 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6115 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6116 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6117 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6119 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6123 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6125 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6128 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6131 2014-06-16 Florian Weimer <fweimer@redhat.com>
6134 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6135 non-executed part of the test.
6137 2014-06-16 Andreas Schwab <schwab@suse.de>
6139 * string/bits/string2.h (strdup, strndup): Update feature guard.
6141 2014-06-14 David S. Miller <davem@davemloft.net>
6143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6145 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6147 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6148 that was previously under [RESET_PID].
6149 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6151 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6152 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6153 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6154 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6155 (__libc_vfork): New strong alias.
6156 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6158 2014-06-14 Andi Kleen <ak@linux.intel.com>
6160 * sysdeps/generic/elide.h: New file.
6162 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6164 * Makefile (installed-headers): Adjust path of pthread.h header.
6166 2014-06-13 Roland McGrath <roland@hack.frob.com>
6168 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6169 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6171 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6173 * nptl/sysdeps/s390/Makefile: Moved ...
6174 * sysdeps/s390/nptl/Makefile: ... here.
6175 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6176 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6177 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6178 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6179 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6180 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6181 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6182 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6183 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6184 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6185 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6186 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6187 * nptl/sysdeps/s390/tls.h: Moved ...
6188 * sysdeps/s390/nptl/tls.h: ... here.
6190 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6191 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6193 2014-06-13 David S. Miller <davem@davemloft.net>
6195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6203 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6204 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6205 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6206 Remove RESET_PID cpp guards.
6207 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6208 Remove RESET_PID cpp guards.
6209 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6211 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6213 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6216 2014-06-13 Andi Kleen <ak@linux.intel.com>
6218 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6222 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6223 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6228 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6229 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6230 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6231 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6239 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6240 (pthread_rwlock_rdlock): Add elision.
6241 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6242 (pthread_rwlock_wrlock): Add elision.
6243 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6244 (pthread_rwlock_trywrlock): Add elision.
6245 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6246 (pthread_rwlock_tryrdlock): Add elision.
6247 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6248 (pthread_rwlock_tryrdlock): Add elision unlock.
6249 * nptl/sysdeps/pthread/pthread.h:
6250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6251 (PTHREAD_RWLOCK_INITIALIZER,
6252 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6253 Handle new elision field.
6254 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6255 * sysdeps/arm/nptl/bits/pthreadtypes.h
6256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6257 * sysdeps/sh/nptl/bits/pthreadtypes.h
6258 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6259 * sysdeps/tile/nptl/bits/pthreadtypes.h
6260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6261 * sysdeps/a/nptl/bits/pthreadtypes.h
6262 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6263 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6264 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6265 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6266 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6267 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6268 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6269 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6270 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6271 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6272 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6274 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6275 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6276 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6277 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6279 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6280 (elision_init): Set try_xbegin to zero when no RTM.
6281 * sysdeps/x86/nptl/bits/pthreadtypes.h
6282 (pthread_rwlock_t): Change __pad1 to __rwelision.
6283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6285 2014-06-13 Andi Kleen <ak@linux.intel.com>
6287 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6288 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6289 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6290 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6292 2014-06-13 Meador Inge <meadori@codesourcery.com>
6295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6296 that the cached result has been set before returning it.
6298 2014-06-12 Roland McGrath <roland@hack.frob.com>
6300 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6301 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6303 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6304 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6305 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6307 * nptl/sysdeps/sparc/Makefile: Moved ...
6308 * sysdeps/sparc/nptl/Makefile: ... here.
6309 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6310 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6311 * nptl/sysdeps/sparc/tls.h: Moved ...
6312 * sysdeps/sparc/nptl/tls.h: ... here.
6313 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6314 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6315 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6316 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6317 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6318 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6319 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6320 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6321 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6322 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6323 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6324 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6325 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6326 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6327 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6328 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6329 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6330 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6332 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6333 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6335 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6336 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6338 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6339 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6342 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6344 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6345 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6347 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6348 (struct list_links): Type removed.
6349 (struct thread_node, struct timer_node): Replace struct list_links
6350 with struct list_head.
6351 (list_unlink_ip): Likewise.
6352 * sysdeps/pthread/timer_routines.c
6353 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6354 (list_append, list_insbefore): Likewise.
6355 (list_init): Function removed.
6356 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6357 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6358 * sysdeps/pthread/Makefile: ... here, new file.
6360 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6361 * sysdeps/nptl/Implies: ... here.
6362 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6363 * nptl/sysdeps/pthread/list.h: Moved ...
6364 * include/list.h: ... here.
6365 * nptl/sysdeps/pthread/createthread.c: Moved ...
6366 * nptl/createthread.c: ... here.
6367 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6368 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6369 * nptl/pt-longjmp.c: ... here.
6370 * nptl/sysdeps/pthread/Makefile: Moved ...
6371 * sysdeps/nptl/Makefile: ... here.
6372 * nptl/sysdeps/pthread/Subdirs: Moved ...
6373 * sysdeps/nptl/Subdirs: ... here.
6374 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6375 * sysdeps/nptl/aio_misc.h: ... here.
6376 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6377 * sysdeps/nptl/bits/libc-lock.h: ... here.
6378 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6379 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6380 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6381 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6382 * nptl/sysdeps/pthread/configure: Moved ...
6383 * sysdeps/nptl/configure: ... here.
6384 * nptl/sysdeps/pthread/configure.ac: Moved ...
6385 * sysdeps/nptl/configure.ac: ... here.
6386 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6387 * sysdeps/nptl/gai_misc.h: ... here.
6388 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6389 * sysdeps/nptl/librt-cancellation.c: ... here.
6390 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6391 * sysdeps/nptl/malloc-machine.h: ... here.
6392 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6393 * sysdeps/nptl/pthread-functions.h: ... here.
6394 * nptl/sysdeps/pthread/pthread.h: Moved ...
6395 * sysdeps/nptl/pthread.h: ... here.
6396 * nptl/sysdeps/pthread/setxid.h: Moved ...
6397 * sysdeps/nptl/setxid.h: ... here.
6398 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6399 * sysdeps/nptl/sigfillset.c: ... here.
6400 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6401 * sysdeps/nptl/tcb-offsets.h: ... here.
6402 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6403 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6404 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6405 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6406 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6407 * sysdeps/pthread/allocalim.h: ... here.
6408 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6409 * sysdeps/pthread/bits/sigthread.h: ... here.
6410 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6411 * sysdeps/pthread/flockfile.c: ... here.
6412 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6413 * sysdeps/pthread/ftrylockfile.c: ... here.
6414 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6415 * sysdeps/pthread/funlockfile.c: ... here.
6416 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6417 * sysdeps/pthread/posix-timer.h: ... here.
6418 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6419 * sysdeps/pthread/timer_create.c: ... here.
6420 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6421 * sysdeps/pthread/timer_delete.c: ... here.
6422 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6423 * sysdeps/pthread/timer_getoverr.c: ... here.
6424 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6425 * sysdeps/pthread/timer_gettime.c: ... here.
6426 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6427 * sysdeps/pthread/timer_routines.c: ... here.
6428 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6429 * sysdeps/pthread/timer_settime.c: ... here.
6430 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6431 * sysdeps/pthread/tst-timer.c: ... here.
6432 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6433 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6435 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6436 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6438 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6439 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6440 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6441 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6442 Update #include target.
6443 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6444 * sysdeps/i386/i686/nptl/Makefile: ... here.
6445 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6446 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6447 Update #include target.
6448 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6449 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6450 * nptl/sysdeps/i386/Makefile: Moved ...
6451 * sysdeps/i386/nptl/Makefile: ... here.
6452 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6453 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6454 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6455 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6456 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6457 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6458 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6459 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6460 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6461 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6462 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6463 * nptl/sysdeps/i386/tls.h: Moved ...
6464 * sysdeps/i386/nptl/tls.h: ... here.
6466 * sysdeps/sh/Makefile [$(subdir) = csu]
6467 (gen-as-const-headers): Add tcb-offsets.sym.
6468 * nptl/sysdeps/sh/Makefile: File removed.
6469 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6470 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6471 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6472 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6473 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6474 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6475 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6476 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6477 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6478 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6479 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6480 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6481 * nptl/sysdeps/sh/tls.h: Moved ...
6482 * sysdeps/sh/nptl/tls.h: ... here.
6483 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6484 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6485 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6486 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6487 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6488 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6489 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6490 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6491 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6492 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6493 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6494 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6495 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6496 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6497 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6498 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6499 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6500 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6502 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6503 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6504 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6505 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6506 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6507 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6509 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6512 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6513 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6514 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6515 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6516 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6517 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6518 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6519 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6520 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6521 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6522 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6523 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6524 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6526 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6527 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6528 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6529 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6530 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6532 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6534 * posix/spawn_faction_addopen.c: Include string.h.
6536 2014-06-11 Roland McGrath <roland@hack.frob.com>
6538 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6539 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6540 * nptl/sysdeps/x86_64/Makefile: Moved ...
6541 * sysdeps/x86_64/nptl/Makefile: ... here.
6542 * nptl/sysdeps/x86_64/configure: Moved ...
6543 * sysdeps/x86_64/nptl/configure: ... here.
6544 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6545 * sysdeps/x86_64/nptl/configure.ac: ... here.
6546 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6547 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6548 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6549 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6550 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6551 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6552 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6553 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6554 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6555 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6556 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6557 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6558 * nptl/sysdeps/x86_64/tls.h: Moved ...
6559 * sysdeps/x86_64/nptl/tls.h: ... here.
6560 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6561 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6562 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6563 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6565 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6567 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6571 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6573 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6575 [POSIX] (off_t): Likewise.
6576 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6577 [POSIX] (S_ISBLK): Require macro.
6578 [POSIX] (S_ISCHR): Likewise.
6579 [POSIX] (S_ISDIR): Likewise.
6580 [POSIX] (S_ISFIFO): Likewise.
6581 [POSIX] (S_ISREG): Likewise.
6582 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6584 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6586 [POSIX] (time_t): Likewise.
6587 [POSIX] (timer_t): Likewise.
6589 2014-06-11 Florian Weimer <fweimer@redhat.com>
6592 * posix/spawn_int.h (struct __spawn_action): Make the path string
6593 non-const to support deallocation.
6594 * posix/spawn_faction_addopen.c
6595 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6596 * posix/spawn_faction_destroy.c
6597 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6598 path in all spawn_do_open actions.
6599 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6600 posix_spawn_file_actions_addopen.
6602 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6604 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6605 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6606 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6607 conditional code always true.
6608 (__libc_vfork): New alias.
6610 2014-06-11 Roland McGrath <roland@hack.frob.com>
6612 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6613 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6615 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6617 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6618 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6620 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6621 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6623 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6624 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6626 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6628 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6629 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6630 multiarch strcmp for PPC64.
6631 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6634 multiarch optimizations.
6635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6636 (__libc_ifunc_impl_list): Likewise.
6638 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6640 * benchtests/scripts/validate_benchout.py: New script.
6641 * benchtests/Makefile (bench-func): Call it.
6642 * benchtests/scripts/benchout.schema.json: New file.
6644 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6646 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6647 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6648 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6649 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6650 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6651 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6652 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6653 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6654 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6655 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6656 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6657 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6658 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6659 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6660 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6661 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6766 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6767 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6768 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6769 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6771 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6774 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6776 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6777 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6780 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6782 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6784 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6785 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6787 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6790 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6792 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6793 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6795 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6796 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6797 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6798 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6799 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6800 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6801 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6803 2014-06-10 Wilco <wdijkstr@arm.com>
6805 * math/test-fenv-return.c: New file.
6806 * math/Makefile: Add new test test-fenv-return.
6808 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6811 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6813 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6814 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6815 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6816 0.0L for an argument of 1.0L.
6817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6819 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6820 value when x - 1 is zero.
6821 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6822 * sysdeps/i386/fpu/libm-test-ulps: Update.
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6825 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6828 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6830 2014-06-09 Roland McGrath <roland@hack.frob.com>
6832 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6833 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6835 2014-06-09 Roland McGrath <roland@hack.frob.com>
6837 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6838 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6840 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6841 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6843 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6844 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6846 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6847 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6849 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6850 if not already defined.
6851 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6852 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6853 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6854 (TLS_INIT_TP): Use it.
6855 (TLS_DEFINE_INIT_TP): New macro.
6856 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6858 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6860 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6862 [POSIX] (IXANY): Likewise.
6863 [POSIX] (OLCUC): Likewise.
6864 [POSIX || POSIX2008] (CBAUD): Do not allow.
6865 [POSIX || POSIX2008] (DEFECHO): Likewise.
6866 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6867 [POSIX || POSIX2008] (ECHOKE): Likewise.
6868 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6869 [POSIX || POSIX2008] (EXTA): Likewise.
6870 [POSIX || POSIX2008] (EXTB): Likewise.
6871 [POSIX || POSIX2008] (FLUSHO): Likewise.
6872 [POSIX || POSIX2008] (LOBLK): Likewise.
6873 [POSIX || POSIX2008] (PENDIN): Likewise.
6874 [POSIX || POSIX2008] (SWTCH): Likewise.
6875 [POSIX || POSIX2008] (VDISCARD): Likewise.
6876 [POSIX || POSIX2008] (VDSUSP): Likewise.
6877 [POSIX || POSIX2008] (VLNEXT): Likewise.
6878 [POSIX || POSIX2008] (VREPRINT): Likewise.
6879 [POSIX || POSIX2008] (VSTATUS): Likewise.
6880 [POSIX || POSIX2008] (VWERASE): Likewise.
6881 (B*): Change to B[0123456789]*.
6882 * conform/data/time.h-data [POSIX || UNIX98]
6883 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6884 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6885 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6886 [POSIX] (tm_*): Do not allow.
6888 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6890 * Makefile (install): Don't set LANGUAGE.
6891 * Makefile.in (install): Likewise.
6892 * assert/Makefile (test-assert-ENV): Remove variable.
6893 (test-assert-perr-ENV): Likewise.
6894 * elf/Makefile (neededtest4-ENV): Likewise.
6895 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6896 [$(cross-compiling) = no]: Don't set LANGUAGE.
6897 * io/ftwtest-sh (LANG): Remove variable.
6898 * libio/Makefile (tst-widetext-ENV): Likewise.
6899 * manual/install.texi (Running make install): Don't refer to
6900 environment settings for make install.
6901 * INSTALL: Regenerated.
6902 * nptl/tst-tls6.sh: Don't set LANG.
6903 * posix/globtest.sh (LANG): Remove variable.
6904 * string/Makefile (tester-ENV): Likewise.
6905 (inl-tester-ENV): Likewise.
6906 (noinl-tester-ENV): Likewise.
6907 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6908 [$(cross-compiling) = no]: Don't set LANGUAGE.
6909 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6910 without explicit environment settings.
6912 2014-06-06 Roland McGrath <roland@hack.frob.com>
6914 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6915 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6917 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6919 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6921 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6922 other files in the crypt directory.
6923 * crypt/crypt.c: Remove duplicate includes.
6924 * crypt/crypt-entry.c: Likewise.
6925 * crypt/crypt_util.c: Likewise.
6927 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6929 * Makeconfig (run-program-env): New variable.
6930 (run-program-prefix-before-env): Likewise.
6931 (run-program-prefix-after-env): Likewise.
6932 (run-program-prefix): Define in terms of new variables.
6933 (built-program-cmd-before-env): New variable.
6934 (built-program-cmd-after-env): Likewise.
6935 (built-program-cmd): Define in terms of new variables.
6936 (test-program-prefix-before-env): New variable.
6937 (test-program-prefix-after-env): Likewise.
6938 (test-program-prefix): Define in terms of new variables.
6939 (test-program-cmd-before-env): New variable.
6940 (test-program-cmd-after-env): Likewise.
6941 (test-program-cmd): Define in terms of new variables.
6942 * Rules (make-test-out): Use $(run-program-env).
6943 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6944 (help): Do not mention environment variables. Mention
6945 --timeoutfactor option.
6946 (timeoutfactor): New variable.
6947 (blacklist_exports): Remove function.
6948 (exports): Remove variable.
6949 (command): Do not include ${exports}.
6950 * manual/install.texi (Configuring and compiling): Do not mention
6951 test wrappers preserving environment variables. Mention that last
6952 assignment to a variable must take precedence.
6953 * INSTALL: Regenerated.
6954 * benchtests/Makefile (run-bench): Use $(run-program-env).
6955 * catgets/Makefile ($(objpfx)test1.cat): Use
6956 $(built-program-cmd-before-env), $(run-program-env) and
6957 $(built-program-cmd-after-env).
6958 ($(objpfx)test2.cat): Do not specify environment variables
6960 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6961 $(run-program-env) and $(built-program-cmd-after-env).
6962 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6963 $(run-program-env) and $(test-program-cmd-after-env).
6964 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6966 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6967 run_program_env and test_program_cmd_after_env arguments.
6968 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6969 * elf/tst-pathopt.sh: Use run_program_env argument.
6970 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6971 $(test-wrapper-env) and $(run-program-env).
6972 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6973 run_program_env arguments.
6974 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6975 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6976 $(test-program-prefix-before-env), $(run-program-env) and
6977 $(test-program-prefix-after-env).
6978 ($(objpfx)tst-gettext2.out): Likewise.
6979 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6980 run_program_env and test_program_prefix_after_env arguments.
6981 * intl/tst-gettext2.sh: Likewise.
6982 * intl/tst-gettext4.sh: Do not set environment variables
6984 * intl/tst-gettext6.sh: Likewise.
6985 * intl/tst-translit.sh: Likewise.
6986 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6987 $(test-program-prefix-before-env), $(run-program-env) and
6988 $(test-program-prefix-after-env).
6989 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6990 run_program_env and test_program_prefix_after_env arguments.
6991 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6992 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6993 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6994 explicitly with each use of ${test_wrapper_env}.
6995 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6996 $(test-program-prefix-before-env), $(run-program-env) and
6997 $(test-program-prefix-after-env).
6998 * posix/tst-getconf.sh: Do not set environment variables
7000 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7001 run_program_env and test_program_prefix_after_env arguments.
7002 * stdio-common/tst-printf.sh: Do not set environment variables
7004 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7005 $(test-program-prefix-before-env), $(run-program-env) and
7006 $(test-program-prefix-after-env).
7007 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7008 run_program_env and test_program_prefix_after_env arguments.
7009 Split $test calls into $test_pre and $test.
7010 * timezone/Makefile (build-testdata): Use
7011 $(built-program-cmd-before-env), $(run-program-env) and
7012 $(built-program-cmd-after-env).
7014 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7017 strlen for non SHARED builds.
7019 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7021 * nptl/allocatestack.c (check_list): Inlined function...
7022 (__reclaim_stacks): ... here.
7024 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7027 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7030 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7032 * Rules (make-test-out): Include
7033 LOCPATH=$(common-objpfx)localedata in default environment.
7034 * debug/Makefile (tst-chk1-ENV): Remove variable.
7035 (tst-chk2-ENV): Likewise.
7036 (tst-chk3-ENV): Likewise.
7037 (tst-chk4-ENV): Likewise.
7038 (tst-chk5-ENV): Likewise.
7039 (tst-chk6-ENV): Likewise.
7040 (tst-lfschk1-ENV): Likewise.
7041 (tst-lfschk2-ENV): Likewise.
7042 (tst-lfschk3-ENV): Likewise.
7043 (tst-lfschk4-ENV): Likewise.
7044 (tst-lfschk5-ENV): Likewise.
7045 (tst-lfschk6-ENV): Likewise.
7046 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7047 (tst-iconv7-ENV): Likewise.
7048 * intl/Makefile (LOCPATH-ENV): Likewise.
7049 (tst-codeset-ENV): Likewise.
7050 (tst-gettext3-ENV): Likewise.
7051 (tst-gettext5-ENV): Likewise.
7052 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7053 (tst-fopenloc-ENV): Likewise.
7054 (tst-fgetws-ENV): Remove variable.
7055 (tst-ungetwc1-ENV): Likewise.
7056 (tst-ungetwc2-ENV): Likewise.
7057 (bug-ungetwc2-ENV): Likewise.
7058 (tst-swscanf-ENV): Likewise.
7059 (bug-ftell-ENV): Likewise.
7060 (tst-fgetwc-ENV): Likewise.
7061 (tst-fseek-ENV): Likewise.
7062 (tst-ftell-partial-wide-ENV): Likewise.
7063 (tst-ftell-active-handler-ENV): Likewise.
7064 (tst-ftell-append-ENV): Likewise.
7065 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7066 (tst-regexloc-ENV): Likewise.
7067 (bug-regex1-ENV): Likewise.
7068 (tst-regex-ENV): Likewise.
7069 (tst-regex2-ENV): Likewise.
7070 (bug-regex5-ENV): Likewise.
7071 (bug-regex6-ENV): Likewise.
7072 (bug-regex17-ENV): Likewise.
7073 (bug-regex18-ENV): Likewise.
7074 (bug-regex19-ENV): Likewise.
7075 (bug-regex20-ENV): Likewise.
7076 (bug-regex22-ENV): Likewise.
7077 (bug-regex23-ENV): Likewise.
7078 (bug-regex25-ENV): Likewise.
7079 (bug-regex26-ENV): Likewise.
7080 (bug-regex30-ENV): Likewise.
7081 (bug-regex32-ENV): Likewise.
7082 (bug-regex33-ENV): Likewise.
7083 (bug-regex34-ENV): Likewise.
7084 (bug-regex35-ENV): Likewise.
7085 (tst-rxspencer-ENV): Likewise.
7086 (tst-rxspencer-no-utf8-ENV): Likewise.
7087 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7088 (tst-sscanf-ENV): Likewise.
7089 (tst-swprintf-ENV): Likewise.
7090 (tst-swscanf-ENV): Likewise.
7091 (test-vfprintf-ENV): Likewise.
7092 (scanf13-ENV): Likewise.
7093 (bug14-ENV): Likewise.
7094 (tst-grouping-ENV): Likewise.
7095 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7096 (tst-strtod3-ENV): Likewise.
7097 (tst-strtod4-ENV): Likewise.
7098 (tst-strtod5-ENV): Likewise.
7099 (testmb2-ENV): Likewise./
7100 * string/Makefile (tst-strxfrm-ENV): Likewise.
7101 (tst-strxfrm2-ENV): Likewise.
7102 (bug-strcoll1-ENV): Likewise.
7103 (test-strcasecmp-ENV): Likewise.
7104 (test-strncasecmp-ENV): Likewise.
7105 * time/Makefile (tst-strptime-ENV): Likewise.
7106 (tst-ftime_l-ENV): Likewise.
7107 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7108 (tst-mbrtowc-ENV): Likewise.
7109 (tst-wcrtomb-ENV): Likewise.
7110 (tst-mbrtowc2-ENV): Likewise.
7111 (tst-c16c32-1-ENV): Likewise.
7112 (tst-mbsnrtowcs-ENV): Likewise.
7114 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7116 * manual/resource.texi (How to get information about the memory
7117 subsystem?): Fix typo.
7118 Reported by Peon de la Parra Ivan <peon@keba.com>
7120 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7123 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7124 (pthread_spin_lock): Branch out of spin loop to proper location.
7125 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7126 (pthread_spin_lock): Likewise.
7128 * nptl/tst-spin4.c: New test.
7129 * nptl/Makefile (tests): Add tst-spin4.
7131 2014-06-03 Andreas Schwab <schwab@suse.de>
7134 * resolv/res_send.c (send_dg): Reload file descriptor after
7137 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7139 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7141 2014-06-03 Richard Henderson <rth@redhat.com>
7143 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7144 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7145 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7146 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7147 in the SAVE_PID block.
7148 (__libc_vfork): New alias.
7149 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7151 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7152 child in registers, not on the stack. Remove RESET_PID conditionals.
7153 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7155 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7157 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7159 2014-06-03 Wilco <wdijkstr@arm.com>
7161 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7162 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7163 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7164 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7165 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7168 2014-06-03 Wilco <wdijkstr@arm.com>
7170 * sysdeps/aarch64/fpu/math_private.h
7171 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7172 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7173 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7174 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7177 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7179 * crypt/crypt-private.h: Include ufc-crypt.h.
7180 (__b64_from_24bit): Declare extern.
7181 * crypt/crypt_util.c(__b64_from_24bit): New function.
7182 (b64t): New static const variable.
7183 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7184 (b64t): Remove variable.
7185 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7186 * crypt/sha256-crypt.c: Include crypt-private.h.
7187 (b64t): Remove variable.
7188 (__sha256_crypt_r): Remove b64_from_24bit and replace
7189 with __b64_from_24bit.
7190 * crypt/sha512-crypt.c: Likewise.
7192 2014-06-02 Roland McGrath <roland@hack.frob.com>
7194 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7195 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7196 Label the code __libc_vfork rather than __vfork.
7197 [!NOT_IN_libc] (vfork): Define as weak alias.
7198 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7199 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7200 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7202 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7204 * malloc/malloc.c (malloc_info): Fix format specifier for
7207 2014-06-02 Wilco <wdijkstr@arm.com>
7209 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7212 2014-06-02 Wilco <wdijkstr@arm.com>
7215 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7216 Rewrite to reduce FPCR/FPSR accesses.
7218 2014-06-01 David S. Miller <davem@davemloft.net>
7220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7222 2014-05-31 David S. Miller <davem@davemloft.net>
7224 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7225 to occur in round to nearest mode when |x| >= 2.0
7227 2014-05-30 Richard Henderson <rth@twiddle.net>
7229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7230 (PSEUDO_RET_NOERRNO): Remove.
7231 (ret): Don't redefine.
7232 (ret_NOERRNO): Define in terms of ret.
7233 (ret_ERRVAL): Likewise.
7235 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7236 use of PSEUDO_RET; perform the error check directly.
7238 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7240 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7243 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * malloc/malloc (malloc_info): Fix formatting.
7247 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7248 Roland McGrath <roland@hack.frob.com>
7250 * malloc/malloc (malloc_info): Also print mmapped statistics.
7252 2014-05-30 Roland McGrath <roland@hack.frob.com>
7254 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7255 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7257 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7259 * malloc/malloc.c (malloc_info): Inline mi_arena.
7261 2014-05-29 Richard Henderson <rth@twiddle.net>
7263 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7264 Remove comma before expanding ASM_ARGS_##nr.
7265 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7266 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7268 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7269 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7270 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7271 (ASM_ARGS_1): Add leading comma.
7273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7274 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7275 to __errno_location.
7276 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7277 Remove the expected plt for __errno_location.
7279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7280 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7283 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7284 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7285 it and break it down.
7286 (DOCARGS_0, DOCARGS_1): Do nothing.
7287 (DOCARGS_2): Update to store into the new stack frame.
7288 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7289 (UNDOCARGS_1): Update to restore from the new stack frame.
7290 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7291 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7293 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7294 (SINGLE_THREAD_P): New parameter for result regno.
7295 (PSEUDO): Update to match; use cbz instead of beq.
7297 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7298 Use ENTRY to define the _nocancel entry point. Share the syscall
7299 and syscall error check paths with the cancel path.
7302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7303 whitespace; tabs before and after asm mnemonics.
7305 2014-05-29 Eric Wong <normalperson@yhbt.net>
7308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7309 Call fstat64 or stat64 internally, depending on arguments passed.
7310 Replace stat buffer argument with file descriptor argument.
7311 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7312 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7313 Pass fd to __internal_statvfs instead of calling fstat64.
7314 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7315 Pass fd to __internal_statvfs64 instead of calling fstat64.
7316 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7317 Pass -1 to __internal_statvfs instead of calling stat64.
7318 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7319 Pass -1 to __internal_statvfs64 instead of calling stat64.
7321 2014-05-28 Roland McGrath <roland@hack.frob.com>
7323 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7324 that was previously under [RESET_PID].
7325 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7327 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7328 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7330 2014-05-27 Roland McGrath <roland@hack.frob.com>
7332 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7334 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7335 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7337 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7339 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7341 2014-05-27 Andreas Schwab <schwab@suse.de>
7343 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7345 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7346 * elf/rtld.c (init_tls, dl_main): Likewise.
7347 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7348 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7349 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7350 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7351 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7352 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7353 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7354 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7355 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7356 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7357 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7358 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7359 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7360 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7361 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7362 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7363 * sysdeps/generic/tls.h: Update description.
7365 2014-05-27 Will Newton <will.newton@linaro.org>
7368 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7369 and restore r2 rather than just restoring.
7371 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7374 * libio/tst-ftell-append.c: New test case.
7375 * libio/Makefile (tests): Add test case.
7376 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7378 * libio/wfileops.c (do_ftell_wide): Likewise.
7380 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7384 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7388 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7389 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7390 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7391 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7392 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7393 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7400 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7401 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7402 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7403 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7404 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7406 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7409 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7411 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7413 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7414 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7415 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7418 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7420 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7443 conditional [RESET_PID].
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7452 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7453 (__libc_vfork): New strong alias.
7454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7456 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7461 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7462 (__libc_vfork): New strong alias.
7463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7468 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7470 * malloc/malloc.c (mi_arena): New function.
7471 (malloc_info): Remove nested function mi_arena. Call non-nosted
7474 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7476 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7478 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7479 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7480 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7481 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7483 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7484 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7486 2014-05-26 Andreas Schwab <schwab@suse.de>
7489 * locale/programs/repertoire.c (repertoire_read): Add slash
7490 between I18NPATH element and file name.
7491 * locale/programs/locfile.c (locfile_read): Likewise.
7493 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7495 * nptl/pthread_mutexattr_settype.c
7496 (__pthread_mutexattr_settype):
7497 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7499 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7501 * nptl/tst-mutex5 (do_test):
7502 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7504 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7506 * benchtests/README: Document 'init' directive.
7507 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7509 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7510 (parse_file): Recognize 'init' directive.
7512 2014-05-26 Kyle McMartin <kyle@redhat.com>
7515 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7516 alignment of struct pthread.
7518 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7521 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7522 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7523 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7524 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7526 2014-05-25 Richard Henderson <rth@twiddle.net>
7528 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7529 (SINGLE_THREAD_P_PIC): Remove.
7530 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7531 (SINGLE_THREAD_P_PIC): Remove.
7533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7534 branch to syscall error ...
7536 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7537 from __local_syscall_error to .Lsyscall_error.
7538 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7539 (SYSCALL_ERROR): Update label name.
7541 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7542 Do not use DOARGS/UNDOARGS.
7543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7544 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7545 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7546 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7547 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7552 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7553 define if !NOT_IN_libc.
7554 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7555 define with non-default symbol versions.
7557 2014-05-23 Richard Henderson <rth@twiddle.net>
7559 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7560 (vfork, __vfork): Define via compat_symbol.
7562 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7563 [!HAVE_IFUNC] (vfork_compat): Remove.
7564 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7566 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7569 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7570 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7573 2014-05-23 Richard Henderson <rth@twiddle.net>
7575 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7576 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7577 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7578 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7580 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7581 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7582 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7583 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7584 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7585 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7586 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7587 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7588 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7589 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7590 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7591 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7592 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7602 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7607 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7608 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7609 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7610 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7611 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7612 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7613 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7614 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7615 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7616 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7617 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7619 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7620 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7621 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7622 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7623 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7624 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7625 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7627 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7629 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7630 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7631 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7632 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7633 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7634 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7635 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7637 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7638 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7639 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7640 before exiting on error.
7641 (__libc_vfork): New strong alias.
7642 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7643 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7645 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7646 that was previously under [RESET_PID].
7647 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7649 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7651 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7654 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7655 value when x - 1 is zero.
7656 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7657 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7658 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7659 0.0L for an argument of 1.0L.
7660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7662 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7663 value when x - 1 is zero.
7664 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7670 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7671 alphasort and versionsort.
7673 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7675 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7677 [copysignf]: Likewise.
7679 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7681 * crypt/md5-crypt.c: Fix formatting.
7683 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7685 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7686 (b64_from_24bit): New function.
7688 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7691 libc_hidden_builtin_def to ifunc.
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7693 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7695 2014-05-21 Roland McGrath <roland@hack.frob.com>
7697 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7698 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7700 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7702 * nscd/Depend (linuxthreads): Remove.
7704 * resolv/Depend (linuxthreads): Remove.
7705 * rt/Depend (linuxthreads): Remove.
7707 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7708 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7709 $(common-objpfx)elf/.
7710 (link-libc-before-gnulib): Likewise.
7711 (elfobjdir): Remove variable.
7712 * Makefile (install): Use $(elf-objpfx) instead of
7713 $(common-objpfx)elf/.
7714 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7716 (link-libc-deps): Likewise.
7717 ($(common-objpfx)libc.so): Likewise.
7718 ($(common-objpfx)linkobj/libc.so): Likewise.
7719 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7720 instead of $(common-objpfx)elf/.
7721 (symbolic-link-list): Likewise.
7722 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7723 [$(cross-compiling) = no]: Likewise.
7724 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7726 (static-gnulib-arch): Likewise.
7727 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7728 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7729 $(common-objpfx)elf/.
7731 2014-05-21 Richard Henderson <rth@redhat.com>
7733 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7734 (SINGLE_THREAD_P): Use the correct width load. Fold
7735 into the ldr offset.
7737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7738 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7740 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7742 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7743 (libgcc_s_resume): Use __attribute_used__.
7744 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7747 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7749 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7750 optimization when used with float constants.
7752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7754 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7757 * locale/nl_langinfo_l.c: Make direct reference to every
7758 _nl_current_CATEGORY symbol.
7759 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7760 (tests-static): Add tst-langinfo-static.
7761 (tests-special): Add tst-langinfo-static.out.
7762 ($(objpfx)tst-langinfo.out): Redirect output.
7763 ($(objpfx)tst-langinfo-static.out): New.
7764 * localedata/tst-langinfo.sh: Send output to stdout.
7765 * localedata/tst-langinfo-static.c: New file.
7768 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7769 when the shift amount is modulo the limb size.
7771 2014-05-20 Richard Henderson <rth@redhat.com>
7774 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7775 Change type of sa_flags from unsigned int to int.
7778 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7780 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7782 2014-05-20 Will Newton <will.newton@linaro.org>
7784 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7785 Test the return value of the system call in the nocancel case.
7787 2014-05-20 Will Newton <will.newton@linaro.org>
7788 Yvan Roux <yvan.roux@linaro.org>
7790 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7791 #include of asm/ptrace.h.
7792 (PTRACE_GET_THREAD_AREA): Remove #undef.
7793 (PTRACE_GETHBPREGS): Likewise.
7794 (PTRACE_SETHBPREGS): Likewise.
7795 (struct user_regs_struct): New structure.
7796 (struct user_fpsimd_struct): New structure.
7797 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7798 #include of asm/ptrace.h and second #include of sys/user.h.
7799 (PTRACE_GET_THREAD_AREA): Remove #undef.
7800 (PTRACE_GETHBPREGS): Likewise.
7801 (PTRACE_SETHBPREGS): Likewise.
7802 (ELF_NGREG): Use new struct user_regs_struct.
7803 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7805 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7810 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7814 membar to avoid block loads/stores to overlap previous stores.
7816 2014-05-17 Richard Henderson <rth@redhat.com>
7818 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7819 Create the __##syscall_name##_nocancel entry point.
7820 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7821 Remove; let the sysdep-cancel.h code create it.
7823 2014-05-17 David S. Miller <davem@davemloft.net>
7825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7826 Protect with __USE_GNU.
7827 (TIOCSET_TEMPT): Likewise.
7828 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7829 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7830 these are already provided in bits/ioctl-types.h
7832 2014-05-16 Roland McGrath <roland@hack.frob.com>
7834 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7835 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7837 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7838 Use wait4 regardless of [__NR_waitpid].
7840 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7843 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7844 (_FP_NANSIGN_Q): Set the quiet bit.
7846 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7848 * benchtests/Makefile
7849 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7850 not $(common-objpfx)math/libm.so.
7851 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7852 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7853 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7854 $(common-objpfx)dlfcn/libdl.so.
7855 ($(objpfx)tst-audit8): Depend on $(libm), not
7856 $(common-objpfx)math/libm.so.
7857 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7858 not $(common-objpfx)dlfcn/libdl.so.
7860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7861 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7862 [$(build-shared) = yes].
7863 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7864 $(common-objpfx)nptl/libpthread.so.
7865 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7866 $(common-objpfx)math/libm.so$(libm.so-version) or
7867 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7868 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7869 $(common-objpfx)dlfcn/libdl.so.
7870 * setjmp/Makefile (link-libm): Remove variable.
7871 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7872 * stdio-common/Makefile (link-libm): Remove variable.
7873 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7874 * stdlib/Makefile (link-libm): Remove variable.
7875 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7876 ($(objpfx)tst-strtod-round): Likewise.
7877 ($(objpfx)tst-tininess): Likewise.
7878 ($(objpfx)tst-strtod-underflow): Likewise.
7879 ($(objpfx)tst-strtod6): Likewise.
7880 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7881 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7882 $(common-objpfx)dlfcn/libdl.so.
7884 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7886 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7887 BSD terminal modes definitions.
7889 2014-05-16 Roland McGrath <roland@hack.frob.com>
7891 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7892 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7894 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7895 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7896 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7897 Don't do #include_next.
7898 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7899 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7900 Don't do #include_next.
7901 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7902 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7903 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7904 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7906 2014-05-16 Allan McRae <allan@archlinux.org>
7908 * po/sv.po: Update Swedish translation from translation project.
7910 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7913 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7916 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7917 errno if the TIOCGPTN ioctl fails with an error different than
7919 * login/tst-ptsname.c: New file.
7920 * login/Makefile (tests): Add tst-ptsname.
7923 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7926 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7930 herrno to return EAI_AGAIN.
7932 2014-05-14 Roland McGrath <roland@hack.frob.com>
7934 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7935 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7939 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7941 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7945 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7947 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7949 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7950 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7951 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7953 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7954 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7955 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7956 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7957 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7959 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7960 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7961 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7963 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7965 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7967 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7970 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7972 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7978 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7980 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7982 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7986 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7988 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7990 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7992 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7994 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7996 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7999 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8003 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8005 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8007 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8009 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8011 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8015 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8017 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8020 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8025 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8026 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8027 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8028 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8029 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8030 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8032 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8034 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8036 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8038 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8040 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8042 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8044 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8046 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8047 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8048 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8050 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8052 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8053 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8054 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8056 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8057 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8059 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8060 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8061 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8063 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8069 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8072 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8075 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8076 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8077 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8078 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8080 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8082 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8083 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8084 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8086 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8089 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8090 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8092 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8094 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8095 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8096 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8097 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8100 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8102 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8104 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8106 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8108 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8114 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8117 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8120 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8122 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8125 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8127 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8129 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8130 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8131 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8132 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8134 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8137 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8139 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8140 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8142 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8145 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8147 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8149 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8151 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8152 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8153 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8155 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8156 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8157 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8158 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8163 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8164 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8166 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8169 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8170 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8171 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8172 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8173 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8174 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8176 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8178 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8180 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8182 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8185 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8190 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8191 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8192 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8193 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8194 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8198 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8200 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8202 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8204 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8205 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8206 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8208 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8210 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8212 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8213 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8215 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8216 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8218 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8219 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8220 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8221 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8222 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8224 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8225 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8226 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8227 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8230 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8232 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8234 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8237 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8239 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8240 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8242 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8244 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8246 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8248 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8251 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8254 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8256 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8258 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8260 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8262 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8264 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8266 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8267 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8268 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8269 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8270 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8273 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8274 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8275 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8276 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8278 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8279 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8281 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8282 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8283 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8284 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8285 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8286 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8287 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8292 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8293 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8295 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8297 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8298 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8299 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8300 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8301 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8302 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8303 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8304 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8331 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8336 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8337 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8339 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8340 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8343 that was previously under [RESET_PID].
8344 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8345 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8346 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8348 * sysdeps/i386/nptl/Implies: New file.
8349 * sysdeps/x86_64/nptl/Implies: New file.
8350 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8351 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8353 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8355 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8356 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8357 (__libc_vfork): New strong alias.
8358 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8359 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8361 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8362 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8363 (__libc_vfork): New strong alias.
8364 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8365 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8367 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8368 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8369 (__libc_vfork): New strong alias.
8370 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8371 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8372 * nptl/pt-vfork.c: New file.
8373 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8374 (libpthread: GLIBC_2.20): New version set (empty).
8376 2014-05-14 Will Newton <will.newton@linaro.org>
8378 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8381 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8384 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8385 arguments with exponent 65 or above.
8386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8387 arguments 0x1p113L or above.
8388 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8389 to arguments 0x1p107L or above.
8390 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8391 positive arguments with exponent 65 or above.
8392 * math/auto-libm-test-in: Add more tests of log1p.
8393 * math/auto-libm-test-out: Regenerated.
8396 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8397 non-finite arguments is +0.
8398 * math/s_cacosf.c (__cacosf): Likewise.
8399 * math/s_cacosl.c (__cacosl): Likewise.
8400 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8401 * sysdeps/i386/fpu/libm-test-ulps: Update.
8402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8407 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8408 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8409 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8410 for explicit high bit of mantissa when testing for argument equal
8412 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8413 * sysdeps/i386/fpu/libm-test-ulps: Update.
8414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8418 (__erf): Scale by 16 instead of 8 in potentially underflowing
8419 case. Ensure exception if result actually underflows.
8420 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8421 (__erff): Scale by 16 instead of 8 in potentially underflowing
8422 case. Ensure exception if result actually underflows.
8423 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8424 (efx8): Remove variable.
8425 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8426 case. Ensure exception if result actually underflows.
8427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8428 (efx8): Remove variable.
8429 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8430 case. Ensure exception if result actually underflows.
8431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8432 (efx8): Remove variable.
8433 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8434 case. Ensure exception if result actually underflows.
8435 * math/auto-libm-test-in: Add more tests of erf.
8436 * math/auto-libm-test-out: Regenerated.
8438 2014-05-14 Andreas Schwab <schwab@suse.de>
8440 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8441 Remove code conditionalized on USE___THREAD.
8443 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8444 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8447 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8450 Define unconditionally.
8451 (__ASSUME_O_CLOEXEC): Likewise.
8452 (__ASSUME_SOCK_CLOEXEC): Likewise.
8453 (__ASSUME_IN_NONBLOCK): Likewise.
8454 (__ASSUME_PIPE2): Likewise.
8455 (__ASSUME_EVENTFD2): Likewise.
8456 (__ASSUME_SIGNALFD4): Likewise.
8457 (__ASSUME_DUP3): Likewise.
8458 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8459 (__ASSUME_DUP3): Do not define.
8460 (__ASSUME_EVENTFD2): Likewise.
8461 (__ASSUME_IN_NONBLOCK): Likewise.
8462 (__ASSUME_O_CLOEXEC): Likewise.
8463 (__ASSUME_PIPE2): Likewise.
8464 (__ASSUME_SIGNALFD4): Likewise.
8465 (__ASSUME_SOCK_CLOEXEC): Likewise.
8466 (__ASSUME_UTIMES): Undefine.
8467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8468 (__ASSUME_UTIMES): Do not define.
8469 (__ASSUME_O_CLOEXEC): Likewise.
8470 (__ASSUME_SOCK_CLOEXEC): Likewise.
8471 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8472 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8474 (__ASSUME_PIPE2): Likewise.
8475 (__ASSUME_EVENTFD2): Likewise.
8476 (__ASSUME_SIGNALFD4): Likewise.
8477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8478 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8480 (__ASSUME_EVENTFD2): Likewise.
8481 (__ASSUME_SIGNALFD4): Likewise.
8482 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8483 (__ASSUME_32BITUIDS): Likewise.
8484 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8485 (__ASSUME_IPC64): Likewise.
8486 (__ASSUME_ST_INO_64_BIT): Likewise.
8487 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8488 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8489 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8490 (__ASSUME_UTIMES): Do not define.
8491 (__ASSUME_PSELECT): Likewise.
8492 (__ASSUME_PPOLL): Likewise.
8493 (__ASSUME_O_CLOEXEC): Likewise.
8494 (__ASSUME_SOCK_CLOEXEC): Likewise.
8495 (__ASSUME_IN_NONBLOCK): Likewise.
8496 (__ASSUME_PIPE2): Likewise.
8497 (__ASSUME_EVENTFD2): Likewise.
8498 (__ASSUME_SIGNALFD4): Likewise.
8499 (__ASSUME_DUP3): Likewise.
8500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8501 (__ASSUME_UTIMES): Likewise.
8502 (__ASSUME_O_CLOEXEC): Likewise.
8503 (__ASSUME_SOCK_CLOEXEC): Likewise.
8504 (__ASSUME_IN_NONBLOCK): Likewise.
8505 (__ASSUME_PIPE2): Likewise.
8506 (__ASSUME_EVENTFD2): Likewise.
8507 (__ASSUME_SIGNALFD4): Likewise.
8508 (__ASSUME_DUP3): Likewise.
8509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8510 (__ASSUME_UTIMES): Likewise.
8511 (__ASSUME_O_CLOEXEC): Likewise.
8512 (__ASSUME_SOCK_CLOEXEC): Likewise.
8513 (__ASSUME_IN_NONBLOCK): Likewise.
8514 (__ASSUME_PIPE2): Likewise.
8515 (__ASSUME_EVENTFD2): Likewise.
8516 (__ASSUME_SIGNALFD4): Likewise.
8517 (__ASSUME_DUP3): Likewise.
8518 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8520 (__ASSUME_UTIMES): Likewise.
8521 (__ASSUME_EVENTFD2): Likewise.
8522 (__ASSUME_SIGNALFD4): Likewise.
8523 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8524 (__ASSUME_O_CLOEXEC): Likewise.
8525 (__ASSUME_SOCK_CLOEXEC): Likewise.
8526 (__ASSUME_IN_NONBLOCK): Likewise.
8527 (__ASSUME_PIPE2): Likewise.
8528 (__ASSUME_EVENTFD2): Likewise.
8529 (__ASSUME_SIGNALFD4): Likewise.
8530 (__ASSUME_DUP3): Likewise.
8531 (__ASSUME_UTIMES): Undefine.
8533 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8534 feclearexcept. Remove symbol versioning code.
8535 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8536 symbol versioning code.
8537 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8538 symbol versioning code.
8539 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8540 feupdateenv. Remove symbol versioning code.
8541 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8542 fegetexceptflag. Remove symbol versioning code.
8543 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8544 fesetexceptflag. Remove symbol versioning code.
8545 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8546 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8547 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8548 (__posix_fadvise64_l32): Remove prototype.
8549 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8552 2014-05-13 Roland McGrath <roland@hack.frob.com>
8554 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8555 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8556 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8557 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8559 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8561 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8562 current working directory
8564 2014-05-13 Roland McGrath <roland@hack.frob.com>
8566 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8567 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8568 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8569 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8570 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8571 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8572 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8587 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8588 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8589 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8591 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8593 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8597 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8599 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8600 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8601 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8602 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8603 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8604 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8605 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8606 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8607 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8609 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8610 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8612 * sysdeps/unix/sysv/linux/arm/Makefile
8613 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8614 Add rt-aeabi_unwind_cpp_pr1.
8615 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8616 Add nptl-aeabi_unwind_cpp_pr1.
8617 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8618 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8619 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8620 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8621 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8622 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8624 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8625 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8626 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8627 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8629 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8630 Deconditionalize the code that was previously under [RESET_PID].
8631 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8633 * sysdeps/generic/exit-thread.h: New file.
8634 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8635 * include/unistd.h (__exit_thread): Remove declaration.
8636 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8637 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8638 * csu/libc-start.c: Include <exit-thread.h>.
8639 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8640 * nptl/pthread_create.c: Include <exit-thread.h>.
8641 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8642 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8643 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8644 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8645 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8646 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8647 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8648 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8649 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8650 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8651 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8652 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8653 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8654 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8655 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8656 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8657 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8659 2014-05-13 Andreas Schwab <schwab@suse.de>
8661 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8663 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8665 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8666 (__ASSUME_UTIMES): Do not condition on kernel version.
8667 (__ASSUME_PSELECT): Define unconditionally.
8668 (__ASSUME_PPOLL): Likewise.
8669 (__ASSUME_ATFCTS): Likewise.
8670 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8671 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8672 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8673 (__ASSUME_UTIMENSAT): Define unconditionally.
8674 (__ASSUME_PRIVATE_FUTEX): Likewise.
8675 (__ASSUME_FALLOCATE): Likewise.
8676 (__ASSUME_O_CLOEXEC): Likewise.
8677 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8678 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8679 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8680 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8681 (__ASSUME_IN_NONBLOCK): Likewise.
8682 (__ASSUME_PIPE2): Likewise.
8683 (__ASSUME_EVENTFD2): Likewise.
8684 (__ASSUME_SIGNALFD4): Likewise.
8685 (__ASSUME_DUP3): Likewise.
8686 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8687 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8688 (__ASSUME_AT_RANDOM): Likewise.
8689 (__ASSUME_PREADV): Likewise.
8690 (__ASSUME_PWRITEV): Likewise.
8691 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8692 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8693 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8695 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8697 (__ASSUME_O_CLOEXEC): Define unconditionally.
8698 (__ASSUME_PSELECT): Do not undefine conditionally.
8699 (__ASSUME_PPOLL): Likewise.
8700 (__ASSUME_ATFCTS): Likewise.
8701 (__ASSUME_SET_ROBUST_LIST): Likewise.
8702 (__ASSUME_UTIMENSAT): Likewise.
8703 (__ASSUME_FDATASYNC): Define unconditionally.
8704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8705 (__ASSUME_SIGFRAME_V2): Likewise.
8706 )__ASSUME_EVENTFD2): Likewise.
8707 (__ASSUME_SIGNALFD4): Likewise.
8708 (__ASSUME_PSELECT): Do not undefine conditionally.
8709 (__ASSUME_PPOLL): Likewise.
8710 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8711 (__ASSUME_PSELECT): Define unconditionally.
8712 (__ASSUME_PPOLL): Likewise.
8713 (__ASSUME_O_CLOEXEC): Likewise.
8714 (__ASSUME_SOCK_CLOEXEC): Likewise.
8715 (__ASSUME_IN_NONBLOCK): Likewise.
8716 (__ASSUME_PIPE2): Likewise.
8717 (__ASSUME_EVENTFD2): Likewise.
8718 (__ASSUME_SIGNALFD4): Likewise.
8719 (__ASSUME_DUP3): Likewise.
8720 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8721 (__ASSUME_O_CLOEXEC): Likewise.
8722 (__ASSUME_SOCK_CLOEXEC): Likewise.
8723 (__ASSUME_IN_NONBLOCK): Likewise.
8724 (__ASSUME_PIPE2): Likewise.
8725 (__ASSUME_EVENTFD2): Likewise.
8726 (__ASSUME_SIGNALFD4): Likewise.
8727 (__ASSUME_DUP3): Likewise.
8728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8729 (__ASSUME_EVENTFD2): Likewise.
8730 (__ASSUME_SIGNALFD4): Likewise.
8731 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8733 2014-05-12 Andreas Schwab <schwab@suse.de>
8736 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8737 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8738 than maximum RPC packet size.
8739 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8740 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8741 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8742 (_nss_nis_getservbyport_r): Likewise.
8744 2014-05-12 Will Newton <will.newton@linaro.org>
8746 * malloc/Makefile (tests): Add tst-mallopt.
8747 * malloc/tst-mallopt.c: New file.
8749 2014-05-09 Roland McGrath <roland@hack.frob.com>
8751 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8752 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8754 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8756 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8757 (tst-tlsmod6.so): Likewise.
8759 2014-05-09 Roland McGrath <roland@hack.frob.com>
8761 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8763 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8766 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8767 and <dl-procinfo.h>.
8768 (__fegetenv): Save SSE state in envp->__eip if supported.
8769 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8770 envp->__eip if supported.
8771 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8772 and <dl-procinfo.h>.
8773 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8774 __data_offset and __data_selector in environment to 0. Set SSE
8776 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8778 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8780 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8782 2014-05-09 Will Newton <will.newton@linaro.org>
8784 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8785 and libc_relro_required for ARM.
8786 * sysdeps/arm/preconfigure: Regenerate.
8788 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8789 Stefan Liebler <stli@linux.vnet.ibm.com>
8791 * config.make.in (enable-lock-elision): New Makefile variable.
8792 * configure.ac: Likewise.
8793 * configure: Regenerate.
8794 * sysdeps/s390/configure.ac:
8795 Add check for gcc transactions support.
8796 * sysdeps/s390/configure: Regenerate.
8797 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8798 Build elision files if enabled.
8799 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8800 Add lock elision support for s390.
8801 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8802 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8803 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8804 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8805 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8806 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8807 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8809 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8811 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8813 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8815 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8816 (__lll_timedlock_elision, __lll_lock_elision)
8817 (__lll_unlock_elision, __lll_trylock_elision)
8818 (lll_timedlock_elision, lll_lock_elision)
8819 (lll_unlock_elision, lll_trylock_elision): Add.
8820 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8821 (pthread_mutex_t): Add lock elision support for s390.
8823 2014-05-14 Wilco <wdijkstr@arm.com>
8825 * sysdeps/arm/fclrexcpt.c: Cleanup.
8826 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8827 * sysdeps/arm/feenablxcpt.c: Cleanup.
8828 * sysdeps/arm/fegetenv.c: Cleanup.
8829 * sysdeps/arm/fegetexcept.c: Cleanup.
8830 * sysdeps/arm/fegetround.c: Cleanup.
8831 * sysdeps/arm/feholdexcpt.c: Cleanup.
8832 * sysdeps/arm/fesetenv.c: Cleanup.
8833 * sysdeps/arm/fesetround.c: Cleanup.
8834 * sysdeps/arm/feupdateenv.c: Cleanup.
8835 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8836 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8837 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8838 * sysdeps/arm/ftestexcept.c: Cleanup.
8839 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8840 * sysdeps/arm/setfpucw.c: Cleanup.
8842 2014-05-09 Will Newton <will.newton@linaro.org>
8844 * sysdeps/arm/armv7/strcmp.S: New file.
8845 * NEWS: Mention addition of ARMv7 optimized strcmp.
8847 2014-05-08 Roland McGrath <roland@hack.frob.com>
8849 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8850 look for %.ac rather than %.in.
8852 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8853 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8854 * sysdeps/mach/hurd/configure: Regenerated.
8855 * sysdeps/unix/sysv/linux/configure: Regenerated.
8857 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8859 2014-05-07 Steve Ellcey <sellcey@mips.com>
8862 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8866 2014-05-07 Andreas Schwab <schwab@suse.de>
8868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8869 when skipping over non-matching result from nscd.
8871 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8874 * nptl/sockperf.c (client): Check socket return value.
8877 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8878 nscd security class.
8880 2014-05-06 Roland McGrath <roland@hack.frob.com>
8882 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8883 * sysdeps/arm/unwind.h: ... here.
8885 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8888 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8891 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8893 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8894 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8895 multiarch strncpy for PPC64.
8896 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8897 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8899 multiarch optimizations.
8900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8901 (__libc_ifunc_impl_list): Likewise.
8902 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8903 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8904 multiarch stpncpy for PPC64.
8905 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8906 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8908 2014-05-06 Andreas Schwab <schwab@suse.de>
8911 * gmon/mcount.c (_MCOUNT_DECL): Use
8912 atomic_compare_and_exchange_bool_acq instead of
8913 catomic_compare_and_exchange_bool_acq.
8915 2014-05-05 Roland McGrath <roland@hack.frob.com>
8917 * elf/Makefile (others, install-bin): Remove pldd.
8918 (pldd-modules): Variable removed.
8919 ($(objpfx)pldd): Target removed.
8920 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8921 (others, install-bin): Append pldd here.
8922 ($(objpfx)pldd): New target.
8924 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8925 to 0, so the first #if test emitted later doesn't see it undefined.
8926 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8927 * sysdeps/gnu/errlist.c: Regenerated.
8929 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8932 [libc_hidden_builtin_def]: Define to empty value.
8933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8934 [libc_hidden_builtin_def]: Likewise.
8935 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8936 [libc_hidden_builtin_def]: Likewise.
8937 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8938 [libc_hidden_builtin_def]: Likewise.
8939 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8940 __redirect_memcpy and define ifunc as default hidden symbol.
8941 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8942 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8944 2014-05-04 Adam Conrad <adconrad@0c3.net>
8946 * locale/iso-4217.def: Reintroduce XDR currency.
8948 2014-05-04 Allan McRae <allan@archlinux.org>
8950 * po/eo.po: Update Esperanto translation from translation project.
8952 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8954 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8955 and FEATURE_INDEX_MAX to 1.
8956 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8958 2014-05-01 Steve Ellcey <sellcey@mips.com>
8960 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8961 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8962 * iconvdata/big5.c (ONE_DIRECTION): Define.
8963 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8964 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8965 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8966 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8967 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8968 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8969 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8970 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8971 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8972 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8973 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8974 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8975 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8976 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8977 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8978 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8979 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8980 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8981 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8982 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8983 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8984 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8985 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8986 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8987 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8988 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8989 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8990 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8991 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8992 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8993 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8994 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8995 * iconvdata/johab.c (ONE_DIRECTION): Define.
8996 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8997 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8998 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8999 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9000 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9001 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9002 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9003 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9004 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9005 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9007 2014-05-01 Roland McGrath <roland@hack.frob.com>
9009 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9010 (_IO_JUMPS_OFFSET): Define to 0.
9012 * nptl/sysdeps/pthread/bits/libc-lock.h
9013 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9014 (__libc_lock_define_initialized_recursive): Always define using
9015 initializer. Modern compilers treat uninitialized (implicit zero) and
9016 explicit zero initializers the same (i.e. put the datum in bss).
9018 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9020 * nscd/nscd-client.h: Include <string.h>.
9022 2014-05-01 David S. Miller <davem@davemloft.net>
9025 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9026 multiple zero bytes exist at the end of a string.
9027 Reported by Aurelien Jarno <aurelien@aurel32.net>
9029 * string/test-strcmp.c (check): Add explicit test for situations where
9030 there are multiple zero bytes after the first.
9032 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9035 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9036 when compiling wprintf.
9037 * stdio-common/tstdiomisc.c (t3): New function.
9040 2014-05-01 Steve Ellcey <sellcey@mips.com>
9042 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9043 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9044 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9045 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9047 2014-05-01 Steve Ellcey <sellcey@mips.com>
9049 * stdlib/longlong.h: Updated from GCC.
9051 2014-05-01 Will Newton <will.newton@linaro.org>
9052 Bernard Ogden <bernie.ogden@linaro.org>
9054 * NEWS: Update fixed bug list.
9057 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9059 2014-04-30 David S. Miller <davem@davemloft.net>
9061 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9062 (libc_feholdexcept_setround_sparc_ctx): New function.
9063 (libc_fesetenv_sparc_ctx): Likewise.
9064 (libc_feupdateenv_sparc_ctx): Likewise.
9065 (libc_feholdsetround_sparc_ctx): Likewise.
9066 (libc_feholdexcept_setround_ctx): Define.
9067 (libc_feholdexcept_setroundf_ctx): Likewise.
9068 (libc_feholdexcept_setroundl_ctx): Likewise.
9069 (libc_fesetenv_ctx): Likewise.
9070 (libc_fesetenvf_ctx): Likewise.
9071 (libc_fesetenvl_ctx): Likewise.
9072 (libc_feupdateenv_ctx): Likewise.
9073 (libc_feupdateenvf_ctx): Likewise.
9074 (libc_feupdateenvl_ctx): Likewise.
9075 (libc_feresetround_ctx): Likewise.
9076 (libc_feresetroundf_ctx): Likewise.
9077 (libc_feresetroundl_ctx): Likewise.
9078 (libc_feholdsetround_ctx): Likewise.
9079 (libc_feholdsetroundf_ctx): Likewise.
9080 (libc_feholdsetroundl_ctx): Likewise.
9082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9083 with __USE_GNU instead of XOPEN cpp guards.
9085 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9089 with XOPEN cpp guards.
9091 2014-04-30 Julian Brown <julian@codesourcery.com>
9094 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9097 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9100 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9102 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9103 * sysdeps/unix/sysv/linux/configure: Regenerated.
9104 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9105 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9106 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9107 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9108 * README: Update reference to required Linux kernel version.
9109 * manual/install.texi (Linux): Update reference to required Linux
9110 kernel headers version.
9111 * INSTALL: Regenerated.
9113 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9115 [POSIX] (limits.h): Likewise.
9116 [POSIX] (math.h): Likewise.
9117 [POSIX] (sys/wait.h): Likewise.
9118 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9120 [POSIX] (stddef.h): Do not allow header inclusion.
9122 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9124 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9126 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9128 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9129 Return immediately after lll_futex_wake.
9131 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9134 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9136 (datahead_init_pos): Call datahead_init_common early.
9137 (datahead_init_neg): Likewise.
9139 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9140 datahead_init_neg): New functions.
9141 * nscd/aicache.c (addhstaiX): Use them.
9142 * nscd/grpcache.c (cache_addgr): Likewise.
9143 * nscd/hstcache.c (cache_addhst): Likewise.
9144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9145 * nscd/netgroupcache.c (do_notfound): Likewise.
9146 (addgetnetgrentX): Likewise.
9147 (addinnetgrX): Likewise.
9148 * nscd/pwdcache.c (cache_addpw): Likewise.
9149 * nscd/servicescache.c (cache_addserv): Likewise.
9151 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9152 Atsushi Onoe <atsushi@onoe.org>
9157 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9158 one response is valid.
9159 * resolv/res_send.c (send_dg): Check for validity of other
9160 response if the current response is a referral.
9162 2014-04-29 Steve Ellcey <sellcey@mips.com>
9164 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9166 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9169 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9170 Always divide by positive zero when computing -Inf result.
9171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9172 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9174 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9176 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9177 FPSCR if value do not change.
9178 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9179 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9180 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9181 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9182 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9183 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9186 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9188 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9189 * sysdeps/unix/sysv/linux/hppa: Move directory from
9190 ports/systeps/unix/sysv/linux/hppa.
9191 * README: Update listing for hppa-*-linux-gnu.
9193 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9196 * manual/stdio.texi (Hook functions): Fix types of stream hook
9199 * socket/sys/socket.h: Fix typo in comment.
9201 2014-04-28 Wilco <wdijkstr@arm.com>
9203 * sysdeps/arm/fenv_private.h: New file.
9204 * sysdeps/arm/math_private.h: New file.
9205 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9207 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9209 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9211 (La_x86_64_retval): Likewise.
9213 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9215 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9216 fpsr if value didn't change.
9217 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9218 to fpcr if value didn't change.
9219 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9220 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9221 fpsr or fpcr if value didn't change.
9222 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9223 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9224 fpcr if value didn't change.
9225 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9226 to fpsr if value didn't change.
9228 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9230 * nptl/tst-sem3.c: Use test-skeleton.c
9231 (main): Rename to do_test. Use return instead of
9233 * nptl/tst-sem4.c: Use test-skeleton.c
9234 (main): Rename to do_test.
9236 2014-04-22 David S. Miller <davem@davemloft.net>
9238 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9239 (struct sigaction): New struct member __glibc_reserved0, change
9240 type of sa_flags to int.
9242 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9244 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9245 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9247 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9249 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9250 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9252 2014-04-22 Will Newton <will.newton@linaro.org>
9253 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9255 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9256 (__longjmp): Add longjmp and longjmp_target SystemTap
9258 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9259 (__sigsetjmp): Add setjmp SystemTap probe.
9261 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9263 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9266 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9270 * sysdeps/powerpc/fpu/fenv_private.h
9271 (libc_feholdexcept_setroundl_ctx): Define to
9272 libc_feholdexcept_setround_ppc_ctx.
9273 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9274 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9275 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9276 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9278 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9280 * sysdeps/aarch64/math-tests.h: New file.
9282 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9284 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9287 Check and set bit_AVX2_Usable.
9288 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9290 (bit_AVX2): Likewise.
9291 (index_AVX2_Usable): Likewise.
9292 (CPUID_AVX2): Likewise.
9293 (HAS_AVX2): Likewise.
9295 2014-04-17 Will Newton <will.newton@linaro.org>
9297 * manual/setjmp.texi (System V contexts): Add note that
9298 calling setcontext on a context created by a call to a
9299 signal handler is undefined. Update text to note that
9300 setcontext from a signal handler is possible but not
9304 * stdlib/tst-setcontext.c: Include signal.h.
9305 (main): Check that the signal stack before and
9306 after swapcontext is the same.
9308 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9309 Re-implement to restore registers in user code and avoid
9310 rt_sigreturn system call.
9312 2014-04-17 Wilco <wdijkstr@arm.com>
9314 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9315 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9316 * math/test-fenv.c: Skip exception trap tests on targets which only
9317 support non-stop mode.
9319 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9320 Wilco Dijkstra <wilco.dijkstra@arm.com>
9322 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9323 (libc_feholdsetround_aarch64_ctx)
9324 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9325 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9326 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9327 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9328 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9329 (libc_feresetround_noexl_ctx): Define.
9331 2014-04-16 Richard Henderson <rth@redhat.com>
9333 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9335 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9338 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9339 const from the non-libc, non-ldso copy.
9341 * sysdeps/alpha/libm-test-ulps: Regenerate.
9343 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9344 Wilco Dijkstra <wilco.dijkstra@arm.com>
9346 * sysdeps/aarch64/fpu/math_private.h: New file.
9348 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9350 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9352 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9355 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9356 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9358 Intel MPX bound registers before _dl_profile_fixup.
9359 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9360 registers after _dl_profile_fixup. Save and restore bound
9361 registers bnd0/bnd1 when calling _dl_call_pltexit.
9362 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9363 (LR_BND_OFFSET): Likewise.
9364 (LRV_BND0_OFFSET): Likewise.
9365 (LRV_BND1_OFFSET): Likewise.
9367 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9369 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9371 * sysdeps/mach/hurd/i386/tls.h: ... here.
9372 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9373 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9376 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9378 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9380 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9382 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9384 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9387 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9388 * sysdeps/s390/configure: Regenerate.
9391 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9392 Set round-to-nearest internally to reduce error accumulation.
9394 2014-04-16 Alan Modra <amodra@gmail.com>
9398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9399 * math/libm-test.inc (frexp_test_data): Add tests.
9400 * NEWS: Update fixed bug list.
9402 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9404 * benchtests/Makefile: Depend on libraries in build directory.
9405 (bench-math): Separate out math tests.
9406 (bench-pthread): Separate out pthread tests.
9407 (bench): Include math and pthread tests.
9409 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9412 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9413 _dl_debug_initialize.
9415 * configure.ac: Remove SELinux header check.
9416 * configure: Regenerate.
9417 * nscd/selinux.c (perms): Array of const char* to permission names.
9418 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9419 default policy. Call string_to_security_class and string_to_av_perm to
9420 translate strings. Enforce default policy and call avs_has_perm with
9421 results of translated strings.
9423 2014-04-13 David S. Miller <davem@davemloft.net>
9425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9427 2014-04-12 Allan McRae <allan@archlinux.org>
9430 * manual/string.texi (Collation Functions): Fix qsort argument
9432 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9434 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9436 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9437 Make the test a no-op if there are no exceptions defined.
9439 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9441 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9442 enable-hardcoded-path-in-tests
9444 2014-04-11 Will Newton <will.newton@linaro.org>
9446 * benchtests/Makefile (extra-objs): Add json-lib.o.
9447 (bench-func): Tidy up JSON output.
9448 * benchtests/bench-skeleton.c: Include json-lib.h.
9449 (main): Use JSON library functions to do output of
9451 * benchtests/bench-timing-type.c (main): Output the
9452 timing type simply, leaving formatting to the user.
9453 * benchtests/json-lib.c: New file.
9454 * benchtests/json-lib.h: Likewise.
9456 2014-04-11 Torvald Riegel <triegel@redhat.com>
9459 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9460 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9461 memory barriers. Add comments.
9462 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9463 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9464 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9465 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9466 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9467 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9469 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9471 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9472 * sysdeps/s390/s390-64/configure.ac: ... this ...
9473 * sysdeps/s390/configure.ac: ... to here.
9474 * sysdeps/s390/s390-32/configure: Delete file.
9475 * sysdeps/s390/s390-64/configure: Delete file.
9476 * sysdeps/s390/configure: Regenerate.
9478 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9480 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9482 2014-04-11 Will Newton <will.newton@linaro.org>
9484 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9485 to zero if it is not defined elsewhere. (mtrim): Test
9486 the value of MALLOC_DEBUG with #if rather than #ifdef.
9488 2014-04-10 Torvald Riegel <triegel@redhat.com>
9490 * benchtests/pthread_once-inputs: New file.
9491 * benchtests/pthread_once-source.c: New file.
9492 * benchtests/README: Update documentation.
9494 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9495 H.J. Lu <hongjiu.lu@intel.com>
9498 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9499 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9500 * sysdeps/x86_64/configure: Regenerated.
9501 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9503 (REGISTER_SAVE_RAX): Likewise.
9504 (REGISTER_SAVE_RCX): Likewise.
9505 (REGISTER_SAVE_RDX): Likewise.
9506 (REGISTER_SAVE_RSI): Likewise.
9507 (REGISTER_SAVE_RDI): Likewise.
9508 (REGISTER_SAVE_R8): Likewise.
9509 (REGISTER_SAVE_R9): Likewise.
9510 (REGISTER_SAVE_BND0): Likewise.
9511 (REGISTER_SAVE_BND1): Likewise.
9512 (REGISTER_SAVE_BND2): Likewise.
9513 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9514 bound registers when calling _dl_fixup.
9516 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9518 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9519 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9521 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9522 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9523 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9524 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9525 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9526 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9527 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9529 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9532 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9533 pathconf(_PC_NAME_MAX).
9535 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9537 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9539 (__PTHREAD_SPINS): Move definition to ...
9540 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9541 (__PTHREAD_SPINS): ... here.
9542 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9543 (__PTHREAD_SPIN): Likewise.
9544 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9545 (__PTHREAD_SPIN): Likewise.
9546 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9547 (__PTHREAD_SPIN): Likewise.
9548 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9549 (__PTHREAD_SPIN): Likewise.
9550 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9551 (__PTHREAD_SPIN): Likewise.
9552 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9553 (__PTHREAD_SPIN): Likewise.
9554 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9555 (__PTHREAD_SPIN): Likewise.
9556 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9557 (__PTHREAD_SPIN): Likewise.
9558 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9559 (__PTHREAD_SPIN): Likewise.
9560 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9561 (__PTHREAD_SPIN): Likewise.
9562 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9563 (__PTHREAD_SPIN): Likewise.
9564 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9565 (__PTHREAD_SPIN): Likewise.
9567 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9568 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9569 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9570 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9572 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9573 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9574 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9575 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9577 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9578 strlen symbol for non multi-arch builds.
9579 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9580 missing hidden_def and weak_alias.
9582 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9584 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9586 2014-04-07 Will Newton <will.newton@linaro.org>
9588 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9589 and contents. [!_LIBC] Remove #ifndef and contents.
9590 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9591 * string/memccpy.c (__memccpy): Use ANSI prototype.
9592 * string/memfrob.c (memfrob): Likewise.
9593 * string/strcoll.c (STRCOLL): Likewise.
9594 * string/strlen.c (strlen): Likewise.
9595 * string/strtok.c (STRTOK): Likewise.
9596 * string/strcat.c: Remove unused #include of memcopy.h.
9597 (strcat): Use ANSI prototype.
9598 * string/strchr.c: Remove unused #include of memcopy.h.
9599 (strchr): Use ANSI prototype.
9600 * string/strcmp.c: Remove unused #include of memcopy.h.
9601 (strcmp): Use ANSI prototype.
9602 * string/strcpy.c: Remove unused #include of memcopy.h.
9603 (strcpy): Use ANSI prototype.
9605 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9607 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9608 * config.make.in (config-extra-cppflags): Set it from
9609 libc_extra_cppflags.
9610 * configure.ac (libc_extra_cflags): Make it accumulate over
9611 configure fragments.
9612 (libc_extra_cppflags): New flag.
9613 * configure. Regenerate.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9615 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9616 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9621 result for FE_DOWNWARD rounding mode.
9622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9626 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9628 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9629 in function argument name.
9631 2014-04-03 David Svoboda <svoboda@cert.org>
9634 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9637 2014-04-03 Roland McGrath <roland@hack.frob.com>
9639 * elf/dl-unmap-segments.h: New file.
9640 * sysdeps/generic/ldsodefs.h
9641 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9642 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9643 * elf/dl-fptr.c: Likewise.
9644 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9645 * sysdeps/aarch64/tlsdesc.c: Likewise.
9646 * sysdeps/arm/tlsdesc.c: Likewise.
9647 * sysdeps/i386/tlsdesc.c: Likewise.
9648 * sysdeps/tile/dl-runtime.c: Likewise.
9649 * sysdeps/x86_64/tlsdesc.c: Likewise.
9650 * elf/dl-load.h: New file.
9651 * elf/dl-load.c: Include it.
9652 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9653 Macros moved to dl-load.h.
9654 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9655 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9656 Use _dl_unmap_segments in place of __munmap.
9657 Break out segment-mapping loop into ...
9658 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9660 2014-04-03 Will Newton <will.newton@linaro.org>
9662 * elf/dl-lookup.c (do_lookup_x): Remove comment
9663 referring to nested function and move variable
9664 declarations down to before first use.
9666 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9670 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9672 * math/s_catanf.c (__catanf): Likewise.
9673 * math/s_catanh.c (__catanh): Likewise.
9674 * math/s_catanhf.c (__catanhf): Likewise.
9675 * math/s_catanhl.c (__catanhl): Likewise.
9676 * math/s_catanl.c (__catanl): Likewise.
9677 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9678 by positive zero when computing -Inf result.
9679 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9680 (catanh_test): Likewise.
9681 * sysdeps/i386/fpu/libm-test-ulps: Update.
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9686 instead of using underflowing value in computing result.
9687 * math/s_clog10.c (__clog10): Likewise.
9688 * math/s_clog10f.c (__clog10f): Likewise.
9689 * math/s_clog10l.c (__clog10l): Likewise.
9690 * math/s_clogf.c (__clogf): Likewise.
9691 * math/s_clogl.c (__clogl): Likewise.
9692 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9693 (clog10_test): Likewise.
9694 * sysdeps/i386/fpu/libm-test-ulps: Update.
9695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9697 2014-04-02 Alan Modra <amodra@gmail.com>
9700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9701 output when value is near a power of two. Use int64_t for lx and
9702 remove casts. Use decimal rather than hex exponent constants.
9703 Don't use long double multiplication when double will suffice.
9704 * math/libm-test.inc (nextafter_test_data): Add tests.
9705 * NEWS: Add 16739 and 16786 to bug list.
9707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9709 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9711 2014-04-01 Will Newton <will.newton@linaro.org>
9713 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9714 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9716 2014-04-01 Florian Weimer <fweimer@redhat.com>
9719 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9720 * nptl/tst-setuid2.c: New file.
9721 * nptl/Makefile (xtests): Add tst-setuid2.
9723 2014-04-01 Alan Modra <amodra@gmail.com>
9726 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9728 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9732 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9733 set errno as appropriate.
9734 * math/w_scalbf.c (__scalbf): Likewise.
9735 * math/w_scalbl.c (__scalbl): Likewise.
9736 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9737 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9738 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9742 * math/w_atan2.c: Include <errno.h>.
9743 (__atan2): Set errno for result underflowing to zero.
9744 * math/w_atan2f.c: Include <errno.h>.
9745 (__atan2f): Set errno for result underflowing to zero.
9746 * math/w_atan2l.c: Include <errno.h>.
9747 (__atan2l): Set errno for result underflowing to zero.
9748 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9750 * math/auto-libm-test-out: Regenerated.
9752 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9754 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9755 Encode instruction correctly in little endian.
9756 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9762 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9765 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9768 * sysdeps/unix/sysv/linux/kernel-features.h
9769 [__sparc__ && !__arch64__ && !__sparc_v9__]
9770 (__ASSUME_SET_ROBUST_LIST): Do not define.
9771 [__sparc__ && !__arch64__ && !__sparc_v9__]
9772 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9773 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9776 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9777 (__ASSUME_REQUEUE_PI): Likewise.
9778 (__ASSUME_SET_ROBUST_LIST): Likewise.
9779 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9780 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9783 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9785 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9790 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9792 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9793 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9798 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9799 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9801 2014-03-31 Will Newton <will.newton@linaro.org>
9803 * benchtests/Makefile (bench): Add ffs and ffsll to list
9805 * benchtests/ffs-inputs: New file.
9806 * benchtests/ffsll-inputs: Likewise.
9808 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9811 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9812 too large before casting to int.
9813 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9814 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9815 * math/libm-test.inc (scalb_test_data): Add more tests.
9817 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9819 * benchtests/Makefile (DETAILED_OPT): New make option.
9820 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9822 * benchtests/bench-skeleton.c: Include stdbool.h.
9823 (main): Store and print timings per input.
9824 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9825 member to each argument value.
9826 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9827 (_print_arg_data): Initialize per-input timing to 0.
9829 * benchtests/Makefile (timing-type): New binary.
9830 (bench-clean): Also remove bench-timing-type.
9831 (bench): New target for timing-type.
9832 (bench-func): Print output in JSON format.
9833 * benchtests/bench-skeleton.c (main): Print output in JSON
9835 * benchtests/bench-timing-type.c: New file.
9836 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9837 (TIMING_PRINT_STATS): Remove.
9838 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9841 * benchtests/bench-modf.c: Remove.
9842 * benchtests/modf-inputs: New inputs file.
9844 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9847 * math/s_clog10.c (M_PI_LOG10E): New macro.
9848 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9849 imaginary parts are 0.
9850 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9851 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9852 imaginary parts are 0.
9853 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9854 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9855 imaginary parts are 0.
9856 * math/libm-test.inc (clog10_test_data): Update expected results
9857 for when real and imaginary parts are 0.
9859 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9861 * elf/dl-load.c: Finish conversion of __builtin_expect into
9864 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9868 1+x for argument with exponent below -67.
9869 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9871 * math/auto-libm-test-in: Add more tests of exp.
9872 * math/auto-libm-test-out: Regenerated.
9874 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9877 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9878 (nscd_getnetgrent): Use it.
9881 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9884 2014-03-27 Andi Kleen <ak@linux.intel.com>
9886 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9887 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9888 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9889 (lll_robust_unlock): Remove out of line section. Use cfi
9891 (LLL_STUB_UNWIND_INFO*): Remove.
9892 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9893 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9894 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9895 (lll_robust_unlock): Remove out of line section. Use cfi
9897 (LLL_STUB_UNWIND_INFO*): Remove.
9899 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9902 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9905 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9907 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9909 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9912 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9914 * math/test-fenv-preserve.c: New file.
9915 * math/Makefile (tests): Add test-fenv-preserve.
9917 2014-03-26 Will Newton <will.newton@linaro.org>
9919 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9921 2014-03-25 Roland McGrath <roland@hack.frob.com>
9923 * scripts/versionlist.awk: Partition the version sets and emit all
9924 GLIBC_* (sorted) before all others (sorted).
9926 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9928 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9929 GLIBC_2.2.5 version.
9931 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9933 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9936 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9941 2014-03-25 Andreas Schwab <schwab@suse.de>
9943 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9944 label to be used after in6ailist is initialized.
9946 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9949 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9951 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9955 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9957 (fp_formats): Update initializers.
9958 (init_fp_formats): Initialize new field.
9959 (output_for_one_input_case): Allow underflow for results up to
9961 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9962 * math/auto-libm-test-in: Don't mark some underflows from asin and
9964 * math/auto-libm-test-out: Regenerated.
9965 * sysdeps/i386/fpu/libm-test-ulps: Update.
9966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968 2014-03-25 Andreas Schwab <schwab@suse.de>
9970 * libio/Makefile (tst-ftell-partial-wide-ENV)
9971 (tst-ftell-active-handler-ENV): Define.
9973 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9975 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9977 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9979 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9981 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9983 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9984 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9985 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9987 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9990 * elf/dl-load.c (open_verify): Add mode parameter.
9991 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9992 (open_path): Change from boolean 'secure' to complete flag 'mode'
9993 (_dl_map_object): Adjust.
9994 * elf/Makefile (tests): Add tst-dlopen-aout.
9995 * elf/tst-dlopen-aout.c: New test.
9997 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10000 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10001 (struct stat): Rename member pad0 to __glibc_reserved0.
10004 * sysdeps/s390/s390-32/bits/wordsize.h
10005 (__WORDSIZE32_SIZE_ULONG): New define.
10006 * sysdeps/s390/s390-64/bits/wordsize.h
10007 (__WORDSIZE32_SIZE_ULONG): Likewise.
10008 * sysdeps/generic/stdint.h (SIZE_MAX):
10009 Define as UL if __WORDSIZE32_SIZE_ULONG.
10012 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10013 (__glibc_reserved0): New variable.
10014 (sa_flags): Change type to int.
10016 * posix/Makefile (before-compile): Use += before-compile instead
10019 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10020 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10022 2014-03-20 Andreas Schwab <schwab@suse.de>
10025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10026 non-matching result from nscd.
10028 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10030 * scripts/bench.py: Moved to ...
10031 * benchtests/scripts/bench.py: ... here.
10032 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10034 2014-03-24 Andreas Schwab <schwab@suse.de>
10037 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10038 alloca_account and account alloca use for struct in6ailist.
10040 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10043 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10044 rounding mode to recompute results that overflow to infinity or
10046 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10048 * math/auto-libm-test-out: Regenerated.
10049 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10050 (ccosh_test): Likewise.
10051 (csin_test_data): Use plus_oflow.
10052 (csin_test): Use ALL_RM_TEST.
10053 (csinh_test_data): Use plus_oflow.
10054 (csinh_test): Use ALL_RM_TEST.
10055 * sysdeps/i386/fpu/libm-test-ulps: Update.
10056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10058 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10060 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10061 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10062 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10065 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10066 when x - 1 is zero.
10067 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10068 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10069 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10070 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10072 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10073 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10075 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10076 * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10079 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10081 * scripts/bench.pl: Remove file.
10082 * scripts/bench.py: New benchmark script.
10083 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10084 * benchtests/README: Mention python dependency.
10085 * scripts/pylintrc: New file.
10086 * scripts/pylint: New file.
10088 * bits/mathdef.h: Use #ifdef instead of #if.
10089 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10090 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10091 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10092 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10093 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10094 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10096 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10099 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10101 and strpbrk-ppc64 objects.
10102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10103 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10104 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10105 multiarch strpbrk for POWER7.
10106 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10107 multiarch strpbrk for PPC64.
10108 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10110 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10111 strpbrk for POWER7.
10113 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10115 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10116 (atan_test): Likewise.
10117 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10118 (atanh_test): Use ALL_RM_TEST.
10119 (atan2_test_data): Likewise.
10120 (cabs_test): Likewise.
10121 (cacosh_test): Likewise.
10122 (carg_test): Likewise.
10123 (casin_test): Likewise.
10124 (casinh_test): Likewise.
10125 (cbrt_test): Likewise.
10126 (csqrt_test): Likewise.
10127 (erf_test): Likewise.
10128 (erfc_test): Likewise.
10129 (pow10_test): Likewise.
10130 (exp2_test): Likewise.
10131 (hypot_test): Likewise.
10132 (j0_test): Likewise.
10133 (j1_test): Likewise.
10134 (lgamma_test): Likewise.
10135 (gamma_test): Likewise.
10136 (sincos_test): Likewise.
10137 (tanh_test): Likewise.
10138 (y0_test): Likewise.
10139 (y1_test): Likewise.
10140 * sysdeps/i386/fpu/libm-test-ulps: Update.
10141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10143 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10145 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10147 and strcspn-ppc64 objects.
10148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10149 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10150 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10151 multiarch strcspn for POWER7.
10152 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10153 multiarch strcspn for PPC64.
10154 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10156 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10157 strcspn for POWER7.
10159 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10161 * math/gen-libm-test.pl (generate_testfile): Expect only function
10162 name as argument to AUTO_TESTS_* and pass results for all rounding
10163 modes to parse_args.
10164 (parse_auto_input): Separate inputs of automatic tests from
10165 outputs before storing in %auto_tests.
10166 * math/libm-test.inc (acos_test_data): Update call to
10168 (acos_test): Use ALL_RM_TEST.
10169 (acos_tonearest_test_data): Remove.
10170 (acos_test_tonearest): Likewise.
10171 (acos_towardzero_test_data): Likewise.
10172 (acos_test_towardzero): Likewise.
10173 (acos_downward_test_data): Likewise.
10174 (acos_test_downward): Likewise.
10175 (acos_upward_test_data): Likewise.
10176 (acos_test_upward): Likewise.
10177 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10178 (asin_test_data): Likewise.
10179 (asin_test): Use ALL_RM_TEST.
10180 (asin_tonearest_test_data): Remove.
10181 (asin_test_tonearest): Likewise.
10182 (asin_towardzero_test_data): Likewise.
10183 (asin_test_towardzero): Likewise.
10184 (asin_downward_test_data): Likewise.
10185 (asin_test_downward): Likewise.
10186 (asin_upward_test_data): Likewise.
10187 (asin_test_upward): Likewise.
10188 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10189 (atan_test_data): Likewise.
10190 (atanh_test_data): Likewise.
10191 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10192 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10193 (carg_test_data): Likewise.
10194 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10195 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10196 (ccosh_test_data): Likewise.
10197 (cexp_test_data): Likewise.
10198 (clog_test_data): Likewise.
10199 (clog10_test_data): Likewise.
10200 (cos_test_data): Update call to AUTO_TESTS_f_f.
10201 (cos_test): Use ALL_RM_TEST.
10202 (cos_tonearest_test_data): Remove.
10203 (cos_test_tonearest): Likewise.
10204 (cos_towardzero_test_data): Likewise.
10205 (cos_test_towardzero): Likewise.
10206 (cos_downward_test_data): Likewise.
10207 (cos_test_downward): Likewise.
10208 (cos_upward_test_data): Likewise.
10209 (cos_test_upward): Likewise.
10210 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10211 (cosh_test): Use ALL_RM_TEST.
10212 (cosh_tonearest_test_data): Remove.
10213 (cosh_test_tonearest): Likewise.
10214 (cosh_towardzero_test_data): Likewise.
10215 (cosh_test_towardzero): Likewise.
10216 (cosh_downward_test_data): Likewise.
10217 (cosh_test_downward): Likewise.
10218 (cosh_upward_test_data): Likewise.
10219 (cosh_test_upward): Likewise.
10220 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10221 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10222 (ctan_test_data): Likewise.
10223 (ctan_test): Use ALL_RM_TEST.
10224 (ctan_tonearest_test_data): Remove.
10225 (ctan_test_tonearest): Likewise.
10226 (ctan_towardzero_test_data): Likewise.
10227 (ctan_test_towardzero): Likewise.
10228 (ctan_downward_test_data): Likewise.
10229 (ctan_test_downward): Likewise.
10230 (ctan_upward_test_data): Likewise.
10231 (ctan_test_upward): Likewise.
10232 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10233 (ctanh_test): Use ALL_RM_TEST.
10234 (ctanh_tonearest_test_data): Remove.
10235 (ctanh_test_tonearest): Likewise.
10236 (ctanh_towardzero_test_data): Likewise.
10237 (ctanh_test_towardzero): Likewise.
10238 (ctanh_downward_test_data): Likewise.
10239 (ctanh_test_downward): Likewise.
10240 (ctanh_upward_test_data): Likewise.
10241 (ctanh_test_upward): Likewise.
10242 (erf_test_data): Update call to AUTO_TESTS_f_f.
10243 (erfc_test_data): Likewise.
10244 (exp_test_data): Likewise.
10245 (exp_test): Use ALL_RM_TEST.
10246 (exp_tonearest_test_data): Remove.
10247 (exp_test_tonearest): Likewise.
10248 (exp_towardzero_test_data): Likewise.
10249 (exp_test_towardzero): Likewise.
10250 (exp_downward_test_data): Likewise.
10251 (exp_test_downward): Likewise.
10252 (exp_upward_test_data): Likewise.
10253 (exp_test_upward): Likewise.
10254 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10255 (exp10_test): Use ALL_RM_TEST.
10256 (exp10_tonearest_test_data): Remove.
10257 (exp10_test_tonearest): Likewise.
10258 (exp10_towardzero_test_data): Likewise.
10259 (exp10_test_towardzero): Likewise.
10260 (exp10_downward_test_data): Likewise.
10261 (exp10_test_downward): Likewise.
10262 (exp10_upward_test_data): Likewise.
10263 (exp10_test_upward): Likewise.
10264 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10265 (expm1_test_data): Likewise.
10266 (expm1_test): Use ALL_RM_TEST.
10267 (expm1_tonearest_test_data): Remove.
10268 (expm1_test_tonearest): Likewise.
10269 (expm1_towardzero_test_data): Likewise.
10270 (expm1_test_towardzero): Likewise.
10271 (expm1_downward_test_data): Likewise.
10272 (expm1_test_downward): Likewise.
10273 (expm1_upward_test_data): Likewise.
10274 (expm1_test_upward): Likewise.
10275 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10276 (fma_test): Use ALL_RM_TEST.
10277 (fma_towardzero_test_data): Remove.
10278 (fma_test_towardzero): Likewise.
10279 (fma_downward_test_data): Likewise.
10280 (fma_test_downward): Likewise.
10281 (fma_upward_test_data): Likewise.
10282 (fma_test_upward): Likewise.
10283 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10284 (j0_test_data): Update call to AUTO_TESTS_f_f.
10285 (j1_test_data): Likewise.
10286 (jn_test_data): Update call to AUTO_TESTS_if_f.
10287 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10288 (log_test_data): Update call to AUTO_TESTS_f_f.
10289 (log10_test_data): Likewise.
10290 (log1p_test_data): Likewise.
10291 (log2_test_data): Likewise.
10292 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10293 (pow_tonearest_test_data): Likewise.
10294 (sin_test_data): Update call to AUTO_TESTS_f_f.
10295 (sin_test): Use ALL_RM_TEST.
10296 (sin_tonearest_test_data): Remove.
10297 (sin_test_tonearest): Likewise.
10298 (sin_towardzero_test_data): Likewise.
10299 (sin_test_towardzero): Likewise.
10300 (sin_downward_test_data): Likewise.
10301 (sin_test_downward): Likewise.
10302 (sin_upward_test_data): Likewise.
10303 (sin_test_upward): Likewise.
10304 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10305 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10306 (sinh_test): Use ALL_RM_TEST.
10307 (sinh_tonearest_test_data): Remove.
10308 (sinh_test_tonearest): Likewise.
10309 (sinh_towardzero_test_data): Likewise.
10310 (sinh_test_towardzero): Likewise.
10311 (sinh_downward_test_data): Likewise.
10312 (sinh_test_downward): Likewise.
10313 (sinh_upward_test_data): Likewise.
10314 (sinh_test_upward): Likewise.
10315 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10316 (sqrt_test): Use ALL_RM_TEST.
10317 (sqrt_tonearest_test_data): Remove.
10318 (sqrt_test_tonearest): Likewise.
10319 (sqrt_towardzero_test_data): Likewise.
10320 (sqrt_test_towardzero): Likewise.
10321 (sqrt_downward_test_data): Likewise.
10322 (sqrt_test_downward): Likewise.
10323 (sqrt_upward_test_data): Likewise.
10324 (sqrt_test_upward): Likewise.
10325 (tan_test_data): Update call to AUTO_TESTS_f_f.
10326 (tan_test): Use ALL_RM_TEST.
10327 (tan_tonearest_test_data): Remove.
10328 (tan_test_tonearest): Likewise.
10329 (tan_towardzero_test_data): Likewise.
10330 (tan_test_towardzero): Likewise.
10331 (tan_downward_test_data): Likewise.
10332 (tan_test_downward): Likewise.
10333 (tan_upward_test_data): Likewise.
10334 (tan_test_upward): Likewise.
10335 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10336 (tgamma_test_data): Likewise.
10337 (y0_test_data): Likewise.
10338 (y1_test_data): Likewise.
10339 (yn_test_data): Update call to AUTO_TESTS_if_f.
10340 (main): Do not call removed functions.
10342 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10344 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10345 (ldexp_test_data): Remove.
10346 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10348 (scalb_test): Use ALL_RM_TEST.
10350 2014-03-19 Andreas Schwab <schwab@suse.de>
10352 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10354 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10358 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10361 (__ASSUME_PREADV): Undefine.
10362 (__ASSUME_PWRITEV): Likewise.
10364 2014-03-18 Roland McGrath <roland@hack.frob.com>
10366 * bits/mman-linux.h: Add comment about non-Linux use.
10367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10368 bits/mman-linux.h resting place.
10370 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10371 * bits/mman-linux.h: ... here.
10373 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375 * conform/conformtest.pl: Add standard definition when calling C
10376 preprocessor on data files.
10377 (checknamespace): Remove unused variable.
10379 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10381 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10382 minus_oflow, plus_uflow and minus_uflow in expected results.
10383 * math/libm-test.inc (scalbn_test_data): Add more tests of
10384 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10386 (scalbn_test): Use ALL_RM_TEST.
10387 (scalbln_test_data): Add more tests of negative arguments. Use
10388 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10389 (scalbln_test): Use ALL_RM_TEST.
10391 2014-03-18 Roland McGrath <roland@hack.frob.com>
10393 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10395 2014-03-18 Will Newton <will.newton@linaro.org>
10397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10398 inaccurate comment.
10400 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10402 * Makerules [!subdir] (check-abi): Exit with error status if a
10405 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10407 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10408 for rint. Include results for all rounding modes.
10409 (nearbyint_test): Use ALL_RM_TEST.
10410 (rint_test_data): Include all tests used for nearbyint.
10412 2014-03-17 Will Newton <will.newton@linaro.org>
10414 * nptl/sysdeps/pthread/pthread.h: Revert previous
10417 * sysdeps/generic/ldsodefs.h: Revert previous
10420 * libio/genops.c: Revert previous change.
10421 * libio/libioP.h: Likewise.
10422 * stdio-common/vfprintf.c: Likewise.
10424 * sysdeps/generic/math_private.h: Revert previous
10427 * sysdeps/generic/math_private.h: Check whether
10428 HAVE_RM_CTX is defined with #ifdef rather
10431 * argp/argp-fmtstream.h: Check whether
10432 __STRICT_ANSI__ is defined with #ifdef rather
10434 * argp/argp.h: Likewise.
10436 * libio/genops.c: Check whether
10437 _IO_JUMPS_OFFSET is defined with #ifdef rather
10439 * libio/libioP.h: Likewise.
10440 * stdio-common/vfprintf.c: Likewise.
10442 * sysdeps/generic/ldsodefs.h: Check whether
10443 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10446 * nptl/sysdeps/pthread/pthread.h: Check
10447 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10450 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10454 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10458 * libio/fileops.c (_IO_file_open): Seek to end of file but
10459 don't cache the offset.
10460 (get_file_offset): Remove function.
10461 (do_ftell): Use cached offset when available.
10462 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10463 don't cache the offset.
10464 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10466 (do_one_test): Call it.
10467 (do_ftell_test): Fix up expected old offset for a+ mode.
10468 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10471 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10472 up test status with function return status.
10473 (do_write_test): Likewise.
10474 (do_append_test): Likewise.
10476 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10477 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10480 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10482 * math/gen-libm-test.pl (parse_args): Handle results specified for
10483 each rounding mode separately.
10484 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10485 tests and results from lrint_tonearest_test_data,
10486 lrint_towardzero_test_data, lrint_downward_test_data and
10487 lrint_upward_test_data.
10488 (lrint_test): Use ALL_RM_TEST.
10489 (lrint_tonearest_test_data): Remove.
10490 (lrint_test_tonearest): Likewise.
10491 (lrint_towardzero_test_data): Likewise.
10492 (lrint_test_towardzero): Likewise.
10493 (lrint_downward_test_data): Likewise.
10494 (lrint_test_downward): Likewise.
10495 (lrint_upward_test_data): Likewise.
10496 (lrint_test_upward): Likewise.
10497 (llrint_test_data): Merge in per-rounding-mode tests and results
10498 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10499 llrint_downward_test_data and llrint_upward_test_data.
10500 (llrint_test): Use ALL_RM_TEST.
10501 (llrint_tonearest_test_data): Remove.
10502 (llrint_test_tonearest): Likewise.
10503 (llrint_towardzero_test_data): Likewise.
10504 (llrint_test_towardzero): Likewise.
10505 (llrint_downward_test_data): Likewise.
10506 (llrint_test_downward): Likewise.
10507 (llrint_upward_test_data): Likewise.
10508 (llrint_test_upward): Likewise.
10509 (rint_test_data): Merge in per-rounding-mode tests and results
10510 from rint_tonearest_test_data, rint_towardzero_test_data,
10511 rint_downward_test_data and rint_upward_test_data. Add
10512 per-rounding-mode results for tests not in those arrays.
10513 (rint_test): Use ALL_RM_TEST.
10514 (rint_tonearest_test_data): Remove.
10515 (rint_test_tonearest): Likewise.
10516 (rint_towardzero_test_data): Likewise.
10517 (rint_test_towardzero): Likewise.
10518 (rint_downward_test_data): Likewise.
10519 (rint_test_downward): Likewise.
10520 (rint_upward_test_data): Likewise.
10521 (rint_test_upward): Likewise.
10522 (main): Don't call removed functions.
10524 2014-03-14 Roland McGrath <roland@hack.frob.com>
10526 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10527 "Compiled on ..." crapola. It is anti-useful.
10529 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10531 * scripts/evaluate-test.sh: Handle fourth argument to determine
10532 whether test run should stop on failure.
10533 * Makeconfig (stop-on-test-failure): New variable.
10534 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10535 $(stop-on-test-failure).
10536 * Makefile (tests): Give a summary of results from testing and
10537 exit with failure status if they include an ERROR or FAIL.
10538 (xtests): Likewise.
10539 * manual/install.texi (Configuring and compiling): Mention
10540 stop-on-test-failure=y.
10541 * INSTALL: Regenerated.
10543 2014-03-14 Roland McGrath <roland@hack.frob.com>
10545 * scripts/versionlist.awk: New file.
10546 * Makerules [$(build-shared) = yes]
10547 (postclean-generated): Add Versions.def, not Versions.def.v and
10549 ($(common-objpfx)Versions.def.v.i): Target removed.
10550 ($(common-objpfx)Versions.def): New target.
10551 ($(common-objpfx)Versions.all): Depend on that rather that
10552 $(common-objpfx)Versions.def.v.
10553 * Versions.def: File removed.
10555 * Makeconfig (+gccwarn): Add -Wundef.
10556 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10557 a dl-sysdep.h breaking its contract.
10558 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10559 * include/stackinfo.h: New file.
10560 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10561 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10562 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10563 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10564 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10565 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10566 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10567 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10568 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10569 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10570 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10571 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10572 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10573 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10574 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10576 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10579 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10581 * math/libm-test.inc (round_test_data): Add more tests.
10584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10586 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10589 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10591 * math/libm-test.inc (ceil_test_data): Add more tests.
10593 * math/libm-test.inc (trunc_test_data): Add more tests related to
10596 2014-03-14 Roland McGrath <roland@hack.frob.com>
10598 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10599 with #if rather than #ifdef.
10600 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10602 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10604 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10605 first. Disable AVX-512 GCC support if assembler doesn't support
10607 * sysdeps/x86_64/configure: Regenerated.
10609 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10611 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10612 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10613 (__old_pthread_attr_setstack): Likewise.
10614 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10615 [!_STACK_GROWS_DOWN]: Likewise.
10617 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10619 * config.make.in (have-bash2): Delete.
10620 * configure.ac (libc_cv_have_bash2): Delete.
10621 * configure: Regenerate.
10622 * elf/Makefile (common-ldd-rewrite): Rename to ...
10623 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10624 (sh-ldd-rewrite): Delete.
10625 (bash-ldd-rewrite): Delete.
10626 (have-bash2): Delete checks.
10627 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10630 * config.make.in (have-ksh): Delete.
10632 * configure.ac (libc_cv_have_ksh): Delete.
10633 * configure: Regenerate.
10635 * elf/Makefile: Delete $(have-ksh) check.
10636 ($(objpfx)sotruss): Change KSH to BASH.
10637 * elf/sotruss.ksh: Rename to ...
10638 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10639 function style to match POSIX. Drop ksh vim mode setting.
10641 * manual/time.texi (Specifying the Time Zone with TZ): Change
10642 Tuesday to Thursday.
10644 * debug/tst-longjmp_chk2.c: Update header comment.
10645 (stackoverflow_handler): Add comment. Call assert on pass value.
10647 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10650 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10651 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10652 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10653 (La_x86_64_vector): Add zmm.
10654 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10655 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10656 ($(objpfx)tst-audit10): New target.
10657 ($(objpfx)tst-audit10.out): Likewise.
10658 (tst-audit10-ENV): New.
10659 (AVX512-CFLAGS): Likewise.
10660 (CFLAGS-tst-audit10.c): Likewise.
10661 (CFLAGS-tst-auditmod10a.c): Likewise.
10662 (CFLAGS-tst-auditmod10b.c): Likewise.
10663 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10664 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10665 * sysdeps/x86_64/configure: Regenerated.
10666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10667 AVX-512 zmm register support.
10668 (_dl_x86_64_save_sse): Likewise.
10669 (_dl_x86_64_restore_sse): Likewise.
10670 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10671 size vector registers.
10672 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10673 (ZMM_SIZE): Likewise.
10674 * sysdeps/x86_64/tst-audit10.c: New file.
10675 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10676 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10678 2014-03-13 Roland McGrath <roland@hack.frob.com>
10680 * configure.ac (HAVE_EHDR_START): New check.
10681 * configure: Regenerated.
10682 * config.h.in (HAVE_EHDR_START): New #undef.
10683 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10684 assuming the lowest-addressed segment maps the start of the file.
10686 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10688 * INSTALL: Regenerated.
10690 2014-03-13 Will Newton <will.newton@linaro.org>
10692 * manual/setjmp.texi (System V contexts): Improve
10693 clarity and grammar of documentation.
10695 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10698 * elf/Makefile (tests): Add tst-pie2.
10699 (tests-pie): Add tst-pie2.
10700 * elf/tst-pie2.c: New file.
10701 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10703 * elf/rtld.c (map_doit): Load executable as lt_executable.
10704 (dl_main): Likewise.
10706 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10710 (__ASSUME_PSELECT): Undefine.
10712 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10715 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10716 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10718 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10719 selector for static builds.
10721 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10724 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10727 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10729 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10730 IFUNC selector for static builds.
10732 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10734 * sysdeps/mips/math_private.h [__mips_hard_float]
10735 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10736 libc_feresetround_mips_ctx.
10737 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10738 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10739 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10742 * math/s_nextafter.c (__nextafter): Do not return value from
10743 overflowing computation.
10744 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10745 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10750 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10751 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10753 2014-03-11 Roland McGrath <roland@hack.frob.com>
10755 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10756 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10757 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10758 the new mov targetting sp.
10760 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10763 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10764 Define it for static builds as well.
10765 (NO_BZERO_IMPL): Likewise.
10767 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10769 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10770 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10771 multiarch strspn for PPC64.
10772 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10773 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10775 (__libc_ifunc_impl_list): Likewise.
10776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10777 multiarch optimizations
10778 * string/strspn.c (strspn): Using macro to redefine symbol name.
10780 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10781 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10783 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10784 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10785 multiarch strncat for PPC64.
10786 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10787 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10789 (__libc_ifunc_impl_list): Likewise.
10790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10791 multiarch optimizations
10793 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10796 * nscd/nscd.service: Make service type forking.
10798 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10801 sign in non default rounding modes.
10802 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10804 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10806 * math/libm-test.inc (ALL_RM_TEST): New macro.
10807 (ceil_test): Use ALL_RM_TEST.
10808 (cimag_test): Likewise.
10809 (conj_test): Likewise.
10810 (copysign_test): Likewise.
10811 (cproj_test): Likewise.
10812 (creal_test): Likewise.
10813 (fabs_test): Likewise.
10814 (floor_test): Likewise.
10815 (fmax_test): Likewise.
10816 (fmin_test): Likewise.
10817 (fmod_test): Likewise.
10818 (fpclassify_test): Likewise.
10819 (frexp_test): Likewise.
10820 (ilogb_test): Likewise.
10821 (isfinite_test): Likewise.
10822 (finite_test): Likewise.
10823 (isgreater_test): Likewise.
10824 (isgreaterequal_test): Likewise.
10825 (isinf_test): Likewise.
10826 (isless_test): Likewise.
10827 (islessequal_test): Likewise.
10828 (islessgreater_test): Likewise.
10829 (isnan_test): Likewise.
10830 (isnormal_test): Likewise.
10831 (issignaling_test): Likewise.
10832 (isunordered_test): Likewise.
10833 (logb_test): Likewise.
10834 (logb_downward_test_data): Remove.
10835 (logb_test_downward): Likewise.
10836 (lround_test): Use ALL_RM_TEST.
10837 (llround_test): Likewise.
10838 (modf_test): Likewise.
10839 (nexttoward_test): Likewise.
10840 (remainder_test): Likewise.
10841 (drem_test): Likewise.
10842 (remainder_tonearest_test_data): Likewise.
10843 (remainder_test_tonearest): Likewise.
10844 (drem_test_tonearest): Likewise.
10845 (remainder_towardzero_test_data): Likewise.
10846 (remainder_test_towardzero): Likewise.
10847 (drem_test_towardzero): Likewise.
10848 (remainder_downward_test_data): Likewise.
10849 (remainder_test_downward): Likewise.
10850 (drem_test_downward): Likewise.
10851 (remainder_upward_test_data): Likewise.
10852 (remainder_test_upward): Likewise.
10853 (drem_test_upward): Likewise.
10854 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10855 (round_test): Use ALL_RM_TEST.
10856 (signbit_test): Likewise.
10857 (trunc_test): Likewise.
10858 (significand_test): Likewise.
10859 (main): Don't call removed functions.
10861 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10864 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10865 || __USE_XOPEN2K8].
10866 (ILL_ILLOPN): Likewise.
10867 (ILL_ILLADR): Likewise.
10868 (ILL_ILLTRP): Likewise.
10869 (ILL_PRVOPC): Likewise.
10870 (ILL_PRVREG): Likewise.
10871 (ILL_COPROC): Likewise.
10872 (ILL_BADSTK): Likewise.
10873 (FPE_INTDIV): Likewise.
10874 (FPE_INTOVF): Likewise.
10875 (FPE_FLTDIV): Likewise.
10876 (FPE_FLTOVF): Likewise.
10877 (FPE_FLTUND): Likewise.
10878 (FPE_FLTRES): Likewise.
10879 (FPE_FLTINV): Likewise.
10880 (FPE_FLTSUB): Likewise.
10881 (SEGV_MAPERR): Likewise.
10882 (SEGV_ACCERR): Likewise.
10883 (BUS_ADRALN): Likewise.
10884 (BUS_ADRERR): Likewise.
10885 (BUS_OBJERR): Likewise.
10886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10887 (TRAP_TRACE): Likewise.
10888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10890 (CLD_KILLED): Likewise.
10891 (CLD_DUMPED): Likewise.
10892 (CLD_TRAPPED): Likewise.
10893 (CLD_STOPPED): Likewise.
10894 (CLD_CONTINUED): Likewise.
10895 (POLL_IN): Likewise.
10896 (POLL_OUT): Likewise.
10897 (POLL_MSG): Likewise.
10898 (POLL_ERR): Likewise.
10899 (POLL_PRI): Likewise.
10900 (POLL_HUP): Likewise.
10901 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10903 (ILL_ILLOPN): Likewise.
10904 (ILL_ILLADR): Likewise.
10905 (ILL_ILLTRP): Likewise.
10906 (ILL_PRVOPC): Likewise.
10907 (ILL_PRVREG): Likewise.
10908 (ILL_COPROC): Likewise.
10909 (ILL_BADSTK): Likewise.
10910 (FPE_INTDIV): Likewise.
10911 (FPE_INTOVF): Likewise.
10912 (FPE_FLTDIV): Likewise.
10913 (FPE_FLTOVF): Likewise.
10914 (FPE_FLTUND): Likewise.
10915 (FPE_FLTRES): Likewise.
10916 (FPE_FLTINV): Likewise.
10917 (FPE_FLTSUB): Likewise.
10918 (SEGV_MAPERR): Likewise.
10919 (SEGV_ACCERR): Likewise.
10920 (BUS_ADRALN): Likewise.
10921 (BUS_ADRERR): Likewise.
10922 (BUS_OBJERR): Likewise.
10923 (BUS_MCEERR_AR): Likewise.
10924 (BUS_MCEERR_AO): Likewise.
10925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10926 (TRAP_TRACE): Likewise.
10927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10929 (CLD_KILLED): Likewise.
10930 (CLD_DUMPED): Likewise.
10931 (CLD_TRAPPED): Likewise.
10932 (CLD_STOPPED): Likewise.
10933 (CLD_CONTINUED): Likewise.
10934 (POLL_IN): Likewise.
10935 (POLL_OUT): Likewise.
10936 (POLL_MSG): Likewise.
10937 (POLL_ERR): Likewise.
10938 (POLL_PRI): Likewise.
10939 (POLL_HUP): Likewise.
10940 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10941 (ILL_ILLOPN): Likewise.
10942 (ILL_ILLADR): Likewise.
10943 (ILL_ILLTRP): Likewise.
10944 (ILL_PRVOPC): Likewise.
10945 (ILL_PRVREG): Likewise.
10946 (ILL_COPROC): Likewise.
10947 (ILL_BADSTK): Likewise.
10948 (FPE_INTDIV): Likewise.
10949 (FPE_INTOVF): Likewise.
10950 (FPE_FLTDIV): Likewise.
10951 (FPE_FLTOVF): Likewise.
10952 (FPE_FLTUND): Likewise.
10953 (FPE_FLTRES): Likewise.
10954 (FPE_FLTINV): Likewise.
10955 (FPE_FLTSUB): Likewise.
10956 (SEGV_MAPERR): Likewise.
10957 (SEGV_ACCERR): Likewise.
10958 (BUS_ADRALN): Likewise.
10959 (BUS_ADRERR): Likewise.
10960 (BUS_OBJERR): Likewise.
10961 (BUS_MCEERR_AR): Likewise.
10962 (BUS_MCEERR_AO): Likewise.
10963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10964 (TRAP_TRACE): Likewise.
10965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10967 (CLD_KILLED): Likewise.
10968 (CLD_DUMPED): Likewise.
10969 (CLD_TRAPPED): Likewise.
10970 (CLD_STOPPED): Likewise.
10971 (CLD_CONTINUED): Likewise.
10972 (POLL_IN): Likewise.
10973 (POLL_OUT): Likewise.
10974 (POLL_MSG): Likewise.
10975 (POLL_ERR): Likewise.
10976 (POLL_PRI): Likewise.
10977 (POLL_HUP): Likewise.
10978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10980 (ILL_ILLOPN): Likewise.
10981 (ILL_ILLADR): Likewise.
10982 (ILL_ILLTRP): Likewise.
10983 (ILL_PRVOPC): Likewise.
10984 (ILL_PRVREG): Likewise.
10985 (ILL_COPROC): Likewise.
10986 (ILL_BADSTK): Likewise.
10987 (ILL_BADIADDR): Likewise.
10988 (ILL_BREAK): Likewise.
10989 (FPE_INTDIV): Likewise.
10990 (FPE_INTOVF): Likewise.
10991 (FPE_FLTDIV): Likewise.
10992 (FPE_FLTOVF): Likewise.
10993 (FPE_FLTUND): Likewise.
10994 (FPE_FLTRES): Likewise.
10995 (FPE_FLTINV): Likewise.
10996 (FPE_FLTSUB): Likewise.
10997 (FPE_DECOVF): Likewise.
10998 (FPE_DECDIV): Likewise.
10999 (FPE_DECERR): Likewise.
11000 (FPE_INVASC): Likewise.
11001 (FPE_INVDEC): Likewise.
11002 (SEGV_MAPERR): Likewise.
11003 (SEGV_ACCERR): Likewise.
11004 (SEGV_PSTKOVF): Likewise.
11005 (BUS_ADRALN): Likewise.
11006 (BUS_ADRERR): Likewise.
11007 (BUS_OBJERR): Likewise.
11008 (BUS_MCEERR_AR): Likewise.
11009 (BUS_MCEERR_AO): Likewise.
11010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11011 (TRAP_TRACE): Likewise.
11012 (TRAP_BRANCH): Likewise.
11013 (TRAP_HWBKPT): Likewise.
11014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11016 (CLD_KILLED): Likewise.
11017 (CLD_DUMPED): Likewise.
11018 (CLD_TRAPPED): Likewise.
11019 (CLD_STOPPED): Likewise.
11020 (CLD_CONTINUED): Likewise.
11021 (POLL_IN): Likewise.
11022 (POLL_OUT): Likewise.
11023 (POLL_MSG): Likewise.
11024 (POLL_ERR): Likewise.
11025 (POLL_PRI): Likewise.
11026 (POLL_HUP): Likewise.
11027 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11028 (ILL_ILLOPN): Likewise.
11029 (ILL_ILLADR): Likewise.
11030 (ILL_ILLTRP): Likewise.
11031 (ILL_PRVOPC): Likewise.
11032 (ILL_PRVREG): Likewise.
11033 (ILL_COPROC): Likewise.
11034 (ILL_BADSTK): Likewise.
11035 (FPE_INTDIV): Likewise.
11036 (FPE_INTOVF): Likewise.
11037 (FPE_FLTDIV): Likewise.
11038 (FPE_FLTOVF): Likewise.
11039 (FPE_FLTUND): Likewise.
11040 (FPE_FLTRES): Likewise.
11041 (FPE_FLTINV): Likewise.
11042 (FPE_FLTSUB): Likewise.
11043 (SEGV_MAPERR): Likewise.
11044 (SEGV_ACCERR): Likewise.
11045 (BUS_ADRALN): Likewise.
11046 (BUS_ADRERR): Likewise.
11047 (BUS_OBJERR): Likewise.
11048 (BUS_MCEERR_AR): Likewise.
11049 (BUS_MCEERR_AO): Likewise.
11050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11051 (TRAP_TRACE): Likewise.
11052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11054 (CLD_KILLED): Likewise.
11055 (CLD_DUMPED): Likewise.
11056 (CLD_TRAPPED): Likewise.
11057 (CLD_STOPPED): Likewise.
11058 (CLD_CONTINUED): Likewise.
11059 (POLL_IN): Likewise.
11060 (POLL_OUT): Likewise.
11061 (POLL_MSG): Likewise.
11062 (POLL_ERR): Likewise.
11063 (POLL_PRI): Likewise.
11064 (POLL_HUP): Likewise.
11065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11066 (ILL_ILLOPN): Likewise.
11067 (ILL_ILLADR): Likewise.
11068 (ILL_ILLTRP): Likewise.
11069 (ILL_PRVOPC): Likewise.
11070 (ILL_PRVREG): Likewise.
11071 (ILL_COPROC): Likewise.
11072 (ILL_BADSTK): Likewise.
11073 (FPE_INTDIV): Likewise.
11074 (FPE_INTOVF): Likewise.
11075 (FPE_FLTDIV): Likewise.
11076 (FPE_FLTOVF): Likewise.
11077 (FPE_FLTUND): Likewise.
11078 (FPE_FLTRES): Likewise.
11079 (FPE_FLTINV): Likewise.
11080 (FPE_FLTSUB): Likewise.
11081 (SEGV_MAPERR): Likewise.
11082 (SEGV_ACCERR): Likewise.
11083 (BUS_ADRALN): Likewise.
11084 (BUS_ADRERR): Likewise.
11085 (BUS_OBJERR): Likewise.
11086 (BUS_MCEERR_AR): Likewise.
11087 (BUS_MCEERR_AO): Likewise.
11088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11089 (TRAP_TRACE): Likewise.
11090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11092 (CLD_KILLED): Likewise.
11093 (CLD_DUMPED): Likewise.
11094 (CLD_TRAPPED): Likewise.
11095 (CLD_STOPPED): Likewise.
11096 (CLD_CONTINUED): Likewise.
11097 (POLL_IN): Likewise.
11098 (POLL_OUT): Likewise.
11099 (POLL_MSG): Likewise.
11100 (POLL_ERR): Likewise.
11101 (POLL_PRI): Likewise.
11102 (POLL_HUP): Likewise.
11103 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11104 (ILL_ILLOPN): Likewise.
11105 (ILL_ILLADR): Likewise.
11106 (ILL_ILLTRP): Likewise.
11107 (ILL_PRVOPC): Likewise.
11108 (ILL_PRVREG): Likewise.
11109 (ILL_COPROC): Likewise.
11110 (ILL_BADSTK): Likewise.
11111 (FPE_INTDIV): Likewise.
11112 (FPE_INTOVF): Likewise.
11113 (FPE_FLTDIV): Likewise.
11114 (FPE_FLTOVF): Likewise.
11115 (FPE_FLTUND): Likewise.
11116 (FPE_FLTRES): Likewise.
11117 (FPE_FLTINV): Likewise.
11118 (FPE_FLTSUB): Likewise.
11119 (SEGV_MAPERR): Likewise.
11120 (SEGV_ACCERR): Likewise.
11121 (BUS_ADRALN): Likewise.
11122 (BUS_ADRERR): Likewise.
11123 (BUS_OBJERR): Likewise.
11124 (BUS_MCEERR_AR): Likewise.
11125 (BUS_MCEERR_AO): Likewise.
11126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11127 (TRAP_TRACE): Likewise.
11128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11130 (CLD_KILLED): Likewise.
11131 (CLD_DUMPED): Likewise.
11132 (CLD_TRAPPED): Likewise.
11133 (CLD_STOPPED): Likewise.
11134 (CLD_CONTINUED): Likewise.
11135 (POLL_IN): Likewise.
11136 (POLL_OUT): Likewise.
11137 (POLL_MSG): Likewise.
11138 (POLL_ERR): Likewise.
11139 (POLL_PRI): Likewise.
11140 (POLL_HUP): Likewise.
11141 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11142 (ILL_ILLOPN): Likewise.
11143 (ILL_ILLADR): Likewise.
11144 (ILL_ILLTRP): Likewise.
11145 (ILL_PRVOPC): Likewise.
11146 (ILL_PRVREG): Likewise.
11147 (ILL_COPROC): Likewise.
11148 (ILL_BADSTK): Likewise.
11149 (ILL_DBLFLT): Likewise.
11150 (ILL_HARDWALL): Likewise.
11151 (FPE_INTDIV): Likewise.
11152 (FPE_INTOVF): Likewise.
11153 (FPE_FLTDIV): Likewise.
11154 (FPE_FLTOVF): Likewise.
11155 (FPE_FLTUND): Likewise.
11156 (FPE_FLTRES): Likewise.
11157 (FPE_FLTINV): Likewise.
11158 (FPE_FLTSUB): Likewise.
11159 (SEGV_MAPERR): Likewise.
11160 (SEGV_ACCERR): Likewise.
11161 (BUS_ADRALN): Likewise.
11162 (BUS_ADRERR): Likewise.
11163 (BUS_OBJERR): Likewise.
11164 (BUS_MCEERR_AR): Likewise.
11165 (BUS_MCEERR_AO): Likewise.
11166 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11167 (TRAP_TRACE): Likewise.
11168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11170 (CLD_KILLED): Likewise.
11171 (CLD_DUMPED): Likewise.
11172 (CLD_TRAPPED): Likewise.
11173 (CLD_STOPPED): Likewise.
11174 (CLD_CONTINUED): Likewise.
11175 (POLL_IN): Likewise.
11176 (POLL_OUT): Likewise.
11177 (POLL_MSG): Likewise.
11178 (POLL_ERR): Likewise.
11179 (POLL_PRI): Likewise.
11180 (POLL_HUP): Likewise.
11181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11182 (ILL_ILLOPN): Likewise.
11183 (ILL_ILLADR): Likewise.
11184 (ILL_ILLTRP): Likewise.
11185 (ILL_PRVOPC): Likewise.
11186 (ILL_PRVREG): Likewise.
11187 (ILL_COPROC): Likewise.
11188 (ILL_BADSTK): Likewise.
11189 (FPE_INTDIV): Likewise.
11190 (FPE_INTOVF): Likewise.
11191 (FPE_FLTDIV): Likewise.
11192 (FPE_FLTOVF): Likewise.
11193 (FPE_FLTUND): Likewise.
11194 (FPE_FLTRES): Likewise.
11195 (FPE_FLTINV): Likewise.
11196 (FPE_FLTSUB): Likewise.
11197 (SEGV_MAPERR): Likewise.
11198 (SEGV_ACCERR): Likewise.
11199 (BUS_ADRALN): Likewise.
11200 (BUS_ADRERR): Likewise.
11201 (BUS_OBJERR): Likewise.
11202 (BUS_MCEERR_AR): Likewise.
11203 (BUS_MCEERR_AO): Likewise.
11204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11205 (TRAP_TRACE): Likewise.
11206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11208 (CLD_KILLED): Likewise.
11209 (CLD_DUMPED): Likewise.
11210 (CLD_TRAPPED): Likewise.
11211 (CLD_STOPPED): Likewise.
11212 (CLD_CONTINUED): Likewise.
11213 (POLL_IN): Likewise.
11214 (POLL_OUT): Likewise.
11215 (POLL_MSG): Likewise.
11216 (POLL_ERR): Likewise.
11217 (POLL_PRI): Likewise.
11218 (POLL_HUP): Likewise.
11219 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11220 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11223 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11224 before #include of <time.h>.
11225 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11226 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11227 (test-xfail-UNIX98/sched.h/conform): Likewise.
11229 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11231 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11232 error absence of trapping exception support.
11233 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11235 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11237 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11238 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11239 * timezone/Makefile (testdata): Move definition above include of
11241 (test-zones): New variable.
11242 (tests-special): Add zone files.
11243 (build-testdata): Use $(evaluate-test).
11245 * elf/Makefile (tests-special): Rename tests to end with .out.
11246 ($(objpfx)noload-mem): Likewise.
11247 ($(objpfx)tst-leaks1-mem): Likewise.
11248 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11249 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11250 $(objpfx)test-iconvconfig.out.
11251 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11252 set -e inside subshell and redirect output to file.
11253 * iconvdata/Makefile (generated): Rename tests to end with .out.
11255 (tests-special): Rename tests to end with .out.
11256 ($(objpfx)mtrace-tst-loading): Likewise.
11257 * intl/Makefile (generated): Likewise.
11258 (tests-special): Likewise.
11259 ($(objpfx)mtrace-tst-gettext): Likewise.
11260 * misc/Makefile (generated): Likewise.
11261 (tests-special): Likewise.
11262 ($(objpfx)tst-error1-mem): Likewise.
11263 * nptl/Makefile (tests-special): Likewise.
11264 ($(objpfx)tst-stack3-mem): Likewise.
11265 (generated): Likewise.
11266 * posix/Makefile (generated): Likewise.
11267 (tests-special): Likewise.
11268 (xtests-special): Likewise.
11269 ($(objpfx)tst-fnmatch-mem): Likewise.
11270 ($(objpfx)bug-regex2-mem): Likewise.
11271 ($(objpfx)bug-regex14-mem): Likewise.
11272 ($(objpfx)bug-regex21-mem): Likewise.
11273 ($(objpfx)bug-regex31-mem): Likewise.
11274 ($(objpfx)tst-vfork3-mem): Likewise.
11275 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11276 ($(objpfx)tst-pcre-mem): Likewise.
11277 ($(objpfx)tst-boost-mem): Likewise.
11278 ($(objpfx)bug-ga2-mem): Likewise.
11279 ($(objpfx)bug-glob2-mem): Likewise.
11280 * resolv/Makefile (generate): Likewise.
11281 (tests-special): Likewise.
11282 (xtests-special): Likewise.
11283 (generated): Likewise.
11284 ($(objpfx)mtrace-tst-leaks): Likewise.
11285 ($(objpfx)mtrace-tst-leaks2): Likewise.
11287 * scripts/merge-test-results.sh: New file.
11288 * Makefile (tests-special-notdir): New variable.
11289 (tests): Run merge-test-results.sh.
11290 (xtests): Likewise.
11291 * Rules (tests-special-notdir): New variable.
11292 (xtests-special-notdir): Likewise.
11293 (tests): Run merge-test-results.sh
11294 (xtests): Likewise.
11296 * Makeconfig (test-xfail-name): New variable.
11297 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11298 compute variable name for expected failures.
11299 * conform/Makefile (conformtest-headers-data): New variable.
11300 (conformtest-standards): Likewise.
11301 (conformtest-headers-ISO): Likewise.
11302 (conformtest-headers-ISO99): Likewise.
11303 (conformtest-headers-ISO11): Likewise.
11304 (conformtest-headers-POSIX): Likewise.
11305 (conformtest-headers-XPG3): Likewise.
11306 (conformtest-headers-XPG4): Likewise.
11307 (conformtest-headers-UNIX98): Likewise.
11308 (conformtest-headers-XOPEN2K): Likewise.
11309 (conformtest-headers-POSIX2008): Likewise.
11310 (conformtest-headers-XOPEN2K8): Likewise.
11311 (conformtest-header-list-base): Likewise.
11312 (conformtest-header-list-tests): Likewise.
11313 (conformtest-header-base): Likewise.
11314 (conformtest-header-tests): Likewise.
11315 (tests-special): Add $(conformtest-header-list-tests). If
11316 [$(fast-check) && !$(cross-compiling)], add
11317 $(conformtest-header-tests) instead of
11318 $(objpfx)run-conformtest.out.
11319 (generated): Add $(conformtest-header-list-base). If
11320 [$(fast-check) && !$(cross-compiling)], add
11321 $(conformtest-header-base). Remove previous setting.
11322 ($(conformtest-header-list-tests)): New target.
11323 (test-xfail-run-conformtest): Remove variable.
11324 ($(objpfx)run-conformtest.out): Remove target.
11325 (test-xfail-ISO11/complex.h/conform): New variable.
11326 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11327 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11328 (test-xfail-XPG3/varargs.h/conform): Likewise.
11329 (test-xfail-XPG4/varargs.h/conform): Likewise.
11330 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11331 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11332 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11333 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11334 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11335 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11336 (test-xfail-XPG3/ftw.h/conform): Likewise.
11337 (test-xfail-XPG3/grp.h/conform): Likewise.
11338 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11339 (test-xfail-XPG3/limits.h/conform): Likewise.
11340 (test-xfail-XPG3/pwd.h/conform): Likewise.
11341 (test-xfail-XPG3/search.h/conform): Likewise.
11342 (test-xfail-XPG3/signal.h/conform): Likewise.
11343 (test-xfail-XPG3/stdio.h/conform): Likewise.
11344 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11345 (test-xfail-XPG3/string.h/conform): Likewise.
11346 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11347 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11348 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11349 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11350 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11351 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11352 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11353 (test-xfail-XPG3/termios.h/conform): Likewise.
11354 (test-xfail-XPG3/time.h/conform): Likewise.
11355 (test-xfail-XPG3/unistd.h/conform): Likewise.
11356 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11357 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11358 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11359 (test-xfail-XPG4/netdb.h/conform): Likewise.
11360 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11361 (test-xfail-XPG4/signal.h/conform): Likewise.
11362 (test-xfail-XPG4/stdio.h/conform): Likewise.
11363 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11364 (test-xfail-XPG4/stropts.h/conform): Likewise.
11365 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11366 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11367 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11368 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11369 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11370 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11371 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11372 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11373 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11374 (test-xfail-XPG4/termios.h/conform): Likewise.
11375 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11376 (test-xfail-XPG4/unistd.h/conform): Likewise.
11377 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11378 (test-xfail-POSIX/sched.h/conform): Likewise.
11379 (test-xfail-POSIX/signal.h/conform): Likewise.
11380 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11381 (test-xfail-POSIX/tar.h/conform): Likewise.
11382 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11383 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11384 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11385 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11386 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11387 (test-xfail-UNIX98/sched.h/conform): Likewise.
11388 (test-xfail-UNIX98/signal.h/conform): Likewise.
11389 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11390 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11391 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11392 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11393 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11394 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11395 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11396 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11397 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11398 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11399 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11400 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11401 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11402 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11403 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11404 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11405 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11406 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11407 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11408 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11409 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11410 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11411 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11412 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11413 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11414 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11415 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11416 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11417 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11418 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11419 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11420 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11421 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11422 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11423 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11424 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11425 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11426 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11427 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11428 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11429 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11430 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11431 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11432 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11433 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11434 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11435 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11436 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11437 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11438 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11439 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11440 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11441 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11442 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11443 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11444 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11445 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11446 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11447 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11448 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11449 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11450 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11451 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11452 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11453 (conformtest-cc-flags): Likewise.
11454 ($(conformtest-header-tests): New target.
11455 * conform/check-header-lists.sh: New file.
11456 * conform/run-conformtest.sh: Remove.
11458 * conform/conformtest.pl: Allow ' and \ in values given for
11460 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11462 [POSIX] (sys/types.h): Likewise.
11463 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11465 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11467 * conform/data/signal.h-data (SIGIO): Remove expectation.
11468 [XPG3] (SIGBUS): Do not expect.
11469 [POSIX || XPG3] (SIGPOLL): Likewise.
11470 [POSIX || XPG3] (SIGPROF): Likewise.
11471 [POSIX || XPG3] (SIGSYS): Likewise.
11472 [XPG3] (SIGTRAP): Likewise.
11473 [POSIX || XPG3] (SIGURG): Likewise.
11474 [POSIX || XPG3] (SIGVTALRM): Likewise.
11475 [POSIX || XPG3] (SIGXCPU): Likewise.
11476 [POSIX || XPG3] (SIGXFSZ): Likewise.
11477 [POSIX] (SA_SIGINFO): Expect.
11478 [XPG3] (siginfo_t): Do not expect type or contents.
11479 [POSIX] (si_pid): Do not expect element.
11480 [POSIX] (si_uid): Likewise.
11481 [POSIX] (si_addr): Likewise.
11482 [POSIX] (si_status): Likewise.
11483 [POSIX] (si_band): Likewise.
11484 [XPG4] (si_value): Likewise.
11485 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11486 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11487 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11488 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11489 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11490 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11491 [POSIX || XPG3] (ILL_COPROC): Likewise.
11492 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11493 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11494 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11495 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11496 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11497 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11498 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11499 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11500 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11501 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11502 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11503 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11504 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11505 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11506 [POSIX || XPG3] (CLD_EXITED): Likewise.
11507 [POSIX || XPG3] (CLD_KILLED): Likewise.
11508 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11509 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11510 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11511 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11512 [POSIX || XPG3] (POLL_IN): Likewise.
11513 [POSIX || XPG3] (POLL_OUT): Likewise.
11514 [POSIX || XPG3] (POLL_MSG): Likewise.
11515 [POSIX || XPG3] (POLL_ERR): Likewise.
11516 [POSIX || XPG3] (POLL_PRI): Likewise.
11517 [POSIX || XPG3] (POLL_HUP): Likewise.
11518 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11519 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11520 (SIG*): Do not allow.
11521 [XPG3] (si_*): Likewise.
11522 [XPG3] (SI_*): Likewise.
11523 [XPG3 || XPG4] (sigev_*): Likewise.
11524 [XPG3 || XPG4] (SIGEV_*): Likewise.
11525 [XPG3 || XPG4] (sival_*): Likewise.
11526 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11527 [POSIX || XPG3] (BUS_*): Likewise.
11528 [POSIX || XPG3] (CLD_*): Likewise.
11529 [POSIX || XPG3] (FPE_*): Likewise.
11530 [POSIX || XPG3] (ILL_*): Likewise.
11531 [POSIX || XPG3] (POLL_*): Likewise.
11532 [POSIX || XPG3] (SEGV_*): Likewise.
11533 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11534 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11535 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11536 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11537 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11538 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11539 Specify type and value.
11540 (TVERSLEN): Likewise.
11541 (REGTYPE): Likewise.
11542 (AREGTYPE): Likewise.
11543 (LNKTYPE): Likewise.
11544 (SYMTYPE): Likewise.
11545 (CHRTYPE): Likewise.
11546 (BLKTYPE): Likewise.
11547 (DIRTYPE): Likewise.
11548 (FIFOTYPE): Likewise.
11549 (CONTTYPE): Likewise.
11553 (TUREAD): Likewise.
11554 (TUWRITE): Likewise.
11555 (TUEXEC): Likewise.
11556 (TGREAD): Likewise.
11557 (TGWRITE): Likewise.
11558 (TGEXEC): Likewise.
11559 (TOREAD): Likewise.
11560 (TOWRITE): Likewise.
11561 (TOEXEC): Likewise.
11562 [POSIX] (TSVTX): Expect constant.
11564 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11566 * Makefile (tests): Change dependencies to ....
11567 (tests-special): ... additions to this variable.
11568 (tests): Depend on $(tests-special).
11569 * Makerules (check-abi-list): New variable.
11570 (check-abi): Depend on $(check-abi-list).
11571 [$(subdir) = elf] (tests-special): Add
11572 $(objpfx)check-abi-libc.out.
11573 [$(build-shared) = yes && subdir] (tests-special): Add
11575 [$(build-shared) = yes && subdir] (tests): Do not depend on
11577 * Rules (tests): Depend on $(tests-special).
11578 (xtests): Depend on $(xtests-special).
11579 * catgets/Makefile (tests): Change dependencies to ....
11580 (tests-special): ... additions to this variable.
11581 * conform/Makefile (tests): Change dependencies to ....
11582 (tests-special): ... additions to this variable.
11583 * elf/Makefile (tests): Change dependencies to ....
11584 (tests-special): ... additions to this variable.
11585 * grp/Makefile (tests): Change dependencies to ....
11586 (tests-special): ... additions to this variable.
11587 * iconv/Makefile (xtests): Change dependencies to ....
11588 (xtests-special): ... additions to this variable.
11589 * iconvdata/Makefile (tests): Change dependencies to ....
11590 (tests-special): ... additions to this variable.
11591 * intl/Makefile (tests): Change dependencies to ....
11592 (tests-special): ... additions to this variable. Also add
11593 $(objpfx)tst-gettext.out.
11594 * io/Makefile (tests): Change dependencies to ....
11595 (tests-special): ... additions to this variable.
11596 * libio/Makefile (tests): Change dependencies to ....
11597 (tests-special): ... additions to this variable.
11598 * malloc/Makefile (tests): Change dependencies to ....
11599 (tests-special): ... additions to this variable.
11600 * misc/Makefile (tests): Change dependencies to ....
11601 (tests-special): ... additions to this variable.
11602 * nptl/Makefile (tests): Change dependencies to ....
11603 (tests-special): ... additions to this variable.
11604 * nptl_db/Makefile (tests): Change dependencies to ....
11605 (tests-special): ... additions to this variable.
11606 * posix/Makefile (tests): Change dependencies to ....
11607 (tests-special): ... additions to this variable.
11608 (xtests): Change dependencies to ....
11609 (xtests-special): ... additions to this variable.
11610 * resolv/Makefile (tests): Change dependencies to ....
11611 (tests-special): ... additions to this variable.
11612 (xtests): Change dependencies to ....
11613 (xtests-special): ... additions to this variable.
11614 * stdio-common/Makefile (tests): Change dependencies to ....
11615 (tests-special): ... additions to this variable.
11616 (do-tst-unbputc): Remove target.
11617 (do-tst-printf): Likewise.
11618 * stdlib/Makefile (tests): Change dependencies to ....
11619 (tests-special): ... additions to this variable.
11620 * string/Makefile (tests): Change dependencies to ....
11621 (tests-special): ... additions to this variable.
11622 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11623 (tests-special): ... additions to this variable.
11625 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11627 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11629 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11630 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11632 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11633 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11634 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11635 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11636 * conform/data/libgen.h-data [XPG3]: Likewise.
11637 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11638 * conform/data/ndbm.h-data [XPG3]: Likewise.
11639 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11640 * conform/data/netdb.h-data [XPG3]: Likewise.
11641 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11642 * conform/data/poll.h-data [XPG3]: Likewise.
11643 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11644 * conform/data/strings.h-data [XPG3]: Likewise.
11645 * conform/data/stropts.h-data [XPG3]: Likewise.
11646 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11647 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11648 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11650 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11651 * conform/data/sys/time.h-data [XPG3]: Likewise.
11652 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11653 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11654 * conform/data/sys/un.h-data [XPG3]: Likewise.
11655 * conform/data/syslog.h-data [XPG3]: Likewise.
11656 * conform/data/ucontext.h-data [XPG3]: Likewise.
11657 * conform/data/utmpx.h-data [XPG3]: Likewise.
11658 * conform/data/varargs.h-data [UNIX98]: Enable file.
11660 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11662 * math/libm-test.inc (struct test_f_f_data): Move expected results
11663 into structure for each rounding mode.
11664 (struct test_ff_f_data): Likewise.
11665 (struct test_ff_f_data_nexttoward): Likewise.
11666 (struct test_fi_f_data): Likewise.
11667 (struct test_fl_f_data): Likewise.
11668 (struct test_if_f_data): Likewise.
11669 (struct test_fff_f_data): Likewise.
11670 (struct test_c_f_data): Likewise.
11671 (struct test_f_f1_data): Likewise.
11672 (struct test_fF_f1_data): Likewise.
11673 (struct test_ffI_f1_data): Likewise.
11674 (struct test_c_c_data): Likewise.
11675 (struct test_cc_c_data): Likewise.
11676 (struct test_f_i_data): Likewise.
11677 (struct test_ff_i_data): Likewise.
11678 (struct test_f_l_data): Likewise.
11679 (struct test_f_L_data): Likewise.
11680 (struct test_fFF_11_data): Likewise.
11682 (RM_FE_DOWNWARD): Likewise.
11683 (RM_FE_TONEAREST): Likewise.
11684 (RM_FE_TOWARDZERO): Likewise.
11685 (RM_FE_UPWARD): Likewise.
11686 (RUN_TEST_LOOP_f_f): Update references to expected results.
11687 (RUN_TEST_LOOP_2_f): Likewise.
11688 (RUN_TEST_LOOP_fff_f): Likewise.
11689 (RUN_TEST_LOOP_c_f): Likewise.
11690 (RUN_TEST_LOOP_f_f1): Likewise.
11691 (RUN_TEST_LOOP_fF_f1): Likewise.
11692 (RUN_TEST_LOOP_fI_f1): Likewise.
11693 (RUN_TEST_LOOP_ffI_f1): Likewise.
11694 (RUN_TEST_LOOP_c_c): Likewise.
11695 (RUN_TEST_LOOP_cc_c): Likewise.
11696 (RUN_TEST_LOOP_f_i): Likewise.
11697 (RUN_TEST_LOOP_f_i_tg): Likewise.
11698 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11699 (RUN_TEST_LOOP_f_b): Likewise.
11700 (RUN_TEST_LOOP_f_b_tg): Likewise.
11701 (RUN_TEST_LOOP_f_l): Likewise.
11702 (RUN_TEST_LOOP_f_L): Likewise.
11703 (RUN_TEST_LOOP_fFF_11): Likewise.
11704 * math/gen-libm-test.pl (parse_args): Output four copies of
11705 expected results for each test.
11707 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11708 (__ASSUME_UTIMES): Remove.
11709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11710 (__ASSUME_UTIMES): Likewise.
11712 * math/gen-auto-libm-tests.c: Update comment on output format.
11713 (output_for_one_input_case): Generate before-rounding and
11714 after-rounding information as conditions on output flags not
11715 floating-point format.
11716 * math/auto-libm-test-out: Regenerated.
11717 * math/gen-libm-test.pl (cond_value): New function.
11718 (or_cond_value): Use cond_value.
11719 (generate_testfile): Handle conditional exceptions.
11721 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11723 * math/libm-test.inc (max_valid_error): New variable.
11724 (init_max_error): Take new argument specifying whether function
11725 results are exactly determined. Set max_valid_error and bound
11726 other variables for errors based on this argument.
11727 (set_max_error): Do not record results above max_valid_error.
11728 (check_float_internal): Only accept errors of up to 0.5ulps if
11729 also at most max_valid_error.
11730 (START): Take new argument EXACT and pass it to init_max_error.
11731 (acos_test): Update call to START.
11732 (acos_test_tonearest): Likewise.
11733 (acos_test_towardzero): Likewise.
11734 (acos_test_downward): Likewise.
11735 (acos_test_upward): Likewise.
11736 (acosh_test): Likewise.
11737 (asin_test): Likewise.
11738 (asin_test_tonearest): Likewise.
11739 (asin_test_towardzero): Likewise.
11740 (asin_test_downward): Likewise.
11741 (asin_test_upward): Likewise.
11742 (asinh_test): Likewise.
11743 (atan_test): Likewise.
11744 (atanh_test): Likewise.
11745 (atan2_test): Likewise.
11746 (cabs_test): Likewise.
11747 (cacos_test): Likewise.
11748 (cacosh_test): Likewise.
11749 (carg_test): Likewise.
11750 (casin_test): Likewise.
11751 (casinh_test): Likewise.
11752 (catan_test): Likewise.
11753 (catanh_test): Likewise.
11754 (cbrt_test): Likewise.
11755 (ccos_test): Likewise.
11756 (ccosh_test): Likewise.
11757 (ceil_test): Likewise.
11758 (cexp_test): Likewise.
11759 (cimag_test): Likewise.
11760 (clog_test): Likewise.
11761 (clog10_test): Likewise.
11762 (conj_test): Likewise.
11763 (copysign_test): Likewise.
11764 (cos_test): Likewise.
11765 (cos_test_tonearest): Likewise.
11766 (cos_test_towardzero): Likewise.
11767 (cos_test_downward): Likewise.
11768 (cos_test_upward): Likewise.
11769 (cosh_test): Likewise.
11770 (cosh_test_tonearest): Likewise.
11771 (cosh_test_towardzero): Likewise.
11772 (cosh_test_downward): Likewise.
11773 (cosh_test_upward): Likewise.
11774 (cpow_test): Likewise.
11775 (cproj_test): Likewise.
11776 (creal_test): Likewise.
11777 (csin_test): Likewise.
11778 (csinh_test): Likewise.
11779 (csqrt_test): Likewise.
11780 (ctan_test): Likewise.
11781 (ctan_test_tonearest): Likewise.
11782 (ctan_test_towardzero): Likewise.
11783 (ctan_test_downward): Likewise.
11784 (ctan_test_upward): Likewise.
11785 (ctanh_test): Likewise.
11786 (ctanh_test_tonearest): Likewise.
11787 (ctanh_test_towardzero): Likewise.
11788 (ctanh_test_downward): Likewise.
11789 (ctanh_test_upward): Likewise.
11790 (erf_test): Likewise.
11791 (erfc_test): Likewise.
11792 (exp_test): Likewise.
11793 (exp_test_tonearest): Likewise.
11794 (exp_test_towardzero): Likewise.
11795 (exp_test_downward): Likewise.
11796 (exp_test_upward): Likewise.
11797 (exp10_test): Likewise.
11798 (exp10_test_tonearest): Likewise.
11799 (exp10_test_towardzero): Likewise.
11800 (exp10_test_downward): Likewise.
11801 (exp10_test_upward): Likewise.
11802 (pow10_test): Likewise.
11803 (exp2_test): Likewise.
11804 (expm1_test): Likewise.
11805 (expm1_test_tonearest): Likewise.
11806 (expm1_test_towardzero): Likewise.
11807 (expm1_test_downward): Likewise.
11808 (expm1_test_upward): Likewise.
11809 (fabs_test): Likewise.
11810 (fdim_test): Likewise.
11811 (floor_test): Likewise.
11812 (fma_test): Likewise.
11813 (fma_test_towardzero): Likewise.
11814 (fma_test_downward): Likewise.
11815 (fma_test_upward): Likewise.
11816 (fmax_test): Likewise.
11817 (fmin_test): Likewise.
11818 (fmod_test): Likewise.
11819 (fpclassify_test): Likewise.
11820 (frexp_test): Likewise.
11821 (hypot_test): Likewise.
11822 (ilogb_test): Likewise.
11823 (isfinite_test): Likewise.
11824 (finite_test): Likewise.
11825 (isgreater_test): Likewise.
11826 (isgreaterequal_test): Likewise.
11827 (isinf_test): Likewise.
11828 (isless_test): Likewise.
11829 (islessequal_test): Likewise.
11830 (islessgreater_test): Likewise.
11831 (isnan_test): Likewise.
11832 (isnormal_test): Likewise.
11833 (issignaling_test): Likewise.
11834 (isunordered_test): Likewise.
11835 (j0_test): Likewise.
11836 (j1_test): Likewise.
11837 (jn_test): Likewise.
11838 (ldexp_test): Likewise.
11839 (lgamma_test): Likewise.
11840 (gamma_test): Likewise.
11841 (lrint_test): Likewise.
11842 (lrint_test_tonearest): Likewise.
11843 (lrint_test_towardzero): Likewise.
11844 (lrint_test_downward): Likewise.
11845 (lrint_test_upward): Likewise.
11846 (llrint_test): Likewise.
11847 (llrint_test_tonearest): Likewise.
11848 (llrint_test_towardzero): Likewise.
11849 (llrint_test_downward): Likewise.
11850 (llrint_test_upward): Likewise.
11851 (log_test): Likewise.
11852 (log10_test): Likewise.
11853 (log1p_test): Likewise.
11854 (log2_test): Likewise.
11855 (logb_test): Likewise.
11856 (logb_test_downward): Likewise.
11857 (lround_test): Likewise.
11858 (llround_test): Likewise.
11859 (modf_test): Likewise.
11860 (nearbyint_test): Likewise.
11861 (nextafter_test): Likewise.
11862 (nexttoward_test): Likewise.
11863 (pow_test): Likewise.
11864 (pow_test_tonearest): Likewise.
11865 (pow_test_towardzero): Likewise.
11866 (pow_test_downward): Likewise.
11867 (pow_test_upward): Likewise.
11868 (remainder_test): Likewise.
11869 (drem_test): Likewise.
11870 (remainder_test_tonearest): Likewise.
11871 (drem_test_tonearest): Likewise.
11872 (remainder_test_towardzero): Likewise.
11873 (drem_test_towardzero): Likewise.
11874 (remainder_test_downward): Likewise.
11875 (drem_test_downward): Likewise.
11876 (remainder_test_upward): Likewise.
11877 (drem_test_upward): Likewise.
11878 (remquo_test): Likewise.
11879 (rint_test): Likewise.
11880 (rint_test_tonearest): Likewise.
11881 (rint_test_towardzero): Likewise.
11882 (rint_test_downward): Likewise.
11883 (rint_test_upward): Likewise.
11884 (round_test): Likewise.
11885 (scalb_test): Likewise.
11886 (scalbn_test): Likewise.
11887 (scalbln_test): Likewise.
11888 (signbit_test): Likewise.
11889 (sin_test): Likewise.
11890 (sin_test_tonearest): Likewise.
11891 (sin_test_towardzero): Likewise.
11892 (sin_test_downward): Likewise.
11893 (sin_test_upward): Likewise.
11894 (sincos_test): Likewise.
11895 (sinh_test): Likewise.
11896 (sinh_test_tonearest): Likewise.
11897 (sinh_test_towardzero): Likewise.
11898 (sinh_test_downward): Likewise.
11899 (sinh_test_upward): Likewise.
11900 (sqrt_test): Likewise.
11901 (sqrt_test_tonearest): Likewise.
11902 (sqrt_test_towardzero): Likewise.
11903 (sqrt_test_downward): Likewise.
11904 (sqrt_test_upward): Likewise.
11905 (tan_test): Likewise.
11906 (tan_test_tonearest): Likewise.
11907 (tan_test_towardzero): Likewise.
11908 (tan_test_downward): Likewise.
11909 (tan_test_upward): Likewise.
11910 (tanh_test): Likewise.
11911 (tgamma_test): Likewise.
11912 (trunc_test): Likewise.
11913 (y0_test): Likewise.
11914 (y1_test): Likewise.
11915 (yn_test): Likewise.
11916 (significand_test): Likewise.
11918 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11919 individual tests in comment.
11920 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11921 (prev_max_error): New variable.
11922 (prev_real_max_error): Likewise.
11923 (prev_imag_max_error): Likewise.
11924 (compare_ulp_data): Don't refer to test names in comment.
11925 (find_test_ulps): Remove function.
11926 (find_function_ulps): Likewise.
11927 (find_complex_function_ulps): Likewise.
11928 (init_max_error): Take function name as argument. Look up ulps
11930 (print_ulps): Remove function.
11931 (print_max_error): Use prev_max_error instead of calling
11932 find_function_ulps.
11933 (print_complex_max_error): Use prev_real_max_error and
11934 prev_imag_max_error instead of calling find_complex_function_ulps.
11935 (check_float_internal): Take max_ulp parameter instead of calling
11936 find_test_ulps. Don't call print_ulps.
11937 (check_float): Update call to check_float_internal.
11938 (check_complex): Update calls to check_float_internal.
11939 (START): Pass argument to init_max_error.
11940 * math/gen-libm-test.pl (%results): Don't include "kind"
11942 (parse_ulps): Don't handle ulps of individual tests.
11943 (print_ulps_file): Likewise.
11944 (output_ulps): Likewise.
11945 * math/README.libm-test: Update.
11946 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11948 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11949 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11950 * sysdeps/arm/libm-test-ulps: Likewise.
11951 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11952 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11953 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11954 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11955 * sysdeps/microblaze/libm-test-ulps: Likewise.
11956 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11957 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11959 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11961 * sysdeps/sh/libm-test-ulps: Likewise.
11962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11963 * sysdeps/tile/libm-test-ulps: Likewise.
11964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11966 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11968 * math/libm-test.inc (print_complex_max_error): Check separately
11969 whether real and imaginary errors are within allowed range and
11970 pass 0 to print_complex_function_ulps instead of value within
11973 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11975 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11977 (get_handles_fopen): Likewise.
11978 (do_write_test): Likewise.
11980 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11982 * libio/fileops.c (do_ftell): Use cached offset when
11984 * libio/iofwide.c (do_ftell_wide): Likewise.
11985 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11987 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11990 * libio/libioP.h (get_file_offset): New function.
11991 * libio/fileops.c (get_file_offset): Likewise.
11992 (do_ftell): Likewise.
11993 (_IO_new_file_seekoff): Split out ftell logic.
11994 * libio/wfileops.c (do_ftell_wide): Likewise.
11995 (_IO_wfile_seekoff): Split out ftell logic.
11996 * libio/tst-ftell-active-handler.c: New test case.
11997 * libio/Makefile (tests): Add it.
11999 2014-03-03 Roland McGrath <roland@hack.frob.com>
12001 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12002 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12004 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 * nscd/connections.c (nscd_init): Call do_exit.
12008 (start_threads): Call do_exit and notify_parent.
12009 (begin_drop_privileges): Call do_exit.
12010 (finish_drop_privileges): Likewise.
12011 * nscd/selinux.c (preserve_capabilities): Likewise.
12012 (install_real_capabilities): Likewise.
12013 (nscd_selinux_enabled): Likewise.
12014 (avc_create_thread): Likewise.
12015 (avc_alloc_lock): Likewise.
12016 (nscd_avc_init): Likewise.
12017 * nscd/nscd.c (parent_fd): New static variable.
12018 (main): Create a pipe between parent and child processes.
12019 Skip closing parent_fd.
12020 (monitor_child): New function.
12021 (do_exit): Likewise.
12022 (notify_parent): Likewise.
12023 * nscd/nscd.h (notify_parent): Likewise.
12024 (do_exit): Likewise.
12026 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12028 * malloc/malloc.c (__libc_calloc): Revert last change.
12030 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12034 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12036 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12040 (__libc_ifunc_impl_list): Likewise.
12041 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12042 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12043 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12044 * string/strrchr.c: Define STRRCHR.
12046 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12048 * benchtest/bench-strtok.c (simple_strtok): Delete.
12049 (strtok_string): Use as benchmark.
12050 * string/strtok (STRTOK): New macro.
12052 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12054 * manual/threads.texi: Add header and standard comments to all
12057 * elf/dl-lookup.c (check_match): New function.
12058 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12059 (do_lookup_x): Remove nested function check_match. Use non-nested
12060 function check_match.
12062 2014-02-28 Roland McGrath <roland@hack.frob.com>
12064 * csu/Makefile (generated, before-compile): Use += rather than =.
12065 * catgets/Makefile (generated, generated-dirs): Likewise.
12066 * debug/Makefile (generated): Likewise.
12067 * dlfcn/Makefile (generated): Likewise.
12068 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12069 * iconvdata/Makefile (before-compile, generated): Likewise.
12070 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12071 * libio/Makefile (generated): Likewise.
12072 * malloc/Makefile (generated): Likewise.
12073 * manual/Makefile (generated, generated-dirs): Likewise.
12074 * misc/Makefile (generated): Likewise.
12075 * posix/Makefile (generated): Likewise.
12076 * resolv/Makefile (generated): Likewise.
12077 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12078 * timezone/Makefile (generated, generated-dirs): Likewise.
12080 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12082 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12085 power8 implementation.
12086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12087 file: POWER8 llround ifunc implementation.
12088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12089 (__lllround): Add POWER8 implementation.
12090 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12091 POWER8 llround implementation.
12093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12094 power8 implementation.
12095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12096 file: POWER8 llrint ifunc implementation.
12097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12098 Add POWER8 implementation.
12099 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12100 POWER8 llrint implementation.
12102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12103 power8 implementation.
12104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12105 file: POWER8 finite ifunc implementation.
12106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12107 Add POWER8 implementation.
12108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12110 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12111 POWER8 finite implementation.
12112 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12115 power8 implementation.
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12117 file: POWER8 isinf ifunc implementation.
12118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12119 POWER8 implementation.
12120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12123 isinf implementation.
12124 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12127 (INIT_ARCH): Add hwcap2 initialization.
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12129 power8 implementation.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12131 file: POWER8 isnan ifunc implementation.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12133 POWER8 implementation.
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12137 isnan implementation.
12138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12140 2014-02-27 Joey Ye <joey.ye@arm.com>
12142 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12143 (_FP_NANFRAC_Q): Set to zero.
12145 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12148 * math/auto-libm-test-in: New test inputs.
12149 * math/auto-libm-test-out: Regenerate.
12150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12155 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12157 * scripts/evaluate-test.sh: Take new argument indicating whether
12158 failure is expected.
12159 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12160 indicating whether failure is expected.
12161 * conform/Makefile (test-xfail-run-conformtest): New variable.
12162 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12164 * posix/Makefile (test-xfail-annexc): New variable.
12165 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12167 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12169 * argp/Makefile: Include Makeconfig immediately after defining
12171 * assert/Makefile: Likewise.
12172 * benchtests/Makefile: Likewise.
12173 * catgets/Makefile: Likewise.
12174 * conform/Makefile: Likewise.
12175 * crypt/Makefile: Likewise.
12176 * csu/Makefile: Likewise.
12177 (all): Remove target.
12178 * ctype/Makefile: Include Makeconfig immediately after defining
12180 * debug/Makefile: Likewise.
12181 * dirent/Makefile: Likewise.
12182 * dlfcn/Makefile: Likewise.
12183 * gmon/Makefile: Likewise.
12184 * gnulib/Makefile: Likewise.
12185 * grp/Makefile: Likewise.
12186 * gshadow/Makefile: Likewise.
12187 * hesiod/Makefile: Likewise.
12188 * hurd/Makefile: Likewise.
12189 (all): Remove target.
12190 * iconvdata/Makefile: Include Makeconfig immediately after
12192 * inet/Makefile: Likewise.
12193 * intl/Makefile: Likewise.
12194 * io/Makefile: Likewise.
12195 * libio/Makefile: Likewise.
12196 (all): Remove target.
12197 * locale/Makefile: Include Makeconfig immediately after defining
12199 * login/Makefile: Likewise.
12200 * mach/Makefile: Likewise.
12201 (all): Remove target.
12202 * malloc/Makefile: Include Makeconfig immediately after defining
12204 (all): Remove target.
12205 * manual/Makefile: Include Makeconfig immediately after defining
12207 * math/Makefile: Likewise.
12208 * misc/Makefile: Likewise.
12209 * nis/Makefile: Likewise.
12210 * nss/Makefile: Likewise.
12211 * po/Makefile: Likewise.
12212 (all): Remove target.
12213 * posix/Makefile: Include Makeconfig immediately after defining
12215 * pwd/Makefile: Likewise.
12216 * resolv/Makefile: Likewise.
12217 * resource/Makefile: Likewise.
12218 * rt/Makefile: Likewise.
12219 * setjmp/Makefile: Likewise.
12220 * shadow/Makefile: Likewise.
12221 * signal/Makefile: Likewise.
12222 * socket/Makefile: Likewise.
12223 * soft-fp/Makefile: Likewise.
12224 * stdio-common/Makefile: Likewise.
12225 * stdlib/Makefile: Likewise.
12226 * streams/Makefile: Likewise.
12227 * string/Makefile: Likewise.
12228 * sunrpc/Makefile: Likewise.
12229 (all): Remove target.
12230 * sysvipc/Makefile: Include Makeconfig immediately after defining
12232 * termios/Makefile: Likewise.
12233 * time/Makefile: Likewise.
12234 * timezone/Makefile: Likewise.
12235 (all): Remove target.
12236 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12238 * wctype/Makefile: Likewise.
12240 2014-02-26 Steve Ellcey <sellcey@mips.com>
12242 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12243 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12244 (libc_feholdexcept_setround_mips): Ditto.
12245 (libc_feholdsetround): New.
12246 (libc_feholdsetroundf): New.
12247 (libc_feholdsetroundl): New.
12248 (libc_feupdateenv_test_mips): New.
12249 (libc_feupdateenv_test): New.
12250 (libc_feupdateenv_testf): New.
12251 (libc_feupdateenv_testl): New.
12252 (libc_feresetround): New.
12253 (libc_feresetroundf): New.
12254 (libc_feresetroundl): New.
12255 (libc_fetestexcept_mips): New.
12256 (libc_fetestexcept): New.
12257 (libc_fetestexceptf): New.
12258 (libc_fetestexceptl): New.
12259 (HAVE_RM_CTX): New.
12260 (libc_feholdexcept_setround_mips_ctx): New.
12261 (libc_feholdexcept_setround_ctx): New.
12262 (libc_feholdexcept_setroundf_ctx): New.
12263 (libc_feholdexcept_setroundl_ctx): New.
12264 (libc_fesetenv_mips_ctx): New.
12265 (libc_fesetenv_ctx): New.
12266 (libc_fesetenv_ctxf): New.
12267 (libc_fesetenv_ctxl): New.
12268 (libc_feupdateenv_mips_ctx): New.
12269 (libc_feupdateenv_ctx): New.
12270 (libc_feupdateenvf_ctx): New.
12271 (libc_feupdateenvl_ctx): New.
12272 (libc_feholdsetround_mips_ctx): New.
12273 (libc_feholdsetround_ctx): New.
12274 (libc_feholdsetroundf_ctx): New.
12275 (libc_feholdsetroundl_ctx): New.
12276 (libc_feresetround_mips_ctx): New.
12277 (libc_feresetround_ctx): New.
12278 (libc_feresetroundf_ctx): New.
12279 (libc_feresetroundl_ctx): New.
12281 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12283 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12285 * manual/ipc.texi: New file.
12286 * manual/Makefile (chapters): Add ipc.
12287 * manual/job.texi: Add "Inter-Process Communication" to next.
12288 * manual/process.texi: Add "Inter-Process Communication" to prev.
12290 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12294 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12296 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12298 * manual/arith.texi: Fix spaces after sentences.
12299 * manual/charset.texi: Likewise.
12300 * manual/errno.texi: Likewise.
12301 * manual/install.texi: Likewise.
12302 * manual/llio.texi: Likewise.
12303 * manual/locale.texi: Likewise.
12304 * manual/maint.texi: Likewise.
12305 * manual/math.texi: Likewise.
12306 * manual/memory.texi: Likewise.
12307 * manual/message.texi: Likewise.
12308 * manual/probes.texi: Likewise.
12309 * manual/resource.texi: Likewise.
12310 * manual/signal.texi: Likewise.
12311 * manual/socket.texi: Likewise.
12312 * manual/stdio.texi: Likewise.
12313 * manual/string.texi: Likewise.
12314 * manual/time.texi: Likewise.
12315 * manual/users.texi: Likewise.
12317 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12320 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12321 _DEFAULT_SOURCE is defined.
12323 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12324 Carlos O'Donell <carlos@redhat.com>
12327 * elf/dl-tls.c (_dl_count_modids): New function.
12328 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12329 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12330 audit library and increment generation counter.
12331 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12332 * elf/tst-audit9.c: New file.
12333 * elf/tst-auditmod9a.c: New file.
12334 * elf/tst-auditmod9b.c: New file.
12335 * elf/Makefile: Add rules to build and run tst-audit9.
12337 2014-02-25 Florian Weimer <fweimer@redhat.com>
12340 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12342 2014-02-25 Will Newton <will.newton@linaro.org>
12344 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12345 (__longjmp): Restore sp and lr before restoring callee
12346 saved registers. Add longjmp and longjmp_target
12347 SystemTap probe point.
12348 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12349 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12350 Define to zero to match jmpbuf layout.
12351 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12352 (__sigsetjmp): Save sp and lr before saving callee
12353 saved registers. Add setjmp SystemTap probe point.
12355 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12357 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12359 2014-02-24 Andreas Schwab <schwab@suse.de>
12362 * elf/pldd.c (wait_for_ptrace_stop): New function.
12363 (main): Call it after attaching.
12365 2014-02-22 Roland McGrath <roland@hack.frob.com>
12367 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12368 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12369 Versions files is now verboten.
12370 * hurd/Versions (libc: GLIBC_2.0):
12371 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12372 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12373 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12374 * mach/Versions: Likewise.
12376 * csu/Versions: Remove unused %include.
12377 * resolv/Versions: Likewise.
12379 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12381 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12382 ($(objpfx)check-local-headers.out): Likewise.
12383 ($(objpfx)begin-end-check.out): Likewise.
12384 * Makerules (check-abi-%.out): Likewise.
12385 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12386 ($(objpfx)test2.cat): Likewise.
12387 ($(objpfx)de/libc.cat): Likewise.
12388 ($(objpfx)test-gencat.out): Likewise.
12389 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12390 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12391 ($(objpfx)noload-mem): Likewise.
12392 ($(objpfx)tst-pathopt.out): Likewise.
12393 ($(objpfx)tst-rtld-load-self.out): Likewise.
12394 ($(objpfx)tst-array1-cmp.out): Likewise.
12395 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12396 ($(objpfx)tst-array2-cmp.out): Likewise.
12397 ($(objpfx)tst-array3-cmp.out): Likewise.
12398 ($(objpfx)tst-array4-cmp.out): Likewise.
12399 ($(objpfx)tst-array5-cmp.out): Likewise.
12400 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12401 ($(objpfx)check-textrel.out): Likewise.
12402 ($(objpfx)check-execstack.out): Likewise.
12403 ($(objpfx)check-localplt.out): Likewise.
12404 ($(objpfx)order2-cmp.out): Likewise.
12405 ($(objpfx)tst-leaks1-mem): Likewise.
12406 ($(objpfx)tst-leaks1-static-mem): Likewise.
12407 ($(objpfx)tst-initorder-cmp.out): Likewise.
12408 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12409 ($(objpfx)tst-unused-dep.out): Likewise.
12410 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12411 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12412 * iconv/Makefile (test-iconvconfig): Likewise.
12413 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12414 ($(objpfx)iconv-test.out): Likewise.
12415 ($(objpfx)tst-tables.out): Likewise.
12416 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12417 ($(objpfx)tst-gettext.out): Likewise.
12418 ($(objpfx)tst-translit.out): Likewise.
12419 ($(objpfx)tst-gettext2.out): Likewise.
12420 ($(objpfx)tst-gettext4.out): Likewise.
12421 ($(objpfx)tst-gettext6.out): Likewise.
12422 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12423 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12424 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12425 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12426 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12427 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12428 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12429 ($(objpfx)wordexp-tst.out): Likewise.
12430 ($(objpfx)annexc.out): Likewise.
12431 ($(objpfx)tst-fnmatch-mem): Likewise.
12432 ($(objpfx)bug-regex2-mem): Likewise.
12433 ($(objpfx)bug-regex14-mem): Likewise.
12434 ($(objpfx)bug-regex21-mem): Likewise.
12435 ($(objpfx)bug-regex31-mem): Likewise.
12436 ($(objpfx)tst-vfork3-mem): Likewise.
12437 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12438 ($(objpfx)tst-pcre-mem): Likewise.
12439 ($(objpfx)tst-boost-mem): Likewise.
12440 ($(objpfx)tst-getconf.out): Likewise.
12441 ($(objpfx)bug-ga2-mem): Likewise.
12442 ($(objpfx)bug-glob2-mem): Likewise.
12443 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12444 ($(objpfx)mtrace-tst-leaks2): Likewise.
12445 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12446 ($(objpfx)tst-printf.out): Likewise.
12447 ($(objpfx)tst-setvbuf1.out): Likewise.
12448 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12449 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12450 ($(objpfx)tst-fmtmsg.out): Likewise.
12451 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12452 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12454 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12455 * bits/sigaction.h [__USE_MISC]: Likewise.
12456 * bits/waitstatus.h: Update #endif comments.
12457 * ctype/ctype.h: Likewise.
12458 * dirent/dirent.h: Likewise.
12459 [__USE_MISC]: Remove redundant conditionals.
12460 * grp/grp.h: Update #endif comments.
12461 [__USE_GNU]: Remove redundant conditionals.
12462 [__USE_MISC]: Likewise.
12463 * inet/netinet/in.h [__USE_GNU]: Likewise.
12464 * io/sys/stat.h [__USE_MISC]: Likewise.
12465 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12466 * libio/bits/stdio.h: Update #endif comments.
12467 [__USE_MISC]: Remove redundant conditionals.
12468 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12469 * libio/stdio.h: Update #endif comments.
12470 [__USE_MISC]: Remove redundant conditionals.
12471 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12472 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12473 * math/math.h: Update #else and #endif comments.
12474 [__USE_MISC]: Remove redundant conditionals.
12475 * misc/sys/uio.h: Update #endif comments.
12476 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12477 * posix/glob.h [__USE_MISC]: Likewise.
12478 * posix/sys/types.h: Update #endif comments.
12479 [__USE_MISC]: Remove redundant conditionals.
12480 * posix/sys/wait.h: Update #endif comments.
12481 [__USE_MISC]: Remove redundant conditionals.
12482 * posix/unistd.h: Update #endif comments.
12483 [__USE_MISC]: Remove redundant conditionals.
12484 * pwd/pwd.h [__USE_GNU]: Likewise.
12485 [__USE_MISC]: Likewise.
12486 * resolv/netdb.h [__USE_GNU]: Likewise.
12487 * signal/signal.h: Update #endif comments.
12488 [__USE_MISC]: Remove redundant conditionals.
12489 * stdlib/stdlib.h: Update #else and #endif comments.
12490 [__USE_MISC]: Remove redundant conditionals.
12491 [__USE_GNU]: Likewise.
12492 * string/bits/string2.h [__USE_MISC]: Likewise.
12493 * string/string.h: Update #endif comments.
12494 [__USE_MISC]: Remove redundant conditionals.
12495 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12497 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12498 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12499 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12501 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12505 [__USE_MISC]: Remove redundant conditionals.
12506 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12507 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12508 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12509 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12510 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12512 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12513 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12515 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12516 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12518 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12520 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12523 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12525 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12526 * sysdeps/x86/bits/string.h: Update #endif comments.
12527 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12529 * time/sys/time.h: Update #endif comments.
12530 * time/time.h: Likewise.
12531 [__USE_MISC]: Remove redundant conditionals.
12533 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12536 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12538 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12540 * Versions.def (librt): Add GLIBC_2.17.
12542 2014-02-21 Adam Conrad <adconrad@0c3.net>
12544 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12545 synonym for _SYS_AUXV_H to allow direct inclusion.
12546 * sysdeps/sparc/bits/hwcap.h: Likewise.
12547 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12548 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12549 * sysdeps/sparc/sysdep.h: Likewise.
12551 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12553 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12555 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12557 * benchtests/bench-strrchr.c: Print length instead of position.
12559 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12562 * sysdeps/unix/sysv/linux/kernel-features.h
12563 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12564 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12565 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12566 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12568 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12569 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12570 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12571 (__ASSUME_SENDMMSG): Define instead of using previous
12572 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12573 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12574 (__ASSUME_SENDMMSG_SYSCALL): Define.
12575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12576 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12578 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12579 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12581 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12582 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12584 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12585 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12586 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12587 [__ASSUME_SENDMMSG]: Change conditionals to
12588 [__ASSUME_SENDMMSG_SOCKETCALL].
12589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12590 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12593 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12595 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12596 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12597 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12598 [!__ASSUME_SENDMMSG]: Change conditional to
12599 [!__ASSUME_SENDMMSG_SOCKETCALL].
12600 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12601 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12605 * sysdeps/unix/sysv/linux/kernel-features.h
12606 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12607 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12608 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12609 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12610 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12611 [__i386__ || __sparc__]
12612 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12613 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12614 (__ASSUME_RECVMMSG): Define instead of using previous
12615 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12617 (__ASSUME_RECVMMSG_SYSCALL): Define.
12618 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12619 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12622 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12624 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12625 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12627 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12628 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12629 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12630 [__ASSUME_RECVMMSG]: Change condition to
12631 [__ASSUME_RECVMMSG_SOCKETCALL].
12632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12635 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12637 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12639 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12640 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12641 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12642 [!__ASSUME_RECVMMSG]: Change condition to
12643 [!__ASSUME_RECVMMSG_SOCKETCALL].
12644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12645 (__ASSUME_RECVMMSG_SYSCALL): Define.
12648 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12649 __powerpc__ || __s390__ || __sh__ || __sparc__]
12650 (__ASSUME_SOCKETCALL): Define.
12651 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12652 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12653 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12654 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12655 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12656 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12657 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12658 (__ASSUME_ACCEPT4): Define instead of using previous
12659 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12660 __powerpc__ || __sparc__ || __s390__)] condition.
12661 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12662 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12663 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12664 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12665 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12666 [!__ASSUME_ACCEPT4]: Change condition to
12667 [!__ASSUME_ACCEPT4_SOCKETCALL].
12668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12669 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12670 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12672 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12673 __ASSUME_ACCEPT4_SYSCALL.
12674 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12675 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12677 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12678 __ASSUME_ACCEPT4_SYSCALL.
12679 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12680 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12681 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12682 [__ASSUME_ACCEPT4]: Change condition to
12683 [__ASSUME_ACCEPT4_SOCKETCALL].
12684 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12685 (__ASSUME_SOCKETCALL): Define.
12686 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12687 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12688 (__ASSUME_SOCKETCALL): Define.
12689 (__ASSUME_ACCEPT4): Remove.
12690 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12693 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12695 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12696 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12698 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12700 (HWCAP_ARM_LPAE): Likewise.
12701 (HWCAP_ARM_EVTSTRM): Likewise.
12702 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12703 Add vpfd32, lpae and evtstrm.
12704 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12707 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12709 * math/auto-libm-test-in: Add tests of clog10.
12710 * math/auto-libm-test-out: Regenerated.
12711 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12712 * sysdeps/i386/fpu/libm-test-ulps: Update.
12713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12715 2014-02-18 Andreas Schwab <schwab@suse.de>
12718 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12719 Store non-zero if the second buffer was newly allocated.
12720 (send_dg): Likewise.
12721 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12722 to send_vc and send_dg.
12723 (res_nsend): Pass NULL for ansp2_malloced.
12724 * resolv/res_query.c (__libc_res_nquery): Add parameter
12725 answerp2_malloced and pass it down to __libc_res_nsend.
12726 (res_nquery): Pass additional NULL to __libc_res_nquery.
12727 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12728 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12729 second answer buffer if answerp2_malloced was set.
12730 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12731 (__libc_res_nquerydomain): Add parameter
12732 answerp2_malloced and pass it down to __libc_res_nquery.
12733 (res_nquerydomain): Pass additional NULL to
12734 __libc_res_nquerydomain.
12735 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12736 additional NULL to __libc_res_nsend and __libc_res_nquery.
12737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12738 additional NULL to __libc_res_nsearch.
12739 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12740 parameter of __libc_res_nsearch to check for separately allocated
12742 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12744 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12745 additional NULL to __libc_res_nquery.
12746 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12747 __libc_res_nsearch.
12748 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12749 * include/resolv.h: Update prototypes of __libc_res_nquery,
12750 __libc_res_nsearch, __libc_res_nsend.
12752 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12754 * math/auto-libm-test-in: Add tests of fma.
12755 * math/auto-libm-test-out: Regenerated.
12756 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12757 (fma_towardzero_test_data): Likewise.
12758 (fma_downward_test_data): Likewise.
12759 (fma_upward_test_data): Likewise.
12760 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12762 (rounding_modes): Add values for new field.
12763 (func_calc_method): Add value mpfr_fff_f.
12764 (func_calc_desc): Add mpfr_fff_f union field.
12765 (test_function): Add field exact_args.
12766 (FUNC): Add macro argument EXACT_ARGS.
12767 (FUNC_mpfr_f_f): Update call to FUNC.
12768 (FUNC_mpfr_f_f): Likewise.
12769 (FUNC_mpfr_ff_f): Likewise.
12770 (FUNC_mpfr_if_f): Likewise.
12771 (FUNC_mpc_c_f): Likewise.
12772 (FUNC_mpc_c_c): Likewise.
12773 (test_functions): Add fma. Update calls to FUNC.
12774 (handle_input_arg): Add argument exact_args.
12775 (add_test): Update call to handle_input_arg.
12776 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12777 (output_for_one_input_case): Update call to calc_generic_results.
12778 Recalculate exact zero results in each rounding mode.
12780 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12781 non-negative before setting low bit.
12782 * math/auto-libm-test-in: Mark one asin test possibly having
12783 spurious underflow.
12784 * math/auto-libm-test-out: Regenerated.
12785 * sysdeps/i386/fpu/libm-test-ulps: Update.
12786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12790 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12791 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12792 ports/sysdeps/unix/sysv/linux/microblaze.
12793 * README: Add missing listing for microblaze*-*-linux-gnu.
12795 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12800 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12802 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12803 * sysdeps/unix/sysv/linux/ia64: Move directory from
12804 ports/sysdeps/unix/sysv/linux/ia64.
12805 * README: Update listing for ia64-*-linux-gnu.
12807 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12808 Joseph Myers <joseph@codesourcery.com>
12810 * Makeconfig (test-name): New variable.
12811 (evaluate-test): Likewise.
12812 * Makerules (do-test-clean): Remove .test-result files.
12813 (common-mostlyclean): Likewise.
12814 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12815 * scripts/evaluate-test.sh: New file.
12817 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12819 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12820 separate $(objpfx)tst-fopenloc-cmp.out and
12821 $(objpfx)tst-fopenloc-mem.out targets.
12822 (tests): Update dependencies.
12823 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12824 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12825 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12826 (tst-rxspencer-no-utf8-ARGS): New variable.
12827 (tst-rxspencer-no-utf8-ENV): Likewise.
12828 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12829 instead of $(objpfx)tst-rxspencer-mem.
12830 ($(objpfx)tst-rxspencer-mem): Change target to
12831 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12832 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12833 * posix/tst-rxspencer-no-utf8.c: New file.
12835 * elf/Makefile ($(objpfx)order.out): Remove rule.
12836 [$(run-built-tests) = yes] (tests): Depend on
12837 $(objpfx)order-cmp.out.
12838 ($(objpfx)order-cmp.out): New rule.
12839 [$(run-built-tests) = yes] (tests): Depend on
12840 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12841 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12842 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12843 $(objpfx)tst-array5-static-cmp.out.
12844 ($(objpfx)tst-array1.out): Remove rule.
12845 ($(objpfx)tst-array1-cmp.out): New rule.
12846 ($(objpfx)tst-array1-static.out): Remove rule.
12847 ($(objpfx)tst-array1-static-cmp.out): New rule.
12848 ($(objpfx)tst-array2.out): Remove rule.
12849 ($(objpfx)tst-array2-cmp.out): New rule.
12850 ($(objpfx)tst-array3.out): Remove rule.
12851 ($(objpfx)tst-array3-cmp.out): New rule.
12852 ($(objpfx)tst-array4.out): Remove rule.
12853 ($(objpfx)tst-array4-cmp.out): New rule.
12854 ($(objpfx)tst-array5.out): Remove rule.
12855 ($(objpfx)tst-array5-cmp.out): New rule.
12856 ($(objpfx)tst-array5-static.out): Remove rule.
12857 ($(objpfx)tst-array5-static-cmp.out): New rule.
12858 [$(run-built-tests) = yes] (tests): Depend on
12859 $(objpfx)order2-cmp.out.
12860 ($(objpfx)order2.out): Remove rule.
12861 ($(objpfx)order2-cmp.out): New rule.
12862 ($(objpfx)tst-initorder.out): Remove rule.
12863 [$(run-built-tests) = yes] (tests): Depend on
12864 $(objpfx)tst-initorder-cmp.out.
12865 ($(objpfx)tst-initorder-cmp.out): New rule.
12866 ($(objpfx)tst-initorder2.out): Remove rule.
12867 [$(run-built-tests) = yes] (tests): Depend on
12868 $(objpfx)tst-initorder2-cmp.out.
12869 ($(objpfx)tst-initorder2-cmp.out): New rule.
12870 [$(run-built-tests) = yes] (tests): Depend on
12871 $(objpfx)tst-unused-dep-cmp.out.
12872 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12873 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12874 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12875 on $(objpfx)tst-setvbuf1-cmp.out.
12876 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12877 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12878 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12879 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12880 ($(objpfx)tst-svc.out): Remove rule.
12881 ($(objpfx)tst-svc-cmp.out): New rule.
12883 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12885 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12886 * ctype/ctype.h [__USE_MISC]: Likewise.
12887 * dirent/dirent.h [__USE_MISC]: Likewise.
12888 * grp/grp.h [__USE_MISC]: Likewise.
12889 * io/fcntl.h [__USE_MISC]: Likewise.
12890 * io/sys/stat.h [__USE_MISC]: Likewise.
12891 * libio/stdio.h [__USE_MISC]: Likewise.
12892 * posix/unistd.h [__USE_MISC]: Likewise.
12893 * pwd/pwd.h [__USE_MISC]: Likewise.
12894 * stdlib.h [__USE_MISC]: Likewise.
12895 * string/bits/string2.h [__USE_MISC]: Likewise.
12896 * string/string.h [__USE_MISC]: Likewise.
12897 * time/time.h [__USE_MISC]: Likewise.
12899 2014-02-13 Andreas Schwab <schwab@suse.de>
12902 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12903 second answer buffer if it was separately allocated.
12905 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12907 * sysdeps/mips/math-tests.h: Include <features.h>.
12908 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12909 (ROUNDING_TESTS_long_double): Do not define.
12910 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12911 (EXCEPTION_TESTS_long_double): Likewise.
12912 * sysdeps/mips/mips64/libm-test-ulps: Update.
12914 * include/features.h (__USE_BSD): Remove macro definitions.
12915 (__USE_SVID): Likewise.
12916 (_BSD_SOURCE): Likewise.
12917 (_SVID_SOURCE): Likewise.
12918 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12919 from definition of _DEFAULT_SOURCE.
12920 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12922 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12923 * bits/mman.h [__USE_BSD]: Likewise.
12924 * bits/termios.h [__USE_BSD]: Likewise.
12925 * bits/waitstatus.h [__USE_BSD]: Likewise.
12926 * ctype/ctype.h [__USE_SVID]: Likewise.
12927 * dirent/dirent.h [__USE_BSD]: Likewise.
12928 * grp/grp.h [__USE_SVID]: Likewise.
12929 [__USE_BSD]: Likewise.
12930 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12931 * io/fcntl.h [__USE_BSD]: Likewise.
12932 * io/ftw.h [__USE_BSD]: Likewise.
12933 * io/sys/stat.h [__USE_BSD]: Likewise.
12934 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12935 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12936 * libio/stdio.h [__USE_SVID]: Likewise.
12937 [__USE_BSD]: Likewise.
12938 * math/math.h [__USE_SVID]: Likewise.
12939 [__USE_BSD]: Likewise.
12940 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12941 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12942 * misc/search.h [__USE_SVID]: Likewise.
12943 * misc/sys/mman.h [__USE_BSD]: Likewise.
12944 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12945 * misc/sys/uio.h [__USE_BSD]: Likewise.
12946 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12947 * posix/glob.h [__USE_BSD]: Likewise.
12948 * posix/regex.h [__USE_BSD]: Likewise.
12949 * posix/sys/types.h [__USE_BSD]: Likewise.
12950 [__USE_SVID]: Likewise.
12951 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12952 * posix/sys/wait.h [__USE_BSD]: Likewise.
12953 [__USE_SVID]: Likewise.
12954 * posix/unistd.h [__USE_BSD]: Likewise.
12955 [__USE_SVID]: Likewise.
12956 * pwd/pwd.h [__USE_SVID]: Likewise.
12957 * resolv/netdb.h [__USE_BSD]: Likewise.
12958 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12959 * signal/signal.h [__USE_BSD]: Likewise.
12960 [__USE_SVID]: Likewise.
12961 * socket/sys/socket.h [__USE_BSD]: Likewise.
12962 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12963 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12964 [__USE_SVID]: Likewise.
12965 * string/bits/string2.h [__USE_BSD]: Likewise.
12966 [__USE_SVID]: Likewise.
12967 * string/bits/string3.h [__USE_BSD]: Likewise.
12968 * string/endian.h [__USE_BSD]: Likewise.
12969 * string/string.h [__USE_SVID]: Likewise.
12970 [__USE_BSD]: Likewise.
12971 * string/strings.h [__USE_BSD]: Likewise.
12972 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12973 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12974 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12975 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12976 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12977 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12981 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12982 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12984 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12985 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12987 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12989 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12990 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12991 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12995 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12996 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12997 * termios/termios.h [__USE_BSD]: Likewise.
12998 * time/sys/time.h [__USE_BSD]: Likewise.
12999 * time/time.h [__USE_BSD]: Likewise.
13000 [__USE_SVID]: Likewise.
13002 * Makefile (subdir_targets): Remove subdir_lint.out.
13004 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13005 (do-tst-printf): Likewise.
13006 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13007 $(objpfx)tst-printf.out.
13009 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13011 * Makerules (check-abi-%): Change target to
13012 $(objpfx)check-abi-%.out.
13013 (check-abi target): Update dependencies.
13014 (check-abi-pattern variable): Redirect output of diff to $@.
13015 (check-abi variable): Likewise.
13016 * elf/Makefile (check-abi): Update dependencies.
13018 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13020 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13021 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13023 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13024 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13025 value has largest subnormal exponent.
13026 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13027 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13028 * sysdeps/aarch64/soft-fp/sfp-machine.h
13029 (_FP_TININESS_AFTER_ROUNDING): New macro.
13030 * sysdeps/alpha/soft-fp/sfp-machine.h
13031 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13032 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13034 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13035 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13036 * sysdeps/mips/soft-fp/sfp-machine.h
13037 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13038 * sysdeps/powerpc/soft-fp/sfp-machine.h
13039 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13040 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13042 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13043 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13045 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13046 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13049 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13052 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13055 2014-02-12 Richard Henderson <rth@redhat.com>
13057 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13058 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13059 * sysdeps/unix/sysv/linux/alpha: Move directory from
13060 ports/sysdeps/unix/sysv/linux/alpha.
13061 * README: Update listing for alpha-*-linux-gnu.
13063 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13065 * include/features.h: Update comment documenting feature test
13067 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13069 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13070 (_SVID_SOURCE): Likewise.
13071 (_DEFAULT_SOURCE): Update description of default features.
13072 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13074 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13075 (S_ISVTX): Likewise.
13076 * manual/math.texi (Mathematical Constants): Likewise.
13077 * manual/signal.texi (Interrupted Primitives): Likewise.
13078 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13079 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13080 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13081 Don't refer to _SVID_SOURCE in warning text.
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13085 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13087 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13088 * sysdeps/mips/dl-lookup.c: Remove.
13089 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13091 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13094 * math/auto-libm-test-in: Add testcase for expl.
13095 * math/auto-libm-test-out: Regenerate.
13096 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13097 calculation of unsafe.
13098 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13100 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13102 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13103 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13104 ports/sysdeps/unix/sysv/linux/aarch64.
13105 * README: Update listing for aarch64*-*-linux-gnu.
13107 2014-02-11 Will Newton <will.newton@linaro.org>
13109 * manual/probes.texi (Mathematical Function Probes): Use
13110 "triggered" instead of "hit".
13112 * manual/probes.texi (Internal Probes): Add documentation
13113 of setjmp, longjmp and longjmp_target probes.
13115 * include/stap-probe.h: Add comment about probe argument
13118 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13119 definition. (tr_where, tr_freehook, tr_mallochook,
13120 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13122 2014-02-11 David S. Miller <davem@davemloft.net>
13124 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13125 processing int_tests.
13127 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13129 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13130 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13131 * sysdeps/unix/sysv/linux/mips: Move directory from
13132 ports/sysdeps/unix/sysv/linux/mips.
13133 * README: Update listing for mips-*-linux-gnu and
13134 mips64-*-linux-gnu.
13136 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13138 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13139 * sysdeps/unix/sysv/linux/m68k: Move directory from
13140 ports/sysdeps/unix/sysv/linux/m68k.
13141 * README: Update listing for m68k-*-linux-gnu.
13143 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13145 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13146 * sysdeps/unix/sysv/linux/generic: Move directory from
13147 ports/sysdeps/unix/sysv/linux/generic.
13148 * sysdeps/unix/sysv/linux/tile: Move directory from
13149 ports/sysdeps/unix/sysv/linux/tile.
13150 * README: Update listing for tile*-*-linux-gnu.
13152 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13154 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13156 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13157 * catgets/open_catalog.c (__open_catalog): Likewise.
13158 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13159 * debug/confstr_chk.c: Likewise.
13160 * debug/fread_chk.c (__fread_chk): Likewise.
13161 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13162 * debug/getgroups_chk.c: Likewise.
13163 * debug/mbsnrtowcs_chk.c: Likewise.
13164 * debug/mbsrtowcs_chk.c: Likewise.
13165 * debug/mbstowcs_chk.c: Likewise.
13166 * debug/memcpy_chk.c: Likewise.
13167 * debug/memmove_chk.c: Likewise.
13168 * debug/mempcpy_chk.c: Likewise.
13169 * debug/memset_chk.c: Likewise.
13170 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13171 * debug/strcat_chk.c (__strcat_chk): Likewise.
13172 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13173 * debug/strncat_chk.c (__strncat_chk): Likewise.
13174 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13175 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13176 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13177 * debug/wcpncpy_chk.c: Likewise.
13178 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13179 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13180 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13181 * debug/wcsncpy_chk.c: Likewise.
13182 * debug/wcsnrtombs_chk.c: Likewise.
13183 * debug/wcsrtombs_chk.c: Likewise.
13184 * debug/wcstombs_chk.c: Likewise.
13185 * debug/wmemcpy_chk.c: Likewise.
13186 * debug/wmemmove_chk.c: Likewise.
13187 * debug/wmempcpy_chk.c: Likewise.
13188 * debug/wmemset_chk.c: Likewise.
13189 * dirent/scandirat.c (SCANDIRAT): Likewise.
13190 * dlfcn/dladdr1.c (dladdr1): Likewise.
13191 * dlfcn/dladdr.c (dladdr): Likewise.
13192 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13193 * dlfcn/dlerror.c (__dlerror): Likewise.
13194 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13195 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13196 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13197 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13198 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13199 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13200 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13201 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13203 * elf/dl-conflict.c: Likewise.
13204 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13205 * elf/dl-dst.h: Likewise.
13206 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13207 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13209 * elf/dl-init.c (call_init, _dl_init): Likewise.
13210 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13211 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13212 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13214 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13216 * elf/dl-minimal.c (__libc_memalign): Likewise.
13217 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13218 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13219 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13220 * elf/dl-sym.c (do_sym): Likewise.
13221 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13222 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13223 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13224 * elf/dl-writev.h (_dl_writev): Likewise.
13225 * elf/ldconfig.c (search_dir): Likewise.
13226 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13227 (dl_main): Likewise.
13228 * elf/setup-vdso.h (setup_vdso): Likewise.
13229 * grp/compat-initgroups.c (compat_call): Likewise.
13230 * grp/fgetgrent.c (fgetgrent): Likewise.
13231 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13232 * grp/putgrent.c (putgrent): Likewise.
13233 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13235 * hurd/hurdinit.c: Likewise.
13236 * iconvdata/8bit-gap.c (struct): Likewise.
13237 * iconvdata/ansi_x3.110.c : Likewise.
13238 * iconvdata/big5.c : Likewise.
13239 * iconvdata/big5hkscs.c : Likewise.
13240 * iconvdata/cp1255.c: Likewise.
13241 * iconvdata/cp1258.c : Likewise.
13242 * iconvdata/cp932.c : Likewise.
13243 * iconvdata/euc-cn.c: Likewise.
13244 * iconvdata/euc-jisx0213.c : Likewise.
13245 * iconvdata/euc-jp.c: Likewise.
13246 * iconvdata/euc-jp-ms.c : Likewise.
13247 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13248 * iconvdata/gb18030.c : Likewise.
13249 * iconvdata/gbbig5.c (const): Likewise.
13250 * iconvdata/gbgbk.c: Likewise.
13251 * iconvdata/gbk.c : Likewise.
13252 * iconvdata/ibm1364.c : Likewise.
13253 * iconvdata/ibm930.c : Likewise.
13254 * iconvdata/ibm932.c: Likewise.
13255 * iconvdata/ibm933.c : Likewise.
13256 * iconvdata/ibm935.c : Likewise.
13257 * iconvdata/ibm937.c : Likewise.
13258 * iconvdata/ibm939.c : Likewise.
13259 * iconvdata/ibm943.c: Likewise.
13260 * iconvdata/iso_11548-1.c: Likewise.
13261 * iconvdata/iso-2022-cn.c : Likewise.
13262 * iconvdata/iso-2022-cn-ext.c : Likewise.
13263 * iconvdata/iso-2022-jp-3.c: Likewise.
13264 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13265 * iconvdata/iso-2022-kr.c : Likewise.
13266 * iconvdata/iso646.c (gconv_end): Likewise.
13267 * iconvdata/iso_6937-2.c : Likewise.
13268 * iconvdata/iso_6937.c : Likewise.
13269 * iconvdata/iso8859-1.c: Likewise.
13270 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13271 * iconvdata/shift_jisx0213.c : Likewise.
13272 * iconvdata/sjis.c : Likewise.
13273 * iconvdata/t.61.c : Likewise.
13274 * iconvdata/tcvn5712-1.c : Likewise.
13275 * iconvdata/tscii.c: Likewise.
13276 * iconvdata/uhc.c : Likewise.
13277 * iconvdata/unicode.c (gconv_end): Likewise.
13278 * iconvdata/utf-16.c (gconv_end): Likewise.
13279 * iconvdata/utf-32.c (gconv_end): Likewise.
13280 * iconvdata/utf-7.c (base64): Likewise.
13281 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13282 * iconv/gconv_close.c (__gconv_close): Likewise.
13283 * iconv/gconv_open.c (__gconv_open): Likewise.
13284 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13285 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13286 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13287 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13288 (ucs4le_internal_loop_single): Likewise.
13289 * iconv/iconv.c (iconv): Likewise.
13290 * iconv/iconv_close.c: Likewise.
13291 * iconv/loop.c (SINGLE): Likewise.
13292 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13293 * include/atomic.h: Likewise.
13294 * inet/inet6_option.c (option_alloc): Likewise.
13295 * intl/bindtextdom.c (set_binding_values): Likewise.
13296 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13297 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13298 * intl/localealias.c (read_alias_file): Likewise.
13299 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13300 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13301 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13302 * libio/fmemopen.c (fmemopen): Likewise.
13303 * libio/iofgets.c (_IO_fgets): Likewise.
13304 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13305 * libio/iofgetws.c (fgetws): Likewise.
13306 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13307 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13308 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13309 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13310 * locale/findlocale.c (_nl_find_locale): Likewise.
13311 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13312 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13314 * locale/setlocale.c (setlocale): Likewise.
13315 * login/programs/pt_chown.c (main): Likewise.
13316 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13317 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13318 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13319 (mmap, mmap64, mremap, munmap): Likewise.
13320 * math/e_exp2l.c: Likewise.
13321 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13322 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13323 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13324 * math/s_catan.c (__catan): Likewise.
13325 * math/s_catanf.c (__catanf): Likewise.
13326 * math/s_catanh.c (__catanh): Likewise.
13327 * math/s_catanhf.c (__catanhf): Likewise.
13328 * math/s_catanhl.c (__catanhl): Likewise.
13329 * math/s_catanl.c (__catanl): Likewise.
13330 * math/s_ccosh.c (__ccosh): Likewise.
13331 * math/s_ccoshf.c (__ccoshf): Likewise.
13332 * math/s_ccoshl.c (__ccoshl): Likewise.
13333 * math/s_cexp.c (__cexp): Likewise.
13334 * math/s_cexpf.c (__cexpf): Likewise.
13335 * math/s_cexpl.c (__cexpl): Likewise.
13336 * math/s_clog10.c (__clog10): Likewise.
13337 * math/s_clog10f.c (__clog10f): Likewise.
13338 * math/s_clog10l.c (__clog10l): Likewise.
13339 * math/s_clog.c (__clog): Likewise.
13340 * math/s_clogf.c (__clogf): Likewise.
13341 * math/s_clogl.c (__clogl): Likewise.
13342 * math/s_csin.c (__csin): Likewise.
13343 * math/s_csinf.c (__csinf): Likewise.
13344 * math/s_csinh.c (__csinh): Likewise.
13345 * math/s_csinhf.c (__csinhf): Likewise.
13346 * math/s_csinhl.c (__csinhl): Likewise.
13347 * math/s_csinl.c (__csinl): Likewise.
13348 * math/s_csqrt.c (__csqrt): Likewise.
13349 * math/s_csqrtf.c (__csqrtf): Likewise.
13350 * math/s_csqrtl.c (__csqrtl): Likewise.
13351 * math/s_ctan.c (__ctan): Likewise.
13352 * math/s_ctanf.c (__ctanf): Likewise.
13353 * math/s_ctanh.c (__ctanh): Likewise.
13354 * math/s_ctanhf.c (__ctanhf): Likewise.
13355 * math/s_ctanhl.c (__ctanhl): Likewise.
13356 * math/s_ctanl.c (__ctanl): Likewise.
13357 * math/w_pow.c: Likewise.
13358 * math/w_powf.c: Likewise.
13359 * math/w_powl.c: Likewise.
13360 * math/w_scalb.c (sysv_scalb): Likewise.
13361 * math/w_scalbf.c (sysv_scalbf): Likewise.
13362 * math/w_scalbl.c (sysv_scalbl): Likewise.
13363 * misc/error.c (error_tail): Likewise.
13364 * misc/pselect.c (__pselect): Likewise.
13365 * nis/nis_callback.c (__nis_create_callback): Likewise.
13366 * nis/nis_call.c (__nisfind_server): Likewise.
13367 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13368 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13369 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13370 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13371 * nis/nis_lookup.c (nis_lookup): Likewise.
13372 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13373 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13374 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13375 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13376 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13377 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13378 * nis/nss_compat/compat-initgroups.c (add_group)
13379 (internal_getgrent_r): Likewise.
13380 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13381 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13382 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13383 (internal_getspnam_r): Likewise.
13384 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13385 (_nss_nis_getaliasbyname_r): Likewise.
13386 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13387 (_nss_nis_getntohost_r): Likewise.
13388 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13389 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13390 (_nss_nis_getgrgid_r): Likewise.
13391 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13392 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13393 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13394 (_nss_nis_gethostbyname4_r): Likewise.
13395 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13396 (initgroups_netid): Likewise.
13397 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13398 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13399 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13400 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13401 (_nss_nis_getprotobynumber_r): Likewise.
13402 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13403 (_nss_nis_getsecretkey): Likewise.
13404 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13405 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13406 (_nss_nis_getpwuid_r): Likewise.
13407 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13408 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13409 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13410 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13411 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13412 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13413 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13415 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13416 (_nss_nisplus_getntohost_r): Likewise.
13417 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13418 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13419 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13420 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13422 * nis/nss_nisplus/nisplus-initgroups.c
13423 (_nss_nisplus_initgroups_dyn): Likewise.
13424 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13425 (_nss_nisplus_getnetbyaddr_r): Likewise.
13426 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13427 (_nss_nisplus_getprotobynumber_r): Likewise.
13428 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13429 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13430 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13432 * nis/nss_nisplus/nisplus-service.c
13433 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13434 (_nss_nisplus_getservbyport_r): Likewise.
13435 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13436 (_nss_nisplus_getspnam_r): Likewise.
13437 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13439 * nscd/aicache.c (addhstaiX): Likewise.
13440 * nscd/cache.c (cache_search, prune_cache): Likewise.
13441 * nscd/connections.c (register_traced_file, send_ro_fd)
13442 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13443 (main_loop_epoll): Likewise.
13444 * nscd/grpcache.c (addgrbyX): Likewise.
13445 * nscd/hstcache.c (addhstbyX): Likewise.
13446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13447 * nscd/mem.c (gc, mempool_alloc): Likewise.
13448 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13449 (addinnetgrX): Likewise.
13450 * nscd/nscd-client.h (__nscd_acquire_maplock)
13451 (__nscd_drop_map_ref): Likewise.
13452 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13453 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13456 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13458 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13459 (__nscd_get_map_ref): Likewise.
13460 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13461 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13463 * nscd/pwdcache.c (addpwbyX): Likewise.
13464 * nscd/selinux.c (preserve_capabilities): Likewise.
13465 * nscd/servicescache.c (addservbyX): Likewise.
13466 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13467 * posix/fnmatch.c (fnmatch): Likewise.
13468 * posix/getopt.c (_getopt_internal_r): Likewise.
13469 * posix/glob.c (glob, glob_in_dir): Likewise.
13470 * posix/wordexp.c (exec_comm_child): Likewise.
13471 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13472 (getanswer_r, gaih_getanswer_slice): Likewise.
13473 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13474 * resolv/res_init.c: Likewise.
13475 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13476 * resolv/res_query.c (__libc_res_nquery): Likewise.
13477 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13479 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13480 * stdio-common/perror.c (perror): Likewise.
13481 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13482 * stdio-common/tmpnam.c (tmpnam): Likewise.
13483 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13484 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13485 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13487 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13488 * stdlib/putenv.c (putenv): Likewise.
13489 * stdlib/setenv.c (__add_to_environ): Likewise.
13490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13491 * stdlib/strtol_l.c (INTERNAL): Likewise.
13492 * string/memmem.c (memmem): Likewise.
13493 * string/strerror.c (strerror): Likewise.
13494 * string/strnlen.c (__strnlen): Likewise.
13495 * string/test-memmem.c (simple_memmem): Likewise.
13496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13497 * sunrpc/pm_getport.c (__get_socket): Likewise.
13498 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13499 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13500 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13501 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13503 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13504 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13505 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13506 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13507 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13508 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13510 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13512 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13513 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13515 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13516 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13518 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13520 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13521 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13522 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13523 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13529 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13532 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13533 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13534 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13535 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13550 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13554 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13556 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13557 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13558 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13559 * sysdeps/posix/sleep.c: Likewise.
13560 * sysdeps/posix/tempname.c: Likewise.
13561 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13562 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13564 * sysdeps/powerpc/powerpc32/dl-machine.h
13565 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13566 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13568 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13569 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13571 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13573 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13574 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13575 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13576 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13577 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13578 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13579 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13580 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13582 (elf_machine_lazy_rel): Likewise.
13583 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13585 (elf_machine_lazy_rel): Likewise.
13586 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13587 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13588 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13589 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13590 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13591 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13595 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13596 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13597 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13598 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13599 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13600 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13601 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13602 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13603 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13604 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13605 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13607 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13608 (__posix_fallocate64_l64): Likewise.
13609 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13610 (posix_fallocate): Likewise.
13611 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13614 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13615 (getifaddrs_internal): Likewise.
13616 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13617 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13618 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13619 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13620 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13621 (__posix_fallocate64_l64): Likewise.
13622 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13624 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13626 (__get_clockfreq): Likewise.
13627 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13628 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13629 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13633 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13634 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13636 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13637 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13638 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13639 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13641 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13642 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13645 (posix_fallocate): Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13647 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13648 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13649 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13650 (elf_machine_rela, elf_machine_rela_relative)
13651 (elf_machine_lazy_rel): Likewise.
13652 * time/asctime.c (asctime_internal): Likewise.
13653 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13654 * time/tzset.c (__tzset_parse_tz): Likewise.
13655 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13656 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13657 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13658 * wcsmbs/wcsmbsload.h: Likewise.
13661 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13663 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13664 (arena_get2): Remove THREAD_STATS conditionals.
13665 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13666 (__malloc_stats, int): Likewise.
13668 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13670 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13671 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13673 * manual/setjmp.texi: Fix typos/grammar errors.
13675 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13676 Only return early when n is <= 0. Delete unused return statement.
13678 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13679 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13680 * debug/tst-longjmp_chk3.c: New file.
13682 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13683 (test_main): Replace code with set_fortify_handler call.
13684 * debug/test-strcpy_chk.c: Likewise.
13685 * debug/tst-chk1.c: Likewise.
13686 * debug/tst-longjmp_chk.c: Likewise.
13687 * test-skeleton.c: Include fcntl.h & paths.h
13688 (set_fortify_handler): Define.
13690 * debug/tst-longjmp_chk.c: Add header comment and include
13691 ../test-skeleton.c.
13692 (do_test): Mark static.
13693 (TEST_FUNCTION): Define.
13695 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13696 (IP_PMTUDISC_INTERFACE): Likewise.
13697 (IP_MULTICAST_IF): Likewise.
13698 (IP_MULTICAST_TTL): Likewise.
13699 (IP_MULTICAST_LOOP): Likewise.
13700 (IP_ADD_MEMBERSHIP): Likewise.
13701 (IP_DROP_MEMBERSHIP): Likewise.
13702 (IP_UNBLOCK_SOURCE): Likewise.
13703 (IP_BLOCK_SOURCE): Likewise.
13704 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13705 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13706 (IP_MSFILTER): Likewise.
13707 (MCAST_JOIN_GROUP): Likewise.
13708 (MCAST_BLOCK_SOURCE): Likewise.
13709 (MCAST_UNBLOCK_SOURCE): Likewise.
13710 (MCAST_LEAVE_GROUP): Likewise.
13711 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13712 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13713 (MCAST_MSFILTER): Likewise.
13714 (IP_MULTICAST_ALL): Likewise.
13715 (IP_UNICAST_IF): Likewise.
13717 * timezone/Makefile: Delete $(have-ksh) check.
13718 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13719 * timezone/tzselect.ksh: Add +x mode bits.
13721 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13722 (ANON_INODE_FS_MAGIC): Likewise.
13723 (BDEVFS_MAGIC): Likewise.
13724 (BINFMTFS_MAGIC): Likewise.
13725 (BTRFS_TEST_MAGIC): Likewise.
13726 (CRAMFS_MAGIC_WEND): Likewise.
13727 (DEBUGFS_MAGIC): Likewise.
13728 (ECRYPTFS_SUPER_MAGIC): Likewise.
13729 (EXT3_SUPER_MAGIC): Likewise.
13730 (EXT4_SUPER_MAGIC): Likewise.
13731 (FUTEXFS_SUPER_MAGIC): Likewise.
13732 (HOSTFS_SUPER_MAGIC): Likewise.
13733 (HUGETLBFS_MAGIC): Likewise.
13734 (MINIX3_SUPER_MAGIC): Likewise.
13735 (MTD_INODE_FS_MAGIC): Likewise.
13736 (NILFS_SUPER_MAGIC): Likewise.
13737 (OPENPROM_SUPER_MAGIC): Likewise.
13738 (PIPEFS_MAGIC): Likewise.
13739 (PSTOREFS_MAGIC): Likewise.
13740 (QNX6_SUPER_MAGIC): Likewise.
13741 (RAMFS_MAGIC): Likewise.
13742 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13743 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13744 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13745 (SECURITYFS_MAGIC): Likewise.
13746 (SELINUX_MAGIC): Likewise.
13747 (SMACK_MAGIC): Likewise.
13748 (SOCKFS_MAGIC): Likewise.
13749 (SQUASHFS_MAGIC): Likewise.
13750 (STACK_END_MAGIC): Likewise.
13751 (TMPFS_MAGIC): Likewise.
13752 (USBDEVICE_SUPER_MAGIC): Likewise.
13753 (V9FS_MAGIC): Likewise.
13754 (XENFS_SUPER_MAGIC): Likewise.
13755 (CRAMFS_MAGIC): Fix typo in comment.
13756 (EXT2_SUPER_MAGIC): Update comment.
13757 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13759 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13761 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13762 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13763 * sysdeps/unix/sysv/linux/arm: Move directory from
13764 ports/sysdeps/unix/sysv/linux/arm.
13765 * README: Update listing for arm-*-linux-gnueabi.
13767 * README: Remove mention of am33.
13769 2014-02-07 Roland McGrath <roland@hack.frob.com>
13771 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13772 than the comma operator, to avoid "rhs of comma has no effect"
13774 (__sigfillset, __sigandset, __sigorset): Likewise.
13775 * include/signal.h (__sigemptyset): Likewise.
13776 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13778 2014-02-07 Allan McRae <allan@archlinux.org>
13780 * version.h (RELEASE): Set to "development".
13781 (VERSION): Set to "2.19.90"
13782 * NEWS: Add 2.20 section.
13784 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13787 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13789 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13791 * manual/contrib.texi: Update entry for Carlos O'Donell,
13792 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13794 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13796 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13798 * sysdeps/unix/sysv/linux/kernel-features.h
13799 [__LINUX_KERNEL_VERSION >= 0x020621]
13800 (__ASSUME_PROC_PID_TASK_COMM): Define.
13802 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13805 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13806 conversion when destination buffer does not have enough space.
13807 * libio/tst-ftell-partial-wide.c: New test case.
13808 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13810 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13811 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13812 Leonard and Allan McRae.
13814 2014-02-04 David S. Miller <davem@davemloft.net>
13816 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13819 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13848 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13850 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13851 * shlib-versions: Likewise.
13853 2014-02-04 Roland McGrath <roland@hack.frob.com>
13854 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13856 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13857 (abilist-pattern): New variable, set to %-le.abilist.
13859 * Makerules (abilist-pattern): New variable.
13860 (vpath): Use $(abilist-pattern) in place of %.abilist.
13861 (check-abi-% pattern rule): Likewise.
13862 (check-abi, update-abi): Likewise.
13864 2014-02-04 Eric Wong <normalperson@yhbt.net>
13866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13868 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13870 * manual/startup.texi: Add next, previous, and top entries for
13871 the `Program Arguments' and `Environment Variables' nodes.
13873 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13875 * manual/macros.texi: Add comments before MTASC-safety macros.
13877 * manual/users.texi: Document MTASC-safety properties.
13879 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13880 (pthread_getspecific, pthread_setspecific): Format with
13881 @deftypefun, and add @safety note.
13882 * manual/signal.texi: Move comments that analyze the above
13883 functions to their home place.
13885 2014-02-03 Allan McRae <allan@archlinux.org>
13887 * po/sl.po: Update Slovenian translation from translation project.
13889 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13891 * manual/time.texi (timegm): Add missing blank after @c.
13892 Reported by Joseph Myers <joseph@codesourcery.com>.
13894 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13896 * manual/check-safety.sh: New.
13897 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13899 * manual/terminal.texi: Document MTASC-safety properties.
13901 * manual/filesys.texi: Document MTASC-safety properties.
13903 * manual/errno.texi: Document MTASC-safety properties.
13905 * manual/intro.texi: Document safety identifiers and
13908 * manual/string.texi (wcstok): Fix prototype.
13909 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13911 * manual/time.texi: Document MTASC-safety properties.
13913 * manual/string.texi: Document MTASC-safety properties.
13915 * manual/threads.texi: Document MTASC-safety properties.
13917 * manual/stdio.texi: Document MTASC-safety properties.
13919 * manual/syslog.texi: Document MTASC-safety properties.
13921 * manual/sysinfo.texi: Document MTASC-safety properties.
13923 * manual/startup.texi: Document MTASC-safety properties.
13925 * manual/socket.texi: Document MTASC-safety properties.
13927 * manual/signal.texi: Document MTASC-safety properties.
13929 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13931 * manual/setjmp.texi: Document MTASC-safety properties.
13933 * manual/search.texi: Document MTASC-safety properties.
13935 * manual/resource.texi: Document MTASC-safety properties.
13937 * manual/process.texi: Document MTASC-safety properties.
13939 * manual/platform.texi: Document MTASC-safety properties.
13941 * manual/pipe.texi: Document MTASC-safety properties.
13943 * manual/pattern.texi: Document MTASC-safety properties.
13945 * manual/message.texi: Document MTASC-safety properties.
13948 * manual/memory.texi: Document MTASC-safety properties.
13950 * manual/math.texi: Document MTASC-safety properties.
13952 * manual/locale.texi: Document MTASC-safety properties.
13954 * manual/llio.texi: Document MTASC-safety properties.
13956 * manual/libdl.texi: New.
13958 * manual/lang.texi: Document MTASC-safety properties.
13960 * manual/job.texi: Document MTASC-safety properties.
13962 * manual/getopt.texi: Document MTASC-safety properties.
13964 * manual/ctype.texi: Document MTASC-safety properties.
13966 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13969 * csu/libc-tls.c (static_map): Remove variable.
13970 (__libc_setup_tls): Use main executable's link map for TLS data.
13971 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13972 casing for LM_ID_BASE and GL(dl_nns).
13973 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13974 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13975 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13976 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13977 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13979 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13982 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13984 * manual/debug.texi: Document MTASC-safety properties.
13986 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13989 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13990 of __x86_64__ when disabling x87 inline functions.
13992 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13994 * manual/charset.texi: Document MTASC-safety properties.
13996 * manual/crypt.texi: Document MTASC-safety properties.
13998 * manual/conf.texi: Document MTASC-safety properties.
14000 * manual/arith.texi: Document MTASC-safety properties.
14002 * manual/argp.texi: Document MTASC-safety properties.
14004 * manual/macros.texi: Introduce macros to document multi
14005 thread, asynchronous signal and asynchronous cancellation
14007 * manual/intro.texi: Introduce the properties themselves.
14009 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14011 * sysdeps/sh/sh4/Makefile: New file.
14013 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14015 * math/gen-libm-test.pl ($srcdir): New variable.
14016 ($auto_input): Use it.
14018 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14021 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14022 access beyond array bounds when parsing netgroups file.
14024 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14025 the old buffer before realloc.
14027 2014-01-27 Allan McRae <allan@archlinux.org>
14029 * po/fr.po: Update French translation from translation project.
14031 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14033 * sysdeps/sh/libm-test-ulps: Regenerate.
14035 2014-01-24 David S. Miller <davem@davemloft.net>
14037 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14039 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14042 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14044 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14047 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14048 string pointers after reallocation.
14050 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14052 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14053 __SH4A__ instead of __SH_FPU_ANY__.
14055 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14057 * sysdeps/sh/fpu_control.h: New file.
14058 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14059 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14060 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14061 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14062 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14063 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14064 * sysdeps/sh/sys/ucontext.h: Remove.
14065 * sysdeps/sh/sys: Remove directory.
14067 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14069 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14070 s390/sys/ucontext.h.
14071 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14074 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14079 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14083 Adjust the vDSO correctly for internal calls.
14084 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14086 2014-01-20 Allan McRae <allan@archlinux.org>
14088 * po/ca.po: Update Catalan translation from translation project.
14090 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14092 * sysdeps/s390/sotruss-lib.c: New file.
14094 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14098 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14099 local calls issues by not having a PLT stub required for IFUNC calls.
14100 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14102 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14104 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14105 * math/test-fpucw-static.c: Likewise.
14107 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14110 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14112 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14114 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14115 implementation for powerpc.
14117 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14120 * sysdeps/posix/system.c (__libc_system): Do not enable
14121 asynchronous cancellation.
14123 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14126 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14127 handling only for numbers special also in the IEEE case.
14129 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14133 2014-01-11 Allan McRae <allan@archlinux.org>
14135 * po/bg.po: Update Bulgarian translation from translation project.
14137 * po/de.po: Update German translation from translation project.
14139 2014-01-10 Roland McGrath <roland@hack.frob.com>
14141 * sysdeps/generic/gcc-compat.h: New file.
14143 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14145 * benchtests/asin-inputs: Correct slow inputs.
14146 * benchtests/acos-inputs: Likewise.
14148 2014-01-10 Allan McRae <allan@archlinux.org>
14150 * po:sv.po: Update Swedish translation from translation project.
14152 * po/vi.po: Update Vietnamese translation from translation project.
14154 * po/eo.po: Update Esperanto translation from translation project.
14156 * po/cs.po: Update Czech translation from translation project.
14158 * po/nl.po: Update Dutch translation from translation project.
14160 * po/pl.po: Update Polish translation from translation project.
14162 * po/ru.po: Update Russian translation from translation project.
14164 * po/uk.po: Update Ukrainian translation from translation project.
14166 2014-01-08 Brooks Moses <bmoses@google.com>
14168 * elf/dl-load.c: Fix comment typo.
14170 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14172 * po/header.pot: Rename to...
14173 * po/pot.header: ... this.
14174 * po/Makefile: Use pot.header.
14176 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14177 Maxim Kuvyrkov <maxim@kugelworks.com>
14180 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14181 SRC and DEST against LEN.
14183 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14188 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14190 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14194 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14198 for large positive arguments.
14200 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14202 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14204 * math/auto-libm-test-in: Mark various tests with
14205 xfail-rounding:ldbl-128ibm.
14206 * math/auto-libm-test-out: Regenerated.
14209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14210 Increase overflow threshold.
14212 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14215 * stdio-common/vfprintf.c: Check for integer overflow.
14217 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14219 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14220 the first argument and return value of __tls_get_addr_internal.
14222 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14224 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14225 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14227 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14229 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14230 * sysdeps/s390/rtld-global-offsets.sym: New file.
14231 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14233 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14234 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14238 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14244 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14245 halfs of GPRs for high_gprs contexts.
14246 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14247 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14253 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14254 for high GPRs (uc_high_gprs) and for future extensions
14256 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14257 for future extensions (__reserved).
14258 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14260 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14261 SC_HIGHGPRS offset definition.
14262 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14263 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14265 * Versions.def: Add GLIBC_2.19 for libpthread.
14266 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14267 siglongjmp for libpthread with GLIBC_2.19 symver.
14268 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14269 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14270 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14271 * sysdeps/s390/__longjmp.c: New file.
14272 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14273 * sysdeps/s390/longjmp.c: New file.
14274 * sysdeps/s390/setjmp.S: New file.
14275 * sysdeps/s390/sigjmp.S: New file.
14276 * sysdeps/s390/v1-longjmp.c: New file.
14277 * sysdeps/s390/v1-setjmp.h: New file.
14278 * sysdeps/s390/v1-sigjmp.c: New file.
14279 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14280 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14281 GLIBC_2.19 version.
14282 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14283 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14284 versioned symbols for ____longjmp_chk.
14285 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14295 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14296 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14297 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14298 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14299 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14300 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14301 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14302 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14303 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14304 * sysdeps/s390/rtld-__longjmp.c: New file.
14305 * sysdeps/s390/rtld-setjmp.S: New file.
14307 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14310 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14311 Return -__logl (x) for small positive arguments without evaluating
14314 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14316 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14318 (__ptrace_peeksiginfo_args): ... this.
14319 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14323 2014-01-06 Allan McRae <allan@archlinux.org>
14325 * inet/netinet/in.h: Fix typo in comment.
14327 2014-01-05 Andreas Jaeger <aj@suse.de>
14329 * sysdeps/i386/fpu/libm-test-ulps: Update.
14331 2014-01-05 Allan McRae <allan@archlinux.org>
14333 * po/libc.pot: Regenerated.
14335 * malloc/memusagestat.c: Fix gettext call formatting.
14337 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14339 * nscd/nscd.c: Improve usage() output.
14341 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14343 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14344 * sysdeps/unix/sysv/linux/configure: Regenerated.
14345 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14346 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14348 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14352 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14354 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14357 extra tokens at end of #undef directive.
14358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14359 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14360 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14362 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14364 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14366 * math/auto-libm-test-in: Mark various tests with
14367 xfail-rounding:ldbl-128ibm.
14368 * math/auto-libm-test-out: Regenerated.
14370 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14373 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14374 numbers with subnormal high part when calculating exponent.
14377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14383 (__ieee754_acoshl): Use __log1pl not __log1p.
14385 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14387 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14388 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14389 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14390 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14391 (reused_arena, arena_get2): Convert to GNU style.
14392 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14393 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14394 (memalign_check, __malloc_set_state): Likewise.
14395 * malloc/mallocbug.c (main): Likewise.
14396 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14397 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14398 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14399 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14400 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14401 (__posix_memalign, malloc_info): Likewise.
14402 * malloc/malloc.h: Likewise.
14403 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14404 (mallochook, memalignhook, reallochook, mabort): Likewise.
14405 * malloc/mcheck.h: Likewise.
14406 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14407 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14408 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14409 * malloc/morecore.c (__default_morecore): Likewise.
14410 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14411 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14412 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14413 (print_and_abort): Likewise.
14414 * malloc/obstack.h: Likewise.
14415 * malloc/set-freeres.c (__libc_freeres): Likewise.
14416 * malloc/tst-mallocstate.c (main): Likewise.
14417 * malloc/tst-mtrace.c (main): Likewise.
14418 * malloc/tst-realloc.c (do_test): Likewise.
14420 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14423 * nscd/netgroupcache.c (do_notfound): New function.
14424 (addgetnetgrentX): Use it.
14427 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14428 NSS_STATUS_NOTFOUND.
14430 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14435 2014-01-01 Allan McRae <allan@archlinux.org>
14437 * scripts/update-copyrights: Update configure input file suffix.
14439 * NEWS: Update copyright year.
14440 * catgets/gencat.c: Likewise.
14441 * csu/version.c: Likewise.
14442 * debug/catchsegv.sh: Likewise.
14443 * debug/pcprofiledump.c: Likewise.
14444 * debug/xtrace.sh: Likewise.
14445 * elf/ldconfig.c: Likewise.
14446 * elf/ldd.bash.in: Likewise.
14447 * elf/pldd.c: Likewise.
14448 * elf/sotruss.ksh: Likewise.
14449 * elf/sprof.c: Likewise.
14450 * iconv/iconv_prog.c: Likewise.
14451 * iconv/iconvconfig.c: Likewise.
14452 * locale/programs/locale.c: Likewise.
14453 * locale/programs/localedef.c: Likewise.
14454 * login/programs/pt_chown.c: Likewise.
14455 * malloc/memusage.sh: Likewise.
14456 * malloc/memusagestat.c: Likewise.
14457 * malloc/mtrace.pl: Likewise.
14458 * manual/libc.texinfo: Likewise.
14459 * nscd/nscd.c: Likewise.
14460 * nss/getent.c: Likewise.
14461 * nss/makedb.c: Likewise.
14462 * posix/getconf.c: Likewise.
14463 * scripts/test-installation.pl: Likewise.
14465 * All files with FSF copyright notices: Update copyright dates
14466 using scripts/update-copyrights.
14467 * intl/plural.c: Regenerated.
14468 * locale/programs/charmap-kw.h: Likewise.
14469 * locale/programs/locfile-kw.h: Likewise.
14471 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14473 * sysdeps/unix/sysv/linux/configure: Regenerated.
14474 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14475 the linux/fanotify.h header.
14476 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14477 HAVE_LINUX_FANOTIFY_H is defined.
14479 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14481 * benchtests/cos-inputs: New inputs.
14482 * benchtests/sin-inputs: Likewise.
14484 * benchtests/atan-inputs: New inputs. Fix name of multiple
14485 precision fallback inputs.
14487 * benchtests/atanh-inputs: New inputs.
14488 * benchtests/tanh-inputs: Likewise.
14490 * benchtests/acosh-inputs: New inputs.
14491 * benchtests/asinh-inputs: Likewise.
14493 * benchtests/cosh-inputs: New inputs.
14494 * benchtests/sinh-inputs: Likewise.
14496 * benchtests/acos-inputs: Add more inputs.
14497 * benchtests/asin-inputs: Likewise.
14499 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14502 * manual/arith.texi: Fix spelling.
14503 * manual/charset.texi: Likewise.
14504 * manual/errno.texi: Likewise.
14505 * manual/filesys.texi: Likewise.
14506 * manual/lang.texi: Likewise.
14507 * manual/llio.texi: Likewise.
14508 * manual/locale.texi: Likewise.
14509 * manual/message.texi: Likewise.
14510 * manual/resource.texi: Likewise.
14511 * manual/search.texi: Likewise.
14512 * manual/setjmp.texi: Likewise.
14513 * manual/stdio.texi: Likewise.
14514 * manual/string.texi: Likewise.
14515 * manual/sysinfo.texi: Likewise.
14516 * manual/time.texi: Likewise.
14518 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14520 * po/sl.po: New file.
14522 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14524 * .gitignore: Add core/.gdbinit/.gdb_history.
14526 2013-12-27 Allan McRae <allan@archlinux.org>
14529 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14530 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14532 2013-12-24 Brooks Moses <bmoses@google.com>
14534 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14535 all compilers that claim C++98 compliance, not just GCC.
14536 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14539 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14541 * NEWS: Restore accidentally deleted bug-fix entries.
14543 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14544 Ondřej Bílka <neleai@seznam.cz>
14547 * malloc/malloc.c (_int_free): Perform sanity check only if we
14550 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14553 * manual/stdio.texi (String Input Conversions): Clarify that character
14554 classes are not supported.
14556 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14560 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14564 Calculate results for small negative arguments directly rather
14565 than using reflection formula with special underflow handling.
14567 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14568 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14569 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14570 (fchflags): Likewise.
14571 (revoke): Likewise.
14572 (setlogin): Likewise.
14573 (sigaltstack): Likewise.
14575 (sigblock): Remove.
14576 (sigsetmask): Likewise.
14578 (waitpid): Likewise.
14579 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14580 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14582 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14583 * sysdeps/unix/bsd/Makefile: ... here.
14584 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14585 * sysdeps/unix/bsd/Versions: ... here.
14586 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14587 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14588 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14589 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14590 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14591 * sysdeps/unix/bsd/sigblock.c: ... here.
14592 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14593 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14594 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14595 * sysdeps/unix/bsd/sigvec.c: ... here.
14596 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14597 * sysdeps/unix/bsd/tcdrain.c: ... here.
14598 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14599 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14600 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14601 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14602 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14603 * sysdeps/unix/bsd/wait.c: ... here.
14604 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14605 * sysdeps/unix/bsd/wait3.c: ... here.
14606 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14607 * sysdeps/unix/bsd/waitpid.c: ... here.
14609 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14613 round-to-nearest for [!USE_AS_EXPM1L].
14614 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14615 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14616 more tests of exp and exp10. Expect some exp10 tests to miss
14617 exceptions or fail in directed rounding modes.
14618 * math/auto-libm-test-out: Regenerated.
14619 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14620 (exp10_test_tonearest): New function.
14621 (exp10_towardzero_test_data): New array.
14622 (exp10_test_towardzero): New function.
14623 (exp10_downward_test_data): New array.
14624 (exp10_test_downward): New function.
14625 (exp10_upward_test_data): New array.
14626 (exp10_test_upward): New function.
14627 (main): Call the new functions.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14631 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14633 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14634 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14635 * math/auto-libm-test-out: Regenerated.
14636 * math/libm-test.inc (acosh_test_data): Add more tests.
14637 (atanh_test_data): Likewise.
14638 (ceil_test_data): Likewise.
14639 (copysign_test_data): Likewise.
14640 * sysdeps/i386/fpu/libm-test-ulps: Update.
14641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14643 * timezone/checktab.awk: Update from tzcode 2013i.
14644 * timezone/private.h: Likewise.
14645 * timezone/scheck.c: Likewise.
14646 * timezone/tzfile.h: Likewise.
14647 * timezone/tzselect.ksh: Likewise.
14648 * timezone/zdump.c: Likewise.
14649 * timezone/zic.c: Likewise.
14651 * math/auto-libm-test-in: Add tests of cpow.
14652 * math/auto-libm-test-out: Regenerated.
14653 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14656 (func_calc_desc): Add mpc_cc_c union field.
14657 (test_functions): Add cpow.
14658 (special_fill_2pi): New function.
14659 (special_real_inputs): Add 2pi.
14660 (calc_generic_results): Handle mpc_cc_c.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14665 csqrt, ctan and ctanh.
14666 * math/auto-libm-test-out: Regenerated.
14667 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14668 (TEST_COND_x86): Likewise.
14669 (ccos_test_data): Use AUTO_TESTS_c_c.
14670 (ccosh_test_data): Likewise.
14671 (cexp_test_data): Likewise.
14672 (clog_test_data): Likewise.
14673 (csqrt_test_data): Likewise.
14674 (ctan_test_data): Likewise.
14675 (ctan_tonearest_test_data): Likewise.
14676 (ctan_towardzero_test_data): Likewise.
14677 (ctan_downward_test_data): Likewise.
14678 (ctan_upward_test_data): Likewise.
14679 (ctanh_test_data): Likewise.
14680 (ctanh_tonearest_test_data): Likewise.
14681 (ctanh_towardzero_test_data): Likewise.
14682 (ctanh_downward_test_data): Likewise.
14683 (ctanh_upward_test_data): Likewise.
14684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14686 (func_calc_desc): Add mpc_c_c union field.
14687 (FUNC_mpc_c_c): New macro.
14688 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14689 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14691 (special_fill_min_subnorm_p120): New function.
14692 (special_real_inputs): Add min_subnorm_p120.
14693 (calc_generic_results): Handle mpc_c_c.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14697 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14699 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14700 (do_sin_slow): New functions.
14701 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14702 (cslow2, csloww1, csloww2): Use the new functions.
14704 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14705 Use M to change sign of result instead of X. Assume X is
14707 (csloww1): Likewise.
14711 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14712 arguments A and DA.
14716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14718 (sloww1): Don't adjust sign of DX.
14719 (csloww1): Likewise.
14720 (sloww2): Use X directly and don't adjust sign of DX.
14721 (csloww2): Likewise.
14723 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14725 * math/auto-libm-test-in: Add tests of cabs and carg.
14726 * math/auto-libm-test-out: Regenerated.
14727 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14728 (carg_test_data): Likewise.
14729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14731 (func_calc_desc): Add mpc_c_f union field.
14732 (test_functions): Add cabs and carg.
14733 (calc_generic_results): Handle mpc_c_f.
14735 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14736 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14737 as a macro and a compat symbol.
14738 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14739 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14740 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14741 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14742 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14743 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14745 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14747 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14749 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14751 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14753 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14755 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14756 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14759 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14763 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14765 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14766 trailing whitespace removed.
14767 * scripts/config.guess: Update to version 2013-11-29.
14768 * scripts/config.sub: Update to version 2013-10-01.
14770 * math/auto-libm-test-in: Add tests of sincos.
14771 * math/auto-libm-test-out: Regenerated.
14772 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14775 (func_calc_desc): Add mpfr_f_11 union field.
14776 (test_functions): Add sincos.
14777 (calc_generic_results): Handle mpfr_f_11.
14778 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14781 2013-12-19 Andreas Schwab <schwab@suse.de>
14783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14785 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14786 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14787 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14789 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14791 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14792 * sysdeps/i386/fpu/libm-test-ulps: Update.
14793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14797 round-to-nearest mode when using frndint.
14798 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14799 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14802 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14804 * math/auto-libm-test-out: Regenerated.
14805 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14806 (TEST_COND_x86): Likewise.
14807 (expm1_tonearest_test_data): New array.
14808 (expm1_test_tonearest): New function.
14809 (expm1_towardzero_test_data): New array.
14810 (expm1_test_towardzero): New function.
14811 (expm1_downward_test_data): New array.
14812 (expm1_test_downward): New function.
14813 (expm1_upward_test_data): New array.
14814 (expm1_test_upward): New function.
14815 (main): Run the new test functions.
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819 * include/features.h: Update comment documenting feature test
14820 macros. Mention _DEFAULT_SOURCE in comment.
14821 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14822 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14823 _BSD_SOURCE and _SVID_SOURCE.
14824 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14825 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14826 !_SVID_SOURCE]: Likewise.
14827 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14828 (__USE_POSIX_IMPLICITLY): Define.
14829 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14830 (_POSIX_SOURCE): Undefine and redefine.
14831 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14832 (_POSIX_C_SOURCE): Likewise.
14833 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14834 (Feature Test Macros): Update documentation of default features.
14836 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14838 * benchtests/Makefile: Add bench-strtok.
14839 * benchtests/bench-strtok.c: New file: strtok benchtest.
14841 2013-12-19 Allan McRae <allan@archlinux.org>
14843 * manual/install.texi: Suppress menu for plain text output.
14844 * INSTALL: Regenerated.
14846 2013-12-18 Brooks Moses <bmoses@google.com>
14849 * misc/getauxval.c: Include errno.h.
14850 (__getauxval): Set errno to ENOENT if the requested type is not
14852 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14853 don't declare with __attribute_const__.
14854 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14855 * manual/startup.texi: Document that getauxval sets errno.
14857 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14859 * math/auto-libm-test-in: Add tests of jn and yn.
14860 * math/auto-libm-test-out: Regenerated.
14861 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14862 (yn_test_data): Likewise.
14863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14865 (func_calc_desc): Add mpfr_if_f union field.
14866 (FUNC_mpfr_if_f): New macro.
14867 (test_functions): Add jn and yn.
14868 (calc_generic_results): Assert type of second input for
14869 mpfr_ff_f. Handle mpfr_if_f.
14870 (output_for_one_input_case): Disable all checking for arguments
14871 fitting floating-point types in case of an integer argument.
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14876 Don't expect fegetround reference in libm.so.
14878 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14880 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14881 $(config-cflags-nofma).
14883 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14885 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14886 * math/auto-libm-test-out: Regenerated.
14889 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14890 to determine exponent and adjust argument to have exponent of -1.
14891 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14893 * math/auto-libm-test-out: Regenerated.
14894 * sysdeps/i386/fpu/libm-test-ulps: Update.
14895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14899 * manual/probes.texi: Remove cases when per-thread arenas are
14902 2013-12-18 Andreas Schwab <schwab@suse.de>
14904 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14905 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14906 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14907 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14908 * sysdeps/i386/i686/multiarch/Makefile: Update.
14909 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14911 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14913 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14914 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14916 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14919 Support TZ transition times < 00:00:00.
14920 This is needed for version-3 tz-format files; it supports time
14921 stamps past 2037 for America/Godthab (the only entry in the tz
14922 database for which this change is relevant).
14923 * manual/time.texi (TZ Variable): Document transition times
14924 from -167:59:59 through -00:00:01.
14925 * time/tzset.c (tz_rule): Time of day is now signed.
14926 (__tzset_parse_tz): Parse negative time of day.
14928 Document TZ transition times >= 25:00:00.
14929 * manual/time.texi (TZ Variable): Document transition times from
14930 25:00:00 through 167:59:59. These are already supported, and this
14931 support will help with version-3 tz-format files.
14933 * manual/time.texi (TZ Variable): Modernize North America example
14934 to reflect current (i.e., 2007-and-later) daylight saving rules.
14936 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14938 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14940 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14941 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14944 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14945 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14946 * sysdeps/unix/bsd/clock.c: Likewise.
14947 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14948 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14949 * sysdeps/unix/bsd/init-posix.c: Likewise.
14950 * sysdeps/unix/bsd/poll.c: Likewise.
14951 * sysdeps/unix/bsd/ptsname.c: Likewise.
14952 * sysdeps/unix/bsd/seekdir.c: Likewise.
14953 * sysdeps/unix/bsd/setegid.c: Likewise.
14954 * sysdeps/unix/bsd/seteuid.c: Likewise.
14955 * sysdeps/unix/bsd/setgid.c: Likewise.
14956 * sysdeps/unix/bsd/setrgid.c: Likewise.
14957 * sysdeps/unix/bsd/setruid.c: Likewise.
14958 * sysdeps/unix/bsd/setsid.c: Likewise.
14959 * sysdeps/unix/bsd/setuid.c: Likewise.
14960 * sysdeps/unix/bsd/sigaction.c: Likewise.
14961 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14962 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14963 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14964 * sysdeps/unix/bsd/telldir.c: Likewise.
14965 * sysdeps/unix/bsd/times.c: Likewise.
14966 * sysdeps/unix/bsd/usleep.c: Likewise.
14968 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14969 ($(objpfx)libbsd-compat.a): Remove rule.
14971 * include/features.h (__FAVOR_BSD): Do not define.
14972 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14973 features conflicting with POSIX.
14974 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14975 (_BSD_SOURCE): Remove description of not being a subset of other
14976 feature test macros.
14977 * manual/job.texi (getpgrp): Do not document BSD version.
14978 (getpgid): Do not document by reference to BSD getpgrp.
14979 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14980 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14981 * signal/signal.h [__FAVOR_BSD]: Likewise.
14982 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14983 instead of making contents conditional on [__FAVOR_BSD].
14984 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14986 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14990 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14994 values below 2**-450, not 2**-500.
14995 * math/auto-libm-test-in: Don't allow spurious underflow from
14997 * math/auto-libm-test-out: Regenerated.
15001 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15002 values of ha and hb and sort them after adjusting subnormal
15004 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15007 values of ea and eb and sort them after adjusting subnormal
15009 * math/auto-libm-test-in: Do not expect some hypot tests of
15010 subnormals to fail. Add more hypot tests.
15011 * math/auto-libm-test-out: Regenerated.
15013 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15016 * sysdeps/sh/s_fma.c: New file.
15017 * sysdeps/sh/s_fmaf.c: New file.
15018 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15020 * sysdeps/sh/Implies: Add sh/soft-fp.
15022 2013-12-16 Roland McGrath <roland@hack.frob.com>
15024 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15025 level of indirection to members `objname', `errstring', `malloced'.
15026 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15027 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15028 it as the __longjmp argument (just pass 1 instead).
15029 (_dl_catch_error): Initialize C with argument pointers and address of
15030 volatile local ERRCODE rather than copying values out of C at return.
15032 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15034 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15035 * math/auto-libm-test-out: Regenerated.
15036 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15037 (hypot_test_data): Likewise.
15038 (pow_test_data): Likewise.
15039 (pow_tonearest_test_data): Likewise.
15040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15042 (func_calc_desc): Add mpfr_ff_f union field.
15043 (FUNC_mpfr_ff_f): New macro.
15044 (test_functions): Add atan2, hypot and pow.
15045 (special_fill_min): New function.
15046 (special_fill_minus_min): Likewise.
15047 (special_fill_min_subnorm): Likewise.
15048 (special_fill_minus_min_subnorm): Likewise.
15049 (special_real_inputs): Add min, -min, min_subnorm and
15051 (calc_generic_results): Handle mpfr_ff_f.
15052 * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15055 2013-12-16 Will Newton <will.newton@linaro.org>
15057 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15058 (Aligned Memory Blocks): Add documentation for aligned_alloc
15059 and suggest it as an alternative to posix_memalign.
15060 (Hooks for Malloc): Document __memalign_hook is also called
15061 for aligned_alloc. (Summary of Malloc): Add summary for
15062 aligned alloc. Document __memalign_hook is also called
15065 2013-12-16 Will Newton <will.newton@linaro.org>
15067 * manual/memory.texi (Malloc Examples): Clarify default
15068 alignment documentation. Suggest posix_memalign rather
15069 than memalign or valloc.
15070 (Aligned Memory Blocks): Remove suggestion to use memalign
15071 or valloc. Remove obsolete comment about BSD.
15072 Document memalign errno values and mark the function obsolete.
15073 Document posix_memalign returned error codes. Mark valloc
15074 as obsolete. (Hooks for Malloc): __memalign_hook is also
15075 called for posix_memalign and valloc.
15076 (Summary of Malloc): Add posix_memalign to function summary.
15077 __memalign_hook is also called for posix_memalign and valloc.
15079 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15081 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15085 (sloww): Use mynumber union. Expand ternary operator into
15086 if-else statements.
15087 (cslow): use mynumber union.
15089 2013-12-16 Allan McRae <allan@archlinux.org>
15091 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15092 * configure: Regenerated.
15094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15097 * configure.ac: Added --enable-maintainer-mode. Check for
15098 autoconf when enabled.
15099 * configure: Regenerated.
15101 * nscd/nscd.service: New file.
15102 * nscd/nscd.tmpfiles: New file.
15104 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15107 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15108 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15109 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15110 (strstr): Add __strstr_sse2_unaligned ifunc.
15111 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15112 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15113 (strcasestr): Remove __strcasestr_sse42 ifunc.
15114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15118 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15120 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15121 * sysdeps/sh/bits/fenv.h: ... here.
15122 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15129 hypotf multiarch implementations.
15130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15131 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15132 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15133 multiarch hypot for PPC64.
15134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15136 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15137 multiarch hypotf for PPC64.
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15140 modff multiarch implementations.
15141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15144 multiarch modf for PPC64.
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15148 multiarch modff for PPC64.
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15151 and logl multiarch implementations.
15152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15155 multiarch logb for PPC64.
15156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15159 multiarch logb for PPC64.
15160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15163 multiarch logb for PPC64.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15166 isinff multiarch implementation.
15167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15171 multiarch isinf for PPC64.
15172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15175 multiarch isinff for PPC64.
15177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15178 finitef multiarch implementation.
15179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15183 multiarch finite for PPC64.
15184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15187 multiarch finitef for PPC64.
15189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15190 lrint multiarch implementation.
15191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15195 multiarch llrint for PPC64.
15196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15197 multiarch lrint for PPC64.
15199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15200 copysignf multiarch implementation.
15201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15206 multiarch copysign for PPC64.
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15208 multiarch copysignf for PPC64.
15210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15211 multiarch implementation.
15212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15220 multiarch llround for PPC64.
15221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15222 multiarch trunc for PPC64.
15223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15224 multiarch truncf for PPC64.
15226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15227 multiarch implementation.
15228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15236 multiarch llround for PPC64.
15237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15238 multiarch round for PPC64.
15239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15240 multiarch roundf for PPC64.
15242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15243 multiarch implementation.
15244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15252 multiarch llround for PPC64.
15253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15254 multiarch floor for PPC64.
15255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15256 multiarch floorf for PPC64.
15258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15259 multiarch implementation.
15260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15268 multiarch llround for PPC64.
15269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15270 multiarch ceil for PPC64.
15271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15272 multiarch ceilf for PPC64.
15274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15275 multiarch implementation.
15276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15283 multiarch llround for PPC64.
15284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15285 multiarch lround for PPC64.
15287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15288 multiarch implementation.
15289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15296 multiarch isnan for PPC64.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15298 multiarch isnanf for PPC64.
15300 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15301 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15302 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15303 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15304 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15307 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15308 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15313 multiarch implementations.
15314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15315 (__libc_ifunc_impl_list): Likewise.
15316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15317 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15319 multiarch stpcpy for PPC64.
15321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15322 multiarch implementations.
15323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15324 (__libc_ifunc_impl_list): Likewise.
15325 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15326 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15327 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15328 multiarch strcpy for PPC64.
15330 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15331 redefine function name.
15332 (_wordcopy_fwd_dest_aligned): Likewise.
15333 (_wordcopy_bwd_aligned): Likewise.
15334 (_wordcopy_bwd_dest_aligned): Likewise.
15335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15336 multiarch implementations.
15337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15338 (__libc_ifunc_impl_list): Likewise.
15339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15341 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15342 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15343 multiarch wcscpy for PPC64.
15345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15346 multiarch implementations.
15347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15348 (__libc_ifunc_impl_list): Likewise.
15349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15352 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15353 multiarch wcscpy for PPC64.
15355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15356 multiarch implementations.
15357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15358 (__libc_ifunc_impl_list): Likewise.
15359 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15363 multiarch wcsrchr for PPC64.
15365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15366 multiarch implementations.
15367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15368 (__libc_ifunc_impl_list): Likewise.
15369 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15372 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15373 multiarch wcschr for PPC64.
15375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15376 multiarch implementations.
15377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15378 (__libc_ifunc_impl_list): Likewise.
15379 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15380 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15381 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15382 multiarch strchrnul for PPC64.
15384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15387 (__libc_ifunc_impl_list): Likewise.
15388 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15389 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15390 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15391 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15397 (__libc_ifunc_impl_list): Likewise.
15398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15400 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15401 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15405 multiarch implementations.
15406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15407 (__libc_ifunc_impl_list): Likewise.
15408 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15409 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15410 strncasecmp for PPC64.
15411 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15413 multiarch strncasecmp_l for PPC64.
15415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15416 multiarch implementations.
15417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15418 (__libc_ifunc_impl_list): Likewise.
15419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15421 multiarch strcasecmp for PPC64.
15422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15424 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15425 multiarch strcasecmp_l for PPC64.
15427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15430 (__libc_ifunc_impl_list): Likewise.
15431 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15432 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15433 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15439 (__libc_ifunc_impl_list): Likewise.
15440 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15441 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15442 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15448 (__libc_ifunc_impl_list): Likewise.
15449 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15450 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15451 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15452 rawmemrchr for PPC64.
15454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15457 (__libc_ifunc_impl_list): Likewise.
15458 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15460 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15466 (__libc_ifunc_impl_list): Likewise.
15467 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15468 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15469 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15475 (__libc_ifunc_impl_list): Likewise.
15476 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15478 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15481 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15482 avoid cretion of __bzero symbol.
15483 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15485 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15487 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15490 multiarch implementations.
15491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15492 (__libc_ifunc_impl_list): Likewise.
15493 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15494 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15495 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15496 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15498 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15499 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15500 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15501 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15502 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15504 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15506 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15510 (__libc_ifunc_impl_list): Likewise.
15511 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15513 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15514 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15518 multiarch for POWER/PPC64.
15519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15520 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15530 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15531 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15532 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15533 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15534 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15535 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15536 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15537 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15538 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15539 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15540 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15541 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15542 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15543 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15544 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15553 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15557 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15559 * benchtests/Makefile (bench): Add exp2 and log2.
15560 (LDLIBS-bench-exp2): Add -lm.
15561 (LDLIBS-bench-log2): Likewise.
15562 * benchtests/exp2-inputs: New inputs file.
15563 * benchtests/log2-inputs: New inputs file.
15564 * benchtests/log-inputs: Add new inputs.
15565 * benchtests/tan-inputs: Likewise.
15567 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15569 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15571 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15572 (csloww2): ... from here.
15574 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15575 instead of structures.
15576 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15577 (POLYNOMIAL): Likewise.
15578 (TAYLOR_SLOW): Likewise.
15584 (sloww1); Likewise.
15585 (sloww2): Likewise.
15586 (bsloww1): Likewise.
15587 (bsloww2): Likewise.
15588 (cslow2): Likewise.
15589 (csloww): Likewise.
15590 (csloww1): Likewise.
15591 (csloww2): Likewise.
15593 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15595 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15596 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15597 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15598 * malloc/hooks.c (realloc_check): Likewise.
15600 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15601 * malloc/arena.c: Remove PER_THREAD conditional.
15602 [!PER_THREAD]: Remove code.
15603 (ptmalloc_unlock_all2): Likewise.
15604 (ptmalloc_init): Likewise.
15605 (_int_new_arena): Likewise.
15606 (arena_get2): Likewise.
15607 * malloc/hooks.c (__malloc_get_state): Likewise.
15608 (__malloc_set_state): Likewise.
15609 * malloc/malloc.c: Likewise.
15610 (struct malloc_state): Likewise.
15611 (struct malloc_par): Likewise.
15612 (__libc_realloc): Likewise.
15613 (__libc_mallopt): Likewise.
15615 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15617 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15619 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15621 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15622 macro to a function. Check for zero perturb_byte.
15623 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15625 * malloc/malloc.c: (force_reg): Remove.
15626 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15627 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15628 force_reg by atomic_forced_read.
15629 * malloc/arena.c (ptmalloc_init): Likewise.
15630 * malloc/hooks.c (top_check): Likewise.
15632 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15636 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15640 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15642 * math/auto-libm-test-in: Add tests of lgamma.
15643 * math/auto-libm-test-out: Regenerated.
15644 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15645 (M_LOG_2_SQRT_PIl): Likewise.
15646 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15649 (func_calc_desc): Add mpfr_f_f1 union field.
15650 (ARGS1): New macro.
15658 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15659 (test_functions): Add lgamma.
15660 (calc_generic_results): Handle mpfr_f_f1.
15661 * sysdeps/i386/fpu/libm-test-ulps: Update.
15662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15666 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15667 __mpn_add_n for PowerPC64/POWER7.
15668 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15669 __mpn_sub_n for PowerPC64/POWER7.
15671 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15672 __mpn_addmul_1 for PowerPC64.
15673 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15674 __mpn_submul_1 for PowerPC64.
15675 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15677 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15680 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15683 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15687 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15689 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15690 add multiarch folders.
15691 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15692 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15693 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15694 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15695 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15696 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15697 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15698 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15699 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15700 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15701 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15710 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15716 multiarch __ieee754_hypot for PowerPC32.
15717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15722 multiarch __ieee754_hypotf for PowerPC32.
15724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15725 long_double_symbol only if __logbl is defined.
15726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15727 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15729 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15731 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15733 path for implementation.
15734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15735 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15737 logb, and logbl multiarch implementations for PowerPC32.
15738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15743 multiarch logb for PowerPC32.
15744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15749 multiarch logbf for PowerPC32.
15750 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15754 multiarch logbl implementation for PowerPC32.
15756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15757 and modff multiarch implementations.
15758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15763 multiarch modf for PowerPC32.
15764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15769 multiarch modff for PowerPC32.
15771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15772 and lrintf multiarch implementations.
15773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15778 multiarch lrint for PowerPC32.
15779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15780 file: multiarch lrintf for PowerPC32.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15783 and lroundf multiarch implementations.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15791 multiarch lround for PowerPC32.
15792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15793 file: multiarch lroundf for PowerPC32.
15795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15796 copysign and copysignf multiarch implementations.
15797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15802 file: multiarch copysign for PowerPC32.
15803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15804 file: multiarch copysignf for PowerPC32.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15807 and truncf multiarch implementations.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15813 multiarch trunc for PowerPC32.
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15819 multiarch truncf for PowerPC32.
15821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15822 and roundf multiarch implementations.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15828 multiarch round for PowerPC32.
15829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15834 multiarch roundf for PowerPC32.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15837 and floorf multiarch implementations.
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15843 multiarch floor for PowerPC32.
15844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15849 multiarch floorf for PowerPC32.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15852 and ceilf multiarch implementations.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15858 multiarch ceil for PowerPC32.
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15864 multiarch ceilf for PowerPC32.
15866 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15868 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15869 FINITEF is defined.
15870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15871 and finitef multiarch implementations.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15877 multiarch finite for PowerPC32.
15878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15881 file: multiarch finitef for PowerPC32.
15883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15884 and isinff multiarch implementations.
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15890 multiarch isinf for PowerPC32.
15891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15894 multiarch isinff for PowerPC32.
15896 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15897 alias when __isnan is defined.
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15899 and isnanf multiarch implementations.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15909 multiarch isnan for PowerPC32.
15910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15915 multiarch isnanf for PowerPC32.
15917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15918 and sqrtf multiarch implementations.
15919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15924 multiarch sqrt for PowerPC32.
15925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15930 multiarch sqrtf for PowerPC32.
15932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15933 and llroundf multiarch implementations.
15934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15941 file: multiarch llround for PowerPC32.
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15943 file: multiarch llroundf for PowerPC32.
15945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15946 multiarch PowerPC32 fpu implementations.
15947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15952 multiarch llrint for PowerPC32.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15962 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15964 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15966 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15969 multiarch wordcopy for PPC32.
15970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15973 (__libc_ifunc_impl_list): Likewise.
15974 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15975 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15976 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15977 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15979 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15981 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15989 multiarch wcscpy for PPC32.
15990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15993 (__libc_ifunc_impl_list): Likewise.
15994 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15995 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15996 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15997 sysdeps/powerpc/power6/wcscpy.c.
15999 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16007 multiarch wcsrchr for PPC32.
16008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16011 (__libc_ifunc_impl_list): Likewise.
16012 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16013 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16014 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16015 sysdeps/powerpc/power6/wcsrchr.c.
16017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16023 multiarch wcschr for PPc32.
16024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16027 (__libc_ifunc_impl_list): Likewise.
16028 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16029 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16030 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16031 sysdeps/powerpc/power6/wcschr.c.
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16036 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16037 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16038 file: multiarch strchr for PPC32.
16039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16042 (__libc_ifunc_impl_list): Likewise.
16044 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16046 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16048 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16050 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16051 multiarch strchrnul for PPC32.
16052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16055 (__libc_ifunc_impl_list): Likewise.
16057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16060 multiarch strncasecmp for PPC32.
16061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16064 multiarch strncasecmp_l for PPC32.
16065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16066 strncasecmp multiarch objects.
16067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16068 (__libc_ifunc_impl_list): Likewise.
16070 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16072 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16073 multiarch strncasecmp for PPC32.
16074 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16076 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16077 multiarch strcasecmp_l for PPC32.
16078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16081 (__libc_ifunc_impl_list): Likewise.
16083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16088 multiarch strncmp for PPC32.
16089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16092 (__libc_ifunc_impl_list): Likewise.
16094 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16095 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16102 (__libc_ifunc_impl_list): Likewise.
16104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16112 (__libc_ifunc_impl_list): Likewise.
16114 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16116 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16118 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16119 multiarch rawmemchr for PPC32.
16120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16123 (__libc_ifunc_impl_list): Likewise.
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16130 file: memrchr multiarch for PPC32.
16131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16134 (__libc_ifunc_impl_list): Likewise.
16136 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16141 multiarch memchr for PPC32.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16145 (__libc_ifunc_impl_list): Likewise.
16147 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16148 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16152 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16153 file: multiarch mempcpy for PPC32.
16154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16157 (__libc_ifunc_impl_list): Likewise.
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16160 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16162 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16163 multiarch bzero for PPC32.
16164 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16166 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16168 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16169 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16170 file: multiarch memset for PPC32.
16171 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16173 memset multiarch objects.
16174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16175 (__libc_ifunc_impl_list): Likewise.
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16186 (__libc_ifunc_impl_list): Likewise.
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16196 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16197 multiarch memcpy for PPC32.
16198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16201 (__libc_ifunc_impl_list): Likewise.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16204 support multiarch for POWER/PPC32.
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16209 Implies file to make multiarch folder appers before the fpu and
16210 default folder for power4 configuration.
16212 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16214 * scripts/bench.pl: Append volatile keyword to type.
16216 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16218 * sysdeps/sh/sotruss-lib.c: New file.
16219 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16221 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16225 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16228 * math/w_tgamma.c: Include <errno.h>.
16229 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16230 * math/w_tgammaf.c: Include <errno.h>.
16231 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16232 * math/w_tgammal.c: Include <errno.h>.
16233 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16234 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16235 underflow. Add more tgamma tests.
16236 * math/auto-libm-test-out: Regenerated.
16237 * sysdeps/i386/fpu/libm-test-ulps: Update.
16238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16240 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16241 sin, sinh, tan, tanh, tgamma, y0 and y1.
16242 * math/auto-libm-test-out: Regenerated.
16243 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16244 (TEST_COND_x86): Likewise.
16245 (M_E2l): Remove macro.
16247 (M_2_SQRT_PIl): Likewise.
16248 (M_SQRT_PIl): Likewise.
16249 (M_1_DIV_El): Likewise.
16250 (log_test_data): Use AUTO_TESTS_f_f.
16251 (log10_test_data): Likewise.
16252 (log1p_test_data): Likewise.
16253 (log2_test_data): Likewise.
16254 (sin_test_data): Likewise.
16255 (sin_tonearest_test_data): Likewise.
16256 (sin_towardzero_test_data): Likewise.
16257 (sin_downward_test_data): Likewise.
16258 (sin_upward_test_data): Likewise.
16259 (sinh_test_data): Likewise.
16260 (sinh_tonearest_test_data): Likewise.
16261 (sinh_towardzero_test_data): Likewise.
16262 (sinh_downward_test_data): Likewise.
16263 (sinh_upward_test_data): Likewise.
16264 (tan_test_data): Likewise.
16265 (tan_tonearest_test_data): Likewise.
16266 (tan_towardzero_test_data): Likewise.
16267 (tan_downward_test_data): Likewise.
16268 (tan_upward_test_data): Likewise.
16269 (tanh_test_data): Likewise.
16270 (tgamma_test_data): Likewise.
16271 (y0_test_data): Likewise.
16272 (y1_test_data): Likewise.
16273 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16274 (special_real_inputs): Add pi/4.
16275 * sysdeps/i386/fpu/libm-test-ulps: Update.
16276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16278 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16280 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16281 "longjmp_target" static probes.
16282 (__longjmp): Rename to __longjmp_symbol.
16283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16284 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16285 on which longjmp to generate.
16286 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16287 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16290 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16291 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16293 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16296 __longjmp_symbol based on which __longjmp to generate.
16297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16299 (setjmp): Rename to setjmp_symbol.
16300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16301 (_setjmp): Rename to _setjmp_symbol.
16302 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16303 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16304 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16305 which setjmp to generate.
16306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16307 "longjmp_target" static probes.
16309 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16311 * benchtests/README: Add note about output arguments.
16312 * benchtests/bench-sincos.c: Remove file.
16313 * benchtests/sincos-inputs: New file.
16314 * scripts/bench.pl: Identify output arguments and define
16315 static variables for them.
16317 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16320 * Makefile (INSTALL): Add install-plain.texi as the primary
16322 * manual/install-plain.texi: New file.
16323 * manual/install.texi: Include node directive only for
16324 non-plaintext output.
16326 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16328 * stdlib/longlong.h: Update from GCC.
16332 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16333 * math/w_j0f.c (y0f): Likewise.
16334 * math/w_j0l.c (__y0l): Likewise.
16335 * math/w_j1.c (y1): Likewise.
16336 * math/w_j1f.c (y1f): Likewise.
16337 * math/w_j1l.c (__y1l): Likewise
16338 * math/w_jn.c (yn): Likewise.
16339 * math/w_jnf.c (ynf): Likewise.
16340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16341 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16342 value for Bessel function domain errors outside _SVID_ mode.
16343 Adjust sign of return value for yn (negative integer, 0).
16344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16345 by zero in return for negative x and set sign appropriately for
16347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16349 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16350 expectations in error cases.
16351 (y1_test_data): Likewise.
16352 (yn_test_data): Likewise.
16353 * sysdeps/i386/fpu/libm-test-ulps: Update.
16354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16356 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16358 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16359 "64" to "64-v1". Add "64-v2".
16360 (abi-64-options): Rename to ...
16361 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16362 (abi-64-condition): Rename to ...
16363 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16364 (abi-64-ld-soname): Rename to ...
16365 (abi-64-v1-ld-soname): ... this.
16366 (abi-64-v2-options): Define.
16367 (abi-64-v2-condition): Likewise.
16368 (abi-64-v2-ld-soname): Likewise.
16369 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16370 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16375 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16376 Alan Modra <amodra@gmail.com>
16378 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16379 New versions for use with the ELFv2 ABI.
16380 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16381 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16383 (struct La_ppc64v2_retval): Likewise.
16384 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16385 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16386 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16387 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16388 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16390 Do not save or restore CR.
16391 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16392 (_dl_profile_resolve): Do no save or restore CR. Support extended
16393 return values for ELFv2 ABI. Fix location of FPR return registers.
16394 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16395 updated values for _CALL_ELF == 2.
16396 (La_regs, La_retval, int_retval): Likewise.
16398 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16400 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16401 (FRAME_MIN_SIZE_PARM): Likewise.
16402 (FRAME_BACKCHAIN): Likewise.
16403 (FRAME_CR_SAVE): Likewise.
16404 (FRAME_LR_SAVE): Likewise.
16405 (FRAME_TOC_SAVE): Likewise.
16406 (FRAME_PARM_SAVE): Likewise.
16407 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16408 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16409 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16410 (call_mcount_parm_offset): New macro.
16411 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16412 (PROF): Use symbolic stack frame offsets.
16413 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16415 Redefine in terms of FRAME_MIN_SIZE.
16416 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16417 (_dl_profile_resolve): Likewise. Update comment.
16418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16419 symbols stack frame offsets.
16420 (__sigsetjmp): Likewise.
16421 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16422 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16424 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16427 (FRAME_BACKCHAIN): Remove.
16428 (FRAME_CR_SAVE): Likewise.
16429 (FRAME_LR_SAVE): Likewise.
16430 (FRAME_COMPILER_DW): Likewise.
16431 (FRAME_LINKER_DW): Likewise.
16432 (FRAME_TOC_SAVE): Likewise.
16433 (FRAME_PARM_SAVE): Likewise.
16434 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16435 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16436 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16438 (CHECK_SP): Use symbolic stack frame offsets.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16440 zone" instead of caller's parameter save area for temp storage.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16442 Likewise. Also, use symbolic stack frame offsets.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16444 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16445 our own stack frame instead of the caller's.
16446 (__socket): Use symbolic stack frame offsets.
16448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16449 Alan Modra <amodra@gmail.com>
16451 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16453 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16454 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16455 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16457 (elf_machine_fixup_plt): Call it.
16458 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16460 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16462 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16463 r2 before calling target.
16465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16466 Alan Modra <amodra@gmail.com>
16468 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16469 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16470 versions of macros to support ELFv2 ABI.
16471 (LOCALENTRY): New macro.
16472 (ENTRY, EALIGN): Use it.
16473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16474 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16475 fall through into ENTRY entry point.
16476 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16477 Only define if _CALL_ELF != 2.
16479 (elf_machine_matches_host): Verify ABI version matches.
16480 (RTLD_START): Use LOCALENTRY.
16481 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16482 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16483 (PLT_ENTRY_WORDS): New macro.
16484 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16485 (elf_machine_runtime_setup): Support ELFv2 ABI.
16486 (elf_machine_fixup_plt): Likewise.
16487 (elf_machine_plt_conflict): Likewise.
16488 (resolve_ifunc): Likewise.
16489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16493 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16495 (makecontext): Support ELFv2 ABI.
16496 * elf/elf.h (EF_PPC64_ABI): Define.
16498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16500 * sysdeps/powerpc/powerpc64/sysdep.h
16501 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16502 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16503 (ENTRY) [ASSEMBLER]: ... but instead here ...
16504 (EALIGN) [ASSEMBLER]: ... and here.
16505 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16506 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16507 (ENTRY_2) [!ASSEMBLER]: Use it.
16508 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16509 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16511 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16512 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16514 Use PPC64_LOAD_FUNCPTR.
16516 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16518 2013-12-04 Alan Modra <amodra@gmail.com>
16520 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16521 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16522 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16523 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16526 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16527 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16528 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16529 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16530 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16532 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16535 (__makecontext): Fix incorrect CFI when backtracing out of
16536 context created via makecontext.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16538 (__setcontext): Fix incorrect CFI during switch to new context.
16539 (__novec_setcontext): Likewise.
16541 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16544 * time/strptime_l.c (__strptime_internal): Allow modifiers
16546 * time/tst-strptime.c (day_tests): Add testcase.
16548 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16550 * scripts/bench.pl: Skip over blank lines.
16552 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16555 * manual/time.texi (Calendar Time): Clarify what timezone functions
16558 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16562 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16564 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16566 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16567 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16568 * debug/memset_chk.c (__memset_chk): Likewise.
16569 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16570 * debug/strncpy_chk.c: Likewise.
16572 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16576 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16577 (__ieee754_exp): For possibly underflowing results, check size of
16578 result and force underflow exception if required.
16579 * math/auto-libm-test-in: Add more tests of exp.
16580 * math/auto-libm-test-out: Regenerated.
16581 * sysdeps/i386/fpu/libm-test-ulps: Update.
16582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16586 * math/w_exp2f.c (__exp2f): Likewise.
16587 * math/w_exp2l.c (__exp2l): Likewise.
16588 * math/auto-libm-test-in: Do not allow missing errno on exp2
16590 * math/auto-libm-test-out: Regenerated.
16592 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16595 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16596 handle filename validation.
16597 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16600 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16603 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16604 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16605 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16607 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16609 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16611 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16613 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16614 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16615 Add more erfc tests.
16616 * math/auto-libm-test-out: Regenerated.
16617 * sysdeps/i386/fpu/libm-test-ulps: Update.
16618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16620 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16621 exp2, expm1, j0 and j1.
16622 * math/auto-libm-test-out: Regenerated.
16623 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16624 (erfc_test_data): Likewise.
16625 (exp_test_data): Likewise.
16626 (exp_tonearest_test_data): Likewise.
16627 (exp_towardzero_test_data): Likewise.
16628 (exp_downward_test_data): Likewise.
16629 (exp_upward_test_data): Likewise.
16630 (exp10_test_data): Likewise.
16631 (exp2_test_data): Likewise.
16632 (expm1_test_data): Likewise.
16633 (j0_test_data): Likewise.
16634 (j1_test_data): Likewise.
16635 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16636 (input_flag_type): Add flag_xfail_rounding.
16637 (input_flags): Add xfail-rounding.
16638 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16639 (output_for_one_input_case): Handle flag_xfail_rounding.
16640 * sysdeps/i386/fpu/libm-test-ulps: Update.
16641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16643 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16646 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16649 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16652 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16653 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16654 (STAP_PROBE0): New macro.
16655 (STAP_PROBE1): Likewise.
16656 (STAP_PROBE2): Likewise.
16657 (STAP_PROBE3): Likewise.
16658 (STAP_PROBE4): Likewise.
16660 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16662 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16664 2013-12-02 Steve Ellcey <sellcey@mips.com>
16666 * benchtests/Makefile (bench): Add sqrt.
16667 (LDLIBS-bench-sqrt): New.
16668 * benchtests/sqrt-input: New.
16670 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16672 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16673 (GAIH_EAI): Likewise.
16674 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16675 (gaih_inet): Likewise.
16676 (getaddrinfo): Don't use GAIH_EAI.
16678 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16679 (struct gaih): Remove definition.
16681 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16683 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16684 Use HERRNOP directly.
16686 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16690 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16692 * math/gen-auto-libm-tests.c (test_functions): Add more
16693 single-argument functions.
16694 (special_fill_pi_2): New function.
16695 (special_fill_minus_pi_2): Likewise.
16696 (special_fill_pi_6): Likewise.
16697 (special_fill_minus_pi_6): Likewise.
16698 (special_fill_pi_3): Likewise.
16699 (special_fill_2pi_3): Likewise.
16700 (special_fill_e): Likewise.
16701 (special_fill_1_e): Likewise.
16702 (special_fill_e_minus_1): Likewise.
16703 (special_real_inputs): Add more special inputs.
16704 (output_for_one_input_case): Do not require ERANGE on underflow to
16705 zero if round-to-nearest result does not underflow to zero, unless
16706 exact results required.
16707 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16708 atan, atanh, cbrt, cos and cosh.
16709 * math/auto-libm-test-out: Regenerated.
16710 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16711 (acos_tonearest_test_data): Likewise.
16712 (acos_towardzero_test_data): Likewise.
16713 (acos_downward_test_data): Likewise.
16714 (acos_upward_test_data): Likewise.
16715 (acosh_test_data): Likewise.
16716 (asin_test_data): Likewise.
16717 (asin_tonearest_test_data): Likewise.
16718 (asin_towardzero_test_data): Likewise.
16719 (asin_upward_test_data): Likewise.
16720 (asinh_test_data): Likewise.
16721 (atan_test_data): Likewise.
16722 (atanh_test_data): Likewise.
16723 (cbrt_test_data): Likewise.
16724 (cos_test_data): Likewise.
16725 (cos_tonearest_test_data): Likewise.
16726 (cos_towardzero_test_data): Likewise.
16727 (cos_downward_test_data): Likewise.
16728 (cos_upward_test_data): Likewise.
16729 (cosh_test_data): Likewise.
16730 (cosh_tonearest_test_data): Likewise.
16731 (cosh_towardzero_test_data): Likewise.
16732 (cosh_downward_test_data): Likewise.
16733 (cosh_upward_test_data): Likewise.
16734 * sysdeps/i386/fpu/libm-test-ulps: Update.
16735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16737 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16740 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16741 * math/w_exp10f.c (__exp10f): Likewise.
16742 * math/w_exp10l.c (__exp10l): Likewise.
16743 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16744 errno settings in existing tests.
16747 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16748 precision control set to double precision.
16749 * sysdeps/i386/fpu/w_sqrt.c: New file.
16750 * math/auto-libm-test-in: Add more tests.
16751 * math/auto-libm-test-out: Update.
16753 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16754 (sqrt_test_tonearest): New function.
16755 (sqrt_towardzero_test_data): New variable.
16756 (sqrt_test_towardzero): New function.
16757 (sqrt_downward_test_data): New variable.
16758 (sqrt_test_downward): New function.
16759 (sqrt_upward_test_data): New variable.
16760 (sqrt_test_upward): New function.
16761 (main): Call the new functions.
16763 * math/gen-auto-libm-tests.c: New file.
16764 * math/auto-libm-test-in: Likewise.
16765 * math/auto-libm-test-out: New generated file.
16766 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16768 (%beautify): Add generated representations of zero.
16769 (top level): Set $auto_input and call parse_auto_input.
16770 (beautify): Remove trailing "f" from hex float constants.
16771 (parse_args): Handle XFAIL_TEST.
16772 (convert_condition): New function.
16773 (or_value): Likewise.
16774 (or_cond_value): Likewise.
16775 (generate_testfile): Handle AUTO_TESTS_* lines.
16776 (parse_auto_input): New function.
16777 * math/libm-test.inc (XFAIL_TEST): New macro.
16778 (ERRNO_UNCHANGED): Update value.
16779 (ERRNO_EDOM): Likewise.
16780 (ERRNO_ERANGE): Likewise.
16781 (IGNORE_RESULT): Likewise.
16782 (TEST_COND_flt_32): New macro.
16783 (TEST_COND_dbl_64): Likewise.
16784 (TEST_COND_ldbl_96_intel): Likewise.
16785 (TEST_COND_ldbl_96_m68k): Likewise.
16786 (TEST_COND_ldbl_128): Likewise.
16787 (TEST_COND_ldbl_128ibm): Likewise.
16788 (TEST_COND_long32): Likewise.
16789 (TEST_COND_long64): Likewise.
16790 (TEST_COND_before_rounding): Likewise.
16791 (TEST_COND_after_rounding): Likewise.
16792 (enable_test): Handle XFAIL_TEST flag.
16793 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16794 with finite results.
16795 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16796 auto-libm-test-out.
16798 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16802 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16803 __tls_get_addr_internal instead of __tls_get_offset in order to
16804 avoid GOT pointer dependency. Make rtld export
16805 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16806 __tls_get_addr since we are a __tls_get_offset platform.
16807 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16808 GOT pointer being set up before.
16809 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16811 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16813 * manual/math.texi (Errors in Math Functions): Document accuracy
16817 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16818 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16834 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16835 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16836 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16837 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16838 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16840 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16842 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16844 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16845 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16846 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16847 atomic-feupdateenv and flt-rounds.
16848 * sysdeps/powerpc/nofpu/Versions (libc): Add
16849 __atomic_feholdexcept, __atomic_feclearexcept,
16850 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16852 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16853 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16854 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16859 * manual/arith.texi (FP Exceptions): Document that exceptions may
16860 not be raised when matherr is used.
16861 (Math Error Reporting): Document overflow in directed rounding
16862 modes. Document that errno may not be set when finite values are
16863 returned on overflow. Document intent to set errno on underflow
16864 only for underflow to zero.
16867 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16868 round-to-nearest then adjust result for other rounding modes.
16869 * include/fenv.h (fegetround): Use libm_hidden_proto.
16870 * math/fegetround.c (fegetround): Use libm_hidden_def.
16871 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16872 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16873 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16876 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16878 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16879 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16881 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16884 * nss/Versions (libnss_files): Add
16885 _nss_files_gethostbyname3_r.
16886 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16888 (HOST_DB_LOOKUP): Remove macro.
16889 (_nss_files_gethostbyname_r): Implement function without the
16890 HOST_DB_LOOKUP macro.
16891 (_nss_files_gethostbyname2_r): Likewise.
16893 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16895 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16897 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16899 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16900 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16903 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16905 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16906 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16907 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16908 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16910 __fe_nomask_env_priv and attribute_hidden.
16911 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16912 (libc_feupdateenv_test_ppc): Likewise.
16913 (libc_feresetround_ppc): Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16915 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16916 compat_symbol macro.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16918 (__fe_nomask_env): Likewise.
16919 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16921 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16923 * string/Makefile: Remove ifunc tests.
16924 * string/test-string.h: Define TEST_IFUNC.
16925 * string/test-bcopy-ifunc.c: Remove.
16926 * string/test-bzero-ifunc.c: Likewise.
16927 * string/test-memccpy-ifunc.c: Likewise.
16928 * string/test-memchr-ifunc.c: Likewise.
16929 * string/test-memcmp-ifunc.c: Likewise.
16930 * string/test-memcpy-ifunc.c: Likewise.
16931 * string/test-memmem-ifunc.c: Likewise.
16932 * string/test-memmove-ifunc.c: Likewise.
16933 * string/test-mempcpy-ifunc.c: Likewise.
16934 * string/test-memrchr-ifunc.c: Likewise.
16935 * string/test-memset-ifunc.c: Likewise.
16936 * string/test-rawmemchr-ifunc.c: Likewise.
16937 * string/test-stpcpy-ifunc.c: Likewise.
16938 * string/test-stpncpy-ifunc.c: Likewise.
16939 * string/test-strcasecmp-ifunc.c: Likewise.
16940 * string/test-strcasestr-ifunc.c: Likewise.
16941 * string/test-strcat-ifunc.c: Likewise.
16942 * string/test-strchr-ifunc.c: Likewise.
16943 * string/test-strchrnul-ifunc.c: Likewise.
16944 * string/test-strcmp-ifunc.c: Likewise.
16945 * string/test-strcpy-ifunc.c: Likewise.
16946 * string/test-strcspn-ifunc.c: Likewise.
16947 * string/test-strlen-ifunc.c: Likewise.
16948 * string/test-strncasecmp-ifunc.c: Likewise.
16949 * string/test-strncat-ifunc.c: Likewise.
16950 * string/test-strncmp-ifunc.c: Likewise.
16951 * string/test-strncpy-ifunc.c: Likewise.
16952 * string/test-strnlen-ifunc.c: Likewise.
16953 * string/test-strpbrk-ifunc.c: Likewise.
16954 * string/test-strrchr-ifunc.c: Likewise.
16955 * string/test-strspn-ifunc.c: Likewise.
16956 * string/test-strstr-ifunc.c: Likewise.
16958 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16960 * benchtests/Makefile: Remove ifunc tests.
16961 * benchtests/bench-string.h: Define TEST_IFUNC.
16962 * benchtests/bench-bcopy-ifunc.c: Remove.
16963 * benchtests/bench-bzero-ifunc.c: Likewise.
16964 * benchtests/bench-memccpy-ifunc.c: Likewise.
16965 * benchtests/bench-memchr-ifunc.c: Likewise.
16966 * benchtests/bench-memcmp-ifunc.c: Likewise.
16967 * benchtests/bench-memcpy-ifunc.c: Likewise.
16968 * benchtests/bench-memmem-ifunc.c: Likewise.
16969 * benchtests/bench-memmove-ifunc.c: Likewise.
16970 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16971 * benchtests/bench-memrchr-ifunc.c: Likewise.
16972 * benchtests/bench-memset-ifunc.c: Likewise.
16973 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16974 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16975 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16976 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16977 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16978 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16979 * benchtests/bench-strcat-ifunc.c: Likewise.
16980 * benchtests/bench-strchr-ifunc.c: Likewise.
16981 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16982 * benchtests/bench-strcmp-ifunc.c: Likewise.
16983 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16984 * benchtests/bench-strcpy-ifunc.c: Likewise.
16985 * benchtests/bench-strcspn-ifunc.c: Likewise.
16986 * benchtests/bench-strlen-ifunc.c: Likewise.
16987 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16988 * benchtests/bench-strncat-ifunc.c: Likewise.
16989 * benchtests/bench-strncmp-ifunc.c: Likewise.
16990 * benchtests/bench-strncpy-ifunc.c: Likewise.
16991 * benchtests/bench-strnlen-ifunc.c: Likewise.
16992 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16993 * benchtests/bench-strrchr-ifunc.c: Likewise.
16994 * benchtests/bench-strsep-ifunc.c: Likewise.
16995 * benchtests/bench-strspn-ifunc.c: Likewise.
16996 * benchtests/bench-strstr-ifunc.c: Likewise.
16998 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17000 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17002 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17004 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17005 * rt/aio.h: Likewise.
17006 * sysdeps/gnu/bits/utmp.h: Likewise.
17007 * sysdeps/gnu/bits/utmpx.h: Likewise.
17008 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17009 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17010 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17011 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17012 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17013 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17014 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17015 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17016 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17018 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17019 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17020 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17022 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17023 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17024 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17026 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17027 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17028 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17029 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17030 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17031 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17034 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17035 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17036 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17037 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17040 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17041 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17043 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17045 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17046 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17047 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17048 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17049 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17051 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17054 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17055 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17057 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17059 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17060 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17063 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17065 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17066 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17067 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17068 (__fesetround): Remove define.
17069 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17070 rounding and exceptions handling.
17071 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17072 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17073 (__fe_nomask_env): Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17075 __fegetround instead of fegetround.
17076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17079 2013-11-21 Roland McGrath <roland@hack.frob.com>
17081 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17084 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17086 2013-11-21 Meador Inge <meadori@codesourcery.com>
17089 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17090 (encrypt_r): Likewise.
17091 * malloc/obstack.h (obstack_free): Likewise.
17092 * posix/unistd.h (encrypt): Likewise.
17094 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17096 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17097 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17098 DL_CALL_DT_FINI() that call the functions directly.
17099 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17100 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17101 * elf/dl-fini.c: Likewise.
17103 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17105 * malloc/hooks.c (memalign_check): Add alignment rounding.
17106 * malloc/malloc.c (_mid_memalign): New function.
17107 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17108 Implement by calling _mid_memalign.
17109 * manual/probes.texi (Memory Allocation Probes): Remove
17110 memory_valloc_retry and memory_pvalloc_retry.
17112 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17114 * locale/programs/locarchive.c (open_archive): Add const
17115 qualifier to ARCHIVEFNAME and copy default fname to
17119 * libio/tst-widetext.input: Rename Oriya to Odia.
17120 * locale/iso-639.def: Likewise.
17122 * manual/probes.texi (Mathematical Function Probes): Add
17123 documentation for sin, cos, asin and acos probes.
17124 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17125 (__sin32): Add slowasin probe.
17126 (__cos32): Add slowacos probe.
17127 (__mpsin): Add slowsin probe.
17128 (__mpcos): Add slowcos probe.
17130 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17133 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17134 thread-local __sim_exceptions_thread and global
17135 __sim_exceptions_global.
17136 (__sim_disabled_exceptions): Change to thread-local
17137 __sim_disabled_exceptions_thread and global
17138 __sim_disabled_exceptions_global.
17139 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17140 and global __sim_round_mode_global.
17141 (__simulate_exceptions): Use thread-local floating-point state and
17142 set global state from it as needed.
17143 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17144 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17145 __sim_round_mode_thread.
17146 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17147 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17148 and global __sim_exceptions_global.
17149 (__sim_disabled_exceptions): Change to thread-local
17150 __sim_disabled_exceptions_thread and global
17151 __sim_disabled_exceptions_global.
17152 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17153 and global __sim_round_mode_global.
17154 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17155 (SIM_SET_GLOBAL): Likewise.
17156 * sysdeps/powerpc/soft-fp/sfp-machine.h
17157 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17158 __sim_round_mode_thread.
17159 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17160 __sim_disabled_exceptions_thread.
17161 (__sim_exceptions): Change to __sim_exceptions_thread.
17162 (__sim_disabled_exceptions): Change to
17163 __sim_disabled_exceptions_thread.
17164 (__sim_round_mode): Change to __sim_round_mode_thread.
17165 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17166 thread-local floating-point state and set global state from it as
17168 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17169 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17170 (__sim_disabled_exceptions): Remove extern declaration.
17171 (feenableexcept): Use thread-local floating-point state and set
17172 global state from it as needed.
17173 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17174 extern declaration.
17175 (__sim_disabled_exceptions): Likewise.
17176 (__sim_round_mode): Likewise.
17177 (__fegetenv): Use thread-local floating-point state.
17178 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17179 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17180 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17181 floating-point state and set global state from it as needed.
17182 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17183 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17184 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17186 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17187 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17189 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17190 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17191 Use __sim_round_mode_thread.
17192 * math/test-fenv-tls.c: New file.
17193 * math/Makefile (tests): Add test-fenv-tls.
17194 ($(objpfx)test-fenv-tls): Depend on
17195 $(common-objpfx)nptl/libpthread.so.
17197 2013-11-19 Andreas Schwab <schwab@suse.de>
17199 * locale/programs/locale.c (show_info): Decode wordarray elements.
17200 * locale/categories.def (LC_MONETARY): Add element for
17201 _NL_MONETARY_CRNCYSTR.
17202 * locale/C-monetary.c (conversion_rate): New variable.
17203 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17206 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17208 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17209 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17211 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17213 * elf/Makefile (tst-auxv): New test.
17214 * elf/tst-auxv.c: New
17215 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17217 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17219 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17220 (hidden_proto): Caller changed.
17221 (hidden_tls_proto): New macro.
17222 (libc_hidden_tls_proto): Likewise.
17223 (rtld_hidden_tls_proto): Likewise.
17224 (libm_hidden_tls_proto): Likewise.
17225 (libresolv_hidden_tls_proto): Likewise.
17226 (librt_hidden_tls_proto): Likewise.
17227 (libdl_hidden_tls_proto): Likewise.
17228 (libnss_files_hidden_tls_proto): Likewise.
17229 (libnsl_hidden_tls_proto): Likewise.
17230 (libnss_nisplus_hidden_tls_proto): Likewise.
17231 (libutil_hidden_tls_proto): Likewise.
17233 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17236 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17237 (decompose_rpath): Defer expansion to fillin_rpath.
17238 (_dl_init_paths): Pass linkmap to fillin_rpath.
17240 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17242 * benchtests/Makefile: Add strsep.
17243 * benchtests/bench-strsep.c: New file: strsep benchtest.
17244 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17246 2013-11-18 Andreas Schwab <schwab@suse.de>
17248 * locale/programs/locale.c (show_info) [case byte]: Check for
17249 '\377' instead of '\177'.
17250 * locale/C-monetary.c (not_available): Always use "\377".
17251 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17252 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17253 detect unavailable sign_posn locale elements.
17254 * locale/localeconv.c (__localeconv): For grouping and
17255 mon_grouping handle "\177" and "\377" like no grouping.
17256 (INT_ELEM): New macro. Use it to set all numeric members.
17257 * locale/programs/ld-monetary.c (monetary_read)
17258 <tok_mon_grouping>: Normalize single -1 to the empty string.
17259 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17262 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17265 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17266 when we match (nil).
17267 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17269 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17271 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17272 (NO_TEST_INLINE): Update value.
17273 (ERRNO_UNCHANGED): Likewise.
17274 (ERRNO_EDOM): Likewise.
17275 (ERRNO_ERANGE): Likewise.
17276 (IGNORE_RESULT): Likewise.
17277 (check_float_internal): Check signs of NaN results if
17278 TEST_NAN_SIGN used.
17279 (check_complex): Pass TEST_NAN_SIGN flag through to second
17280 check_float_internal call.
17281 (copysign_test_data): Add tests with quiet NaNs as second
17282 argument. Use TEST_NAN_SIGN.
17283 (fabs_test_data): Add test of negative quiet NaN argument. Use
17285 (signbit_test_data): Add tests of quiet NaN argument.
17286 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17288 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17290 (parse_args): Handle function results specified as IGNORE.
17291 * math/libm-test.inc (IGNORE_RESULT): New macro.
17292 (check_float_internal): Do not check numerical result if flag
17294 (check_complex): Pass through IGNORE_RESULT to second
17295 check_float_internal call.
17296 (check_int): Do not check numerical result if flag IGNORE_RESULT
17298 (check_long): Likewise.
17299 (check_bool): Likewise.
17300 (check_longlong): Likewise.
17301 (lrint_test_data): Add tests of infinite and NaN arguments.
17302 (lrint_tonearest_test_data): Likewise.
17303 (lrint_towardzero_test_data): Likewise.
17304 (lrint_downward_test_data): Likewise.
17305 (lrint_upward_test_data): Likewise.
17306 (llrint_test_data): Likewise.
17307 (llrint_tonearest_test_data): Likewise.
17308 (llrint_towardzero_test_data): Likewise.
17309 (llrint_downward_test_data): Likewise.
17310 (llrint_upward_test_data): Likewise.
17311 (lround_test_data): Likewise.
17312 (llround_test_data): Likewise.
17314 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17315 (ERRNO_UNCHANGED): Update value.
17316 (ERRNO_EDOM): Likewise.
17317 (ERRNO_ERANGE): Likewise.
17318 (NO_TEST_INLINE_FLOAT): New macro.
17319 (NO_TEST_INLINE_DOUBLE): Likewise.
17320 (enable_test): New function.
17321 (RUN_TEST_f_f): Check enable_test before running test.
17322 (RUN_TEST_2_f): Likewise.
17323 (RUN_TEST_fff_f): Likewise.
17324 (RUN_TEST_c_f): Likewise.
17325 (RUN_TEST_f_f1): Likewise.
17326 (RUN_TEST_fF_f1): Likewise.
17327 (RUN_TEST_fI_f1): Likewise.
17328 (RUN_TEST_ffI_f1): Likewise.
17329 (RUN_TEST_c_c): Likewise.
17330 (RUN_TEST_cc_c): Likewise.
17331 (RUN_TEST_f_i): Likewise.
17332 (RUN_TEST_f_i_tg): Likewise.
17333 (RUN_TEST_ff_i_tg): Likewise.
17334 (RUN_TEST_f_b): Likewise.
17335 (RUN_TEST_f_b_tg): Likewise.
17336 (RUN_TEST_f_l): Likewise.
17337 (RUN_TEST_f_L): Likewise.
17338 (RUN_TEST_fFF_11): Likewise.
17339 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17341 (cosh_test_data): Likewise.
17342 (exp_test_data): Likewise.
17343 (expm1_test_data): Likewise.
17344 (hypot_test_data): Likewise.
17345 (pow_test_data): Likewise.
17346 (sinh_test_data): Likewise.
17347 (tanh_test_data): Likewise.
17348 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17351 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17352 tests with quiet NaN input and output.
17353 (acosh_test_data): Likewise.
17354 (asin_test_data): Likewise.
17355 (asinh_test_data): Likewise.
17356 (atan_test_data): Likewise.
17357 (atanh_test_data): Likewise.
17358 (atan2_test_data): Likewise.
17359 (cbrt_test_data): Likewise.
17360 (cos_test_data): Likewise.
17361 (cosh_test_data): Likewise.
17362 (erf_test_data): Likewise.
17363 (erfc_test_data): Likewise.
17364 (exp_test_data): Likewise.
17365 (exp10_test_data): Likewise.
17366 (exp2_test_data): Likewise.
17367 (expm1_test_data): Likewise.
17368 (hypot_test_data): Likewise.
17369 (j0_test_data): Likewise.
17370 (j1_test_data): Likewise.
17371 (jn_test_data): Likewise.
17372 (lgamma_test_data): Likewise.
17373 (log_test_data): Likewise.
17374 (log10_test_data): Likewise.
17375 (log1p_test_data): Likewise.
17376 (log2_test_data): Likewise.
17377 (pow_test_data): Likewise.
17378 (scalb_test_data): Likewise.
17379 (sin_test_data): Likewise.
17380 (sincos_test_data): Likewise.
17381 (sinh_test_data): Likewise.
17382 (tan_test_data): Likewise.
17383 (tanh_test_data): Likewise.
17384 (tgamma_test_data): Likewise.
17385 (y0_test_data): Likewise.
17386 (y1_test_data): Likewise.
17387 (yn_test_data): Likewise.
17390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17391 argument being NaN and avoid computations with second argument in
17393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17394 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17395 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17397 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17399 * locale/iso-639.def: Add Chitwani Tharu (the).
17401 2013-11-14 Andreas Schwab <schwab@suse.de>
17403 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17404 word instead of empty string.
17406 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17409 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17411 (__fe_nomask_env): Likewise.
17413 2013-11-13 Steve Ellcey <sellcey@mips.com>
17415 * benchtests/bench-timing.h: Include time.h.
17417 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17420 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17422 * sysdeps/unix/sysv/linux/configure: Regenerated.
17424 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17427 * stdlib/strtod_l.c (round_and_return): Do not consider
17428 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17429 exponent one less than half the least subnormal exponent.
17430 * stdlib/test-strtod-round-data: Add more tests.
17431 * stdlib/tst-strtod-round.c (tests): Regenerated.
17433 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17436 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17437 (__fe_mask_env): Likewise.
17438 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17439 libm_hidden_proto and add function prototype.
17440 (__fe_mask_env): Add function prototype.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17442 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17444 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17446 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17448 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17450 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17451 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17453 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17455 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17456 of htab_find_slot().
17458 2013-11-11 David S. Miller <davem@davemloft.net>
17461 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17462 symbol in the non-vis3 case in static builds.
17463 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17464 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17465 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17466 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17468 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17471 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17474 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476 * benchtests/Makefile: Add bench-strtod.
17477 * benchtests/bench-strtod.c: New file: strtod benchtest
17479 2013-11-11 Andreas Schwab <schwab@suse.de>
17482 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17483 terminating NUL in key length.
17485 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17488 Add artificial ODP entry for vDSO symbol for PPC64.
17489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17490 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17492 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17495 * nss/getent.c (services_keys): Recognize services starting with digit.
17497 2013-11-06 David S. Miller <davem@davemloft.net>
17500 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17501 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17503 2013-11-06 Will Newton <will.newton@linaro.org>
17505 * manual/memory.texi (Malloc Examples): Remove register
17506 keyword from examples.
17508 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17510 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17512 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17515 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17516 depending on [__GCC_IEC_559 > 0].
17517 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17518 depending on [__GCC_IEC_559_COMPLEX > 0].
17520 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17522 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17525 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17527 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17529 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17532 * malloc/malloc (malloc_info): Do not handle first bin as
17535 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17537 * locale/iso-639.def: Add Central Nahuatl (nhn).
17539 2013-11-01 Bruno Haible <bruno@clisp.org>
17542 * manual/math.texi (BSD Random): Specify range upper bound as
17545 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17547 * locale/iso-639.def: Add Meadow Mari (mhr).
17549 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17551 [BZ #14752], [BZ #15763]
17552 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17554 * rt/tst_shm.c: Add test for escaping directory.
17556 2013-10-31 Andreas Schwab <schwab@suse.de>
17559 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17560 followed by 'x' as part of digit sequence.
17561 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17563 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17566 * configure.ac: allow GNU Make 4.0 and greater.
17567 * configure: Regenerated.
17569 2013-10-30 Will Newton <will.newton@linaro.org>
17572 * malloc/hooks.c (memalign_check): Limit alignment to the
17573 maximum representable power of two.
17574 * malloc/malloc.c (__libc_memalign): Likewise.
17575 * malloc/tst-memalign.c (do_test): Add test for very
17576 large alignment values.
17577 * malloc/tst-posix_memalign.c (do_test): Likewise.
17579 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17582 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17583 (munmap_chunk): Likewise.
17584 (mremap_chunk): Likewise.
17586 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17589 * stdlib/div.c (div): Remove obsolete code.
17590 * stdlib/ldiv.c (ldiv): Likewise.
17591 * stdlib/lldiv.c (lldiv): Likewise.
17593 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17596 * nss/nss_files/files-XXX.c (get_contents_ret): New
17598 (get_contents): New function.
17599 (internal_getent): Use it. Expand size of LINEBUFLEN.
17601 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17603 * configure.in: Moved to ...
17604 * configure.ac: ... here. Change reference to configure.in
17606 * sysdeps/arm/preconfigure.ac: ... here.
17607 configure.in to configure.ac.
17608 * sysdeps/gnu/configure.in: Moved to ...
17609 * sysdeps/gnu/configure.ac: ... here.
17610 * sysdeps/i386/configure.in: Moved to ...
17611 * sysdeps/i386/configure.ac: ... here.
17612 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17613 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17614 * sysdeps/mach/configure.in: Moved to ...
17615 * sysdeps/mach/configure.ac: ... here.
17616 * sysdeps/mach/hurd/configure.in: Moved to ...
17617 * sysdeps/mach/hurd/configure.ac: ... here.
17618 * sysdeps/powerpc/configure.in: Moved to ...
17619 * sysdeps/powerpc/configure.ac: ... here.
17620 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17621 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17622 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17623 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17624 * sysdeps/s390/s390-32/configure.in: Moved to ...
17625 * sysdeps/s390/s390-32/configure.ac: ... here.
17626 * sysdeps/s390/s390-64/configure.in: Moved to ...
17627 * sysdeps/s390/s390-64/configure.ac: ... here.
17628 * sysdeps/sh/configure.in: Moved to ...
17629 * sysdeps/sh/configure.ac: ... here.
17630 * sysdeps/sparc/configure.in: Moved to ...
17631 * sysdeps/sparc/configure.ac: ... here.
17632 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17633 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17634 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17635 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17636 * sysdeps/x86_64/configure.in: Moved to ...
17637 * sysdeps/x86_64/configure.ac: ... here.
17638 * sysdeps/x86_64/preconfigure.in: Moved to ...
17639 * sysdeps/x86_64/preconfigure.ac: ... here.
17640 * aclocal.m4: Change reference to configure.in to configure.ac.
17641 * config.h.in: Likewise.
17642 * manual/install.texi: Likewise.
17643 * manual/maint.texi: Likewise.
17644 * Makefile: Likewise.
17645 * malloc/Makefile: Likewise.
17646 * nscd/Makefile: Likewise.
17647 * Makeconfig: Change reference to configure.in and
17648 preconfigure.in to configure.ac and preconfigure.ac
17650 * INSTALL: Regenerated.
17651 * configure: Likewise.
17652 * sysdeps/gnu/configure: Likewise.
17653 * sysdeps/i386/configure: Likewise.
17654 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17655 * sysdeps/mach/configure: Likewise.
17656 * sysdeps/mach/hurd/configure: Likewise.
17657 * sysdeps/powerpc/configure: Likewise.
17658 * sysdeps/powerpc/powerpc32/configure: Likewise.
17659 * sysdeps/powerpc/powerpc64/configure: Likewise.
17660 * sysdeps/s390/s390-32/configure: Likewise.
17661 * sysdeps/s390/s390-64/configure: Likewise.
17662 * sysdeps/sh/configure: Likewise.
17663 * sysdeps/sparc/configure: Likewise.
17664 * sysdeps/unix/sysv/linux/configure: Likewise.
17665 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17666 * sysdeps/x86_64/configure: Likewise.
17667 * sysdeps/x86_64/preconfigure: Likewise.
17669 2013-10-29 Andreas Schwab <schwab@suse.de>
17671 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17673 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17675 * benchtests/pow-inputs: Add new inputs.
17677 * benchtests/exp-inputs: Add new inputs.
17679 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17680 conditional check for return value.
17681 (__cos32): Likewise.
17683 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17685 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17686 to provide a boost for large inputs with word alignment.
17687 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17688 implementation based on optimized PPC64 strcpy.
17689 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17690 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17691 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17692 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17694 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17697 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17699 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17702 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17703 * time/tst-strptime.c (day_tests): Add testcase.
17705 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17708 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17710 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17713 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17714 MAP_FAILED on error.
17716 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17719 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17720 heap for large requests.
17722 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17725 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17726 result if the result has no associated interface.
17727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17728 interface for all 127.X.Y.Z addresses.
17730 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17732 * locale/iso-639.def: Add Ligurian (lij)
17734 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17737 * sunrpc/rpc_main.c: Document rpcgen -5.
17739 2013-10-19 Michael Stahl <mstahl@redhat.com>
17741 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17743 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17746 * posix/glob.c: Match only directories when trailing slash is present.
17747 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17748 (main): Add testcase.
17750 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17753 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17755 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17757 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17758 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17759 AUTH_DES and cindex for FIPS 140-2.
17760 (DES Encryption): Add cindex FIPS 46-3.
17762 * locale/locarchive.h (struct locarhandle): Add fname.
17763 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17764 if an optional argument was specified to --list-archive,
17766 * locale/programs/locarchive.c (show_archive_content): Take new
17767 argument fname and pass it via ah.fname to open_archive.
17768 * locale/programs/localedef.h: Update decl.
17769 (open_archive): If AH->fname is non-null, open that file
17770 rather than the default file name, and don't ignore ENOENT.
17771 (create_archive): Set AH.fname to NULL.
17772 (delete_locales_from_archive): Likewise.
17773 (add_locales_to_archive): Likewise.
17774 * locale/programs/locfile.c (write_all_categories): Likewise.
17776 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17777 Aldy Hernandez <aldyh@redhat.com>
17779 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17780 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17781 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17782 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17783 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17787 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17788 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17790 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17791 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17792 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17801 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17805 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17806 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17807 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17809 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17810 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17811 * sysdeps/powerpc/preconfigure: Likewise.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17814 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17815 Replace contents of file by #include of <fenv_libc.h>.
17816 * sysdeps/powerpc/soft-fp/sfp-machine.h
17817 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17819 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17832 Allow copysignl PLT reference to be missing.
17834 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17835 Joseph Myers <joseph@codesourcery.com
17838 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17840 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17842 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17844 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17845 * elf/tst-tls1.c: Likewise.
17846 * elf/tst-tls10.h: Likewise.
17847 * elf/tst-tls14.c: Likewise.
17848 * elf/tst-tls2.c: Likewise.
17849 * elf/tst-tls3.c: Likewise.
17850 * elf/tst-tls4.c: Likewise.
17851 * elf/tst-tls5.c: Likewise.
17852 * elf/tst-tls6.c: Likewise.
17853 * elf/tst-tls7.c: Likewise.
17854 * elf/tst-tls8.c: Likewise.
17855 * elf/tst-tls9.c: Likewise.
17856 * elf/tst-tlsmod1.c: Likewise.
17857 * elf/tst-tlsmod13.c: Likewise.
17858 * elf/tst-tlsmod13a.c: Likewise.
17859 * elf/tst-tlsmod14a.c: Likewise.
17860 * elf/tst-tlsmod16a.c: Likewise.
17861 * elf/tst-tlsmod16b.c: Likewise.
17862 * elf/tst-tlsmod2.c: Likewise.
17863 * elf/tst-tlsmod3.c: Likewise.
17864 * elf/tst-tlsmod4.c: Likewise.
17865 * elf/tst-tlsmod5.c: Likewise.
17866 * elf/tst-tlsmod6.c: Likewise.
17868 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17871 * malloc/malloc.c: remove checks for statistics.
17873 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17876 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17877 * inet/tst-network.c: Add testcase.
17879 2013-10-17 Andreas Schwab <schwab@suse.de>
17882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17883 to determine canonical name.
17885 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17887 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17888 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17911 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17946 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17949 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17950 make result into a quiet NaN.
17952 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17954 * soft-fp/adddf3.c: Fix horizontal whitespace.
17955 * soft-fp/addsf3.c: Likewise.
17956 * soft-fp/addtf3.c: Likewise.
17957 * soft-fp/divdf3.c: Likewise.
17958 * soft-fp/divsf3.c: Likewise.
17959 * soft-fp/divtf3.c: Likewise.
17960 * soft-fp/double.h: Likewise.
17961 * soft-fp/eqdf2.c: Likewise.
17962 * soft-fp/eqsf2.c: Likewise.
17963 * soft-fp/eqtf2.c: Likewise.
17964 * soft-fp/extenddftf2.c: Likewise.
17965 * soft-fp/extended.h: Likewise.
17966 * soft-fp/extendsfdf2.c: Likewise.
17967 * soft-fp/extendsftf2.c: Likewise.
17968 * soft-fp/extendxftf2.c: Likewise.
17969 * soft-fp/fixdfdi.c: Likewise.
17970 * soft-fp/fixdfsi.c: Likewise.
17971 * soft-fp/fixdfti.c: Likewise.
17972 * soft-fp/fixsfdi.c: Likewise.
17973 * soft-fp/fixsfsi.c: Likewise.
17974 * soft-fp/fixsfti.c: Likewise.
17975 * soft-fp/fixtfdi.c: Likewise.
17976 * soft-fp/fixtfsi.c: Likewise.
17977 * soft-fp/fixtfti.c: Likewise.
17978 * soft-fp/fixunsdfdi.c: Likewise.
17979 * soft-fp/fixunsdfsi.c: Likewise.
17980 * soft-fp/fixunsdfti.c: Likewise.
17981 * soft-fp/fixunssfdi.c: Likewise.
17982 * soft-fp/fixunssfsi.c: Likewise.
17983 * soft-fp/fixunssfti.c: Likewise.
17984 * soft-fp/fixunstfdi.c: Likewise.
17985 * soft-fp/fixunstfsi.c: Likewise.
17986 * soft-fp/fixunstfti.c: Likewise.
17987 * soft-fp/floatdidf.c: Likewise.
17988 * soft-fp/floatdisf.c: Likewise.
17989 * soft-fp/floatditf.c: Likewise.
17990 * soft-fp/floatsidf.c: Likewise.
17991 * soft-fp/floatsisf.c: Likewise.
17992 * soft-fp/floatsitf.c: Likewise.
17993 * soft-fp/floattidf.c: Likewise.
17994 * soft-fp/floattisf.c: Likewise.
17995 * soft-fp/floattitf.c: Likewise.
17996 * soft-fp/floatundidf.c: Likewise.
17997 * soft-fp/floatundisf.c: Likewise.
17998 * soft-fp/floatunditf.c: Likewise.
17999 * soft-fp/floatunsidf.c: Likewise.
18000 * soft-fp/floatunsisf.c: Likewise.
18001 * soft-fp/floatunsitf.c: Likewise.
18002 * soft-fp/floatuntidf.c: Likewise.
18003 * soft-fp/floatuntisf.c: Likewise.
18004 * soft-fp/floatuntitf.c: Likewise.
18005 * soft-fp/fmadf4.c: Likewise.
18006 * soft-fp/fmasf4.c: Likewise.
18007 * soft-fp/fmatf4.c: Likewise.
18008 * soft-fp/gedf2.c: Likewise.
18009 * soft-fp/gesf2.c: Likewise.
18010 * soft-fp/getf2.c: Likewise.
18011 * soft-fp/ledf2.c: Likewise.
18012 * soft-fp/lesf2.c: Likewise.
18013 * soft-fp/letf2.c: Likewise.
18014 * soft-fp/muldf3.c: Likewise.
18015 * soft-fp/mulsf3.c: Likewise.
18016 * soft-fp/multf3.c: Likewise.
18017 * soft-fp/negdf2.c: Likewise.
18018 * soft-fp/negsf2.c: Likewise.
18019 * soft-fp/negtf2.c: Likewise.
18020 * soft-fp/op-1.h: Likewise.
18021 * soft-fp/op-2.h: Likewise.
18022 * soft-fp/op-4.h: Likewise.
18023 * soft-fp/op-8.h: Likewise.
18024 * soft-fp/op-common.h: Likewise.
18025 * soft-fp/quad.h: Likewise.
18026 * soft-fp/single.h: Likewise.
18027 * soft-fp/soft-fp.h: Likewise.
18028 * soft-fp/sqrtdf2.c: Likewise.
18029 * soft-fp/sqrtsf2.c: Likewise.
18030 * soft-fp/sqrttf2.c: Likewise.
18031 * soft-fp/subdf3.c: Likewise.
18032 * soft-fp/subsf3.c: Likewise.
18033 * soft-fp/subtf3.c: Likewise.
18034 * soft-fp/truncdfsf2.c: Likewise.
18035 * soft-fp/trunctfdf2.c: Likewise.
18036 * soft-fp/trunctfsf2.c: Likewise.
18037 * soft-fp/trunctfxf2.c: Likewise.
18038 * soft-fp/unorddf2.c: Likewise.
18039 * soft-fp/unordsf2.c: Likewise.
18040 * soft-fp/unordtf2.c: Likewise.
18042 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18045 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18047 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18049 * elf/dl-libc.c: Clear initfini list after freeing.
18051 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18053 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18054 * soft-fp/addsf3.c: Likewise.
18055 * soft-fp/addtf3.c: Likewise.
18056 * soft-fp/divdf3.c: Likewise.
18057 * soft-fp/divsf3.c: Likewise.
18058 * soft-fp/divtf3.c: Likewise.
18059 * soft-fp/double.h: Likewise.
18060 * soft-fp/eqdf2.c: Likewise.
18061 * soft-fp/eqsf2.c: Likewise.
18062 * soft-fp/eqtf2.c: Likewise.
18063 * soft-fp/extenddftf2.c: Likewise.
18064 * soft-fp/extended.h: Likewise.
18065 * soft-fp/extendsfdf2.c: Likewise.
18066 * soft-fp/extendsftf2.c: Likewise.
18067 * soft-fp/extendxftf2.c: Likewise.
18068 * soft-fp/fixdfdi.c: Likewise.
18069 * soft-fp/fixdfsi.c: Likewise.
18070 * soft-fp/fixdfti.c: Likewise.
18071 * soft-fp/fixsfdi.c: Likewise.
18072 * soft-fp/fixsfsi.c: Likewise.
18073 * soft-fp/fixsfti.c: Likewise.
18074 * soft-fp/fixtfdi.c: Likewise.
18075 * soft-fp/fixtfsi.c: Likewise.
18076 * soft-fp/fixtfti.c: Likewise.
18077 * soft-fp/fixunsdfdi.c: Likewise.
18078 * soft-fp/fixunsdfsi.c: Likewise.
18079 * soft-fp/fixunsdfti.c: Likewise.
18080 * soft-fp/fixunssfdi.c: Likewise.
18081 * soft-fp/fixunssfsi.c: Likewise.
18082 * soft-fp/fixunssfti.c: Likewise.
18083 * soft-fp/fixunstfdi.c: Likewise.
18084 * soft-fp/fixunstfsi.c: Likewise.
18085 * soft-fp/fixunstfti.c: Likewise.
18086 * soft-fp/floatdidf.c: Likewise.
18087 * soft-fp/floatdisf.c: Likewise.
18088 * soft-fp/floatditf.c: Likewise.
18089 * soft-fp/floatsidf.c: Likewise.
18090 * soft-fp/floatsisf.c: Likewise.
18091 * soft-fp/floatsitf.c: Likewise.
18092 * soft-fp/floattidf.c: Likewise.
18093 * soft-fp/floattisf.c: Likewise.
18094 * soft-fp/floattitf.c: Likewise.
18095 * soft-fp/floatundidf.c: Likewise.
18096 * soft-fp/floatundisf.c: Likewise.
18097 * soft-fp/floatunsidf.c: Likewise.
18098 * soft-fp/floatunsisf.c: Likewise.
18099 * soft-fp/floatuntidf.c: Likewise.
18100 * soft-fp/floatuntisf.c: Likewise.
18101 * soft-fp/floatuntitf.c: Likewise.
18102 * soft-fp/fmadf4.c: Likewise.
18103 * soft-fp/fmasf4.c: Likewise.
18104 * soft-fp/fmatf4.c: Likewise.
18105 * soft-fp/gedf2.c: Likewise.
18106 * soft-fp/gesf2.c: Likewise.
18107 * soft-fp/getf2.c: Likewise.
18108 * soft-fp/ledf2.c: Likewise.
18109 * soft-fp/lesf2.c: Likewise.
18110 * soft-fp/letf2.c: Likewise.
18111 * soft-fp/muldf3.c: Likewise.
18112 * soft-fp/mulsf3.c: Likewise.
18113 * soft-fp/multf3.c: Likewise.
18114 * soft-fp/negdf2.c: Likewise.
18115 * soft-fp/negsf2.c: Likewise.
18116 * soft-fp/negtf2.c: Likewise.
18117 * soft-fp/op-1.h: Likewise.
18118 * soft-fp/op-2.h: Likewise.
18119 * soft-fp/op-4.h: Likewise.
18120 * soft-fp/op-8.h: Likewise.
18121 * soft-fp/op-common.h: Likewise.
18122 * soft-fp/quad.h: Likewise.
18123 * soft-fp/single.h: Likewise.
18124 * soft-fp/soft-fp.h: Likewise.
18125 * soft-fp/sqrtdf2.c: Likewise.
18126 * soft-fp/sqrtsf2.c: Likewise.
18127 * soft-fp/sqrttf2.c: Likewise.
18128 * soft-fp/subdf3.c: Likewise.
18129 * soft-fp/subsf3.c: Likewise.
18130 * soft-fp/subtf3.c: Likewise.
18131 * soft-fp/truncdfsf2.c: Likewise.
18132 * soft-fp/trunctfdf2.c: Likewise.
18133 * soft-fp/trunctfsf2.c: Likewise.
18134 * soft-fp/trunctfxf2.c: Likewise.
18135 * soft-fp/unorddf2.c: Likewise.
18136 * soft-fp/unordsf2.c: Likewise.
18137 * soft-fp/unordtf2.c: Likewise.
18139 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18142 * misc/error.c (error_tail): Fix possible buffer overflow.
18144 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18147 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18150 2013-10-14 P. J. McDermott <pj@pehjota.net>
18153 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18154 testing pipefail option.
18156 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18158 * soft-fp/double.h: Indent preprocessor directives inside #if.
18159 * soft-fp/extended.h: Likewise.
18160 * soft-fp/op-2.h: Likewise.
18161 * soft-fp/op-4.h: Likewise.
18162 * soft-fp/op-common.h: Likewise.
18163 * soft-fp/quad.h: Likewise.
18164 * soft-fp/single.h: Likewise.
18165 * soft-fp/soft-fp.h: Likewise.
18167 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18169 * iconv/iconv_prog.c: Fix typos.
18170 * stdio-common/psiginfo-data.h: Likewise.
18172 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18175 * locale/setlocale.c: Fix typo.
18177 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18180 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18181 signaling NaN arguments.
18182 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18183 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18186 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18187 unordered operands.
18188 * soft-fp/gesf2.c (__gesf2): Likewise.
18189 * soft-fp/getf2.c (__getf2): Likewise.
18190 * soft-fp/ledf2.c (__ledf2): Likewise.
18191 * soft-fp/lesf2.c (__lesf2): Likewise.
18192 * soft-fp/letf2.c (__letf2): Likewise.
18194 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18195 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18196 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18197 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18198 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18199 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18200 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18201 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18202 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18203 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18204 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18205 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18206 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18207 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18208 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18209 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18210 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18211 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18212 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18213 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18214 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18215 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18216 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18217 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18218 * soft-fp/floattidf.c (__floattidf): Likewise.
18219 * soft-fp/floattisf.c (__floattisf): Likewise.
18220 * soft-fp/floattitf.c (__floattitf): Likewise.
18221 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18222 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18223 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18224 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18225 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18226 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18227 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18228 * soft-fp/gesf2.c (__gesf2): Likewise.
18229 * soft-fp/getf2.c (__getf2): Likewise.
18230 * soft-fp/ledf2.c (__ledf2): Likewise.
18231 * soft-fp/lesf2.c (__lesf2): Likewise.
18232 * soft-fp/letf2.c (__letf2): Likewise.
18234 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18235 Undefine and redefine.
18236 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18237 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18238 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18239 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18240 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18241 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18242 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18243 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18244 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18245 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18246 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18247 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18248 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18249 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18250 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18253 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18254 without decrementing exponent if mantissa >= that for the
18255 denominator, not >.
18256 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18257 denominator, not >. Decrement exponent in < case instead of
18258 incrementing in >= case.
18259 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18260 without decrementing exponent if mantissa >= that for the
18261 denominator, not >.
18263 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18264 computing saturated result for unsigned overflow.
18266 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18267 Jeff Law <law@redhat.com>
18269 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18270 (atan2Mp): Add systemtap probe marker.
18271 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18272 (__ieee754_log): Add systemtap probe marker.
18273 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18274 (atanMp): Add systemtap probe marker.
18275 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18276 (tanMp): Add systemtap probe marker.
18277 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18278 (__slowexp): Add systemtap probe marker.
18279 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18280 (__slowpow): Add systemtap probe marker.
18281 * manual/probes.texi: Document probes.
18283 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18286 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18288 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18290 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18291 written to buffer but not flushed.
18292 * libio/iofwrite_u.c: Likewise.
18293 * libio/iopadn.c: Return bytes returned even if EOF was
18295 * libio/iowpadn.c: Likewise.
18296 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18297 if _IO_padn does not write the whole buffer.
18298 [!COMPILE_WPRINTF] (PAD): Likewise.
18300 2013-10-10 David S. Miller <davem@davemloft.net>
18302 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18305 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18307 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18308 instead of FSF address.
18309 * soft-fp/fixdfti.c: Likewise.
18310 * soft-fp/fixsfti.c: Likewise.
18311 * soft-fp/fixtfti.c: Likewise.
18312 * soft-fp/fixunsdfti.c: Likewise.
18313 * soft-fp/fixunssfti.c: Likewise.
18314 * soft-fp/fixunstfti.c: Likewise.
18315 * soft-fp/floattidf.c: Likewise.
18316 * soft-fp/floattisf.c: Likewise.
18317 * soft-fp/floattitf.c: Likewise.
18318 * soft-fp/floatuntidf.c: Likewise.
18319 * soft-fp/floatuntisf.c: Likewise.
18320 * soft-fp/floatuntitf.c: Likewise.
18321 * soft-fp/trunctfxf2.c: Likewise.
18323 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18324 * soft-fp/fixdfti.c: Likewise.
18325 * soft-fp/fixsfti.c: Likewise.
18326 * soft-fp/fixtfti.c: Likewise.
18327 * soft-fp/fixunsdfti.c: Likewise.
18328 * soft-fp/fixunssfti.c: Likewise.
18329 * soft-fp/fixunstfti.c: Likewise.
18330 * soft-fp/floattidf.c: Likewise.
18331 * soft-fp/floattisf.c: Likewise.
18332 * soft-fp/floattitf.c: Likewise.
18333 * soft-fp/floatuntidf.c: Likewise.
18334 * soft-fp/floatuntisf.c: Likewise.
18335 * soft-fp/floatuntitf.c: Likewise.
18336 * soft-fp/trunctfxf2.c: Likewise.
18338 2013-10-10 David S. Miller <davem@davemloft.net>
18340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18342 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18344 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18345 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18346 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18347 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18348 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18349 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18350 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18353 for NaNs before doing comparisons on argument.
18354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18357 2013-10-10 Will Newton <will.newton@linaro.org>
18359 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18360 passed to _int_memalign does not overflow.
18362 2013-10-10 Torvald Riegel <triegel@redhat.com>
18364 * scripts/bench.pl: Add include-sources directive.
18365 * benchtests/README: Update documentation.
18367 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18369 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18370 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18371 instead of FP_INIT_ROUNDMODE.
18372 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18373 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18376 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18377 copy class of input value.
18378 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18379 not handle exceptions.
18380 * soft-fp/negsf2.c (__negsf2): Likewise.
18381 * soft-fp/negtf2.c (__negtf2): Likewise.
18382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18384 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18386 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18387 semicolon. From Linux kernel.
18389 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18391 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18393 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18396 * manual/socket.texi: Added statement about buffer
18397 for gethostbyname2_r.
18399 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18401 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18402 Use .p2align directive instead, throughout.
18403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18408 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18409 * sysdeps/x86_64/strchr.S: Likewise.
18410 * sysdeps/x86_64/strrchr.S: Likewise.
18412 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18414 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18416 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18418 * sysdeps/generic/math_private.h (__mpsin1): Remove
18420 (__mpcos1): Likewise.
18421 (__mpsin): New argument __range_reduce.
18422 (__mpcos): Likewise.
18423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18424 (slow): Use __mpsin and __mpcos.
18428 (sloww1): Likewise.
18429 (sloww2): Likewise.
18430 (bsloww): Likewise.
18431 (bsloww1): Likewise.
18432 (bsloww2): Likewise.
18433 (cslow2): Likewise.
18434 (csloww): Likewise.
18435 (csloww1): Likewise.
18436 (csloww2): Likewise.
18437 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18438 range_reduce. Merge in __mpsin1.
18439 (__mpcos): Likewise.
18440 (__mpsin1): Remove.
18441 (__mpcos1): Likewise.
18443 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18445 * locale/loadlocale.c (_nl_intern_locale_data): Use
18447 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18448 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18449 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18450 obstack data is appropriately aligned.
18451 (obstack_int32_grow_fast): Likewise.
18452 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18453 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18454 (add_locale_uint32_array): Likewise.
18456 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18458 * benchtests/Makefile: Remove ARGLIST and RET variables.
18459 ($(objpfx)bench-%.c): Pass only function name to the script.
18460 * benchtests/README: Update documentation.
18461 * benchtests/acos-inputs: Add new directives.
18462 * benchtests/acosh-inputs: Likewise.
18463 * benchtests/asin-inputs: Likewise.
18464 * benchtests/asinh-inputs: Likewise.
18465 * benchtests/atan-inputs: Likewise.
18466 * benchtests/atanh-inputs: Likewise.
18467 * benchtests/cos-inputs: Likewise.
18468 * benchtests/cosh-inputs: Likewise.
18469 * benchtests/exp-inputs: Likewise.
18470 * benchtests/log-inputs: Likewise.
18471 * benchtests/pow-inputs: Likewise.
18472 * benchtests/rint-inputs: Likewise.
18473 * benchtests/sin-inputs: Likewise.
18474 * benchtests/sinh-inputs: Likewise.
18475 * benchtests/tan-inputs: Likewise.
18476 * benchtests/tanh-inputs: Likewise.
18477 * scripts/bench.pl: Add support for new directives.
18479 2013-10-07 Alan Modra <amodra@gmail.com>
18481 * README: Fix careless merge.
18483 2013-10-05 Alan Modra <amodra@gmail.com>
18485 * NEWS: Mention powerpc64le support and bugs fixed.
18486 * README: Both big-endian and little-endian powerpc64 supported.
18488 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18490 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18491 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18492 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18493 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18495 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18497 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18500 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18502 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18503 Move -mhard-float appending from
18504 ports/sysdeps/powerpc/powerpc32/Makefile.
18505 [$(with-fp) = yes] (ASFLAGS): Likewise.
18506 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18507 * sysdeps/powerpc/nofpu: Move directory from
18508 ports/sysdeps/powerpc/nofpu.
18509 * sysdeps/powerpc/soft-fp: Move directory from
18510 ports/sysdeps/powerpc/soft-fp.
18511 * sysdeps/powerpc/powerpc32/405: Move directory from
18512 ports/sysdeps/powerpc/powerpc32/405.
18513 * sysdeps/powerpc/powerpc32/440: Move directory from
18514 ports/sysdeps/powerpc/powerpc32/440.
18515 * sysdeps/powerpc/powerpc32/464: Move directory from
18516 ports/sysdeps/powerpc/powerpc32/464.
18517 * sysdeps/powerpc/powerpc32/476: Move directory from
18518 ports/sysdeps/powerpc/powerpc32/476.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18529 * README: Update for powerpc-*-linux-gnu software floating point
18532 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18533 case to powerpc/powerpc32*.
18534 * sysdeps/unix/sysv/linux/configure: Regenerated.
18536 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18537 (_FPU_MASK_OM): Define as 0x04.
18538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18546 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18549 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18552 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18553 and setcontext_e500.
18555 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18557 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18559 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18561 * manual/threads.texi (Default Thread Attributes): Fix typo.
18563 2013-10-04 Will Newton <will.newton@linaro.org>
18565 * malloc/Makefile: Add tst-memalign.
18566 * malloc/tst-memalign.c: New file.
18568 * malloc/tst-posix_memalign.c: Add comments.
18569 (do_test): Add comments and call free on all potentially
18570 allocated pointers. Add space after cast.
18572 * malloc/tst-pvalloc.c: Add comments.
18573 (do_test): Add comments and call free on all potentially
18574 allocated pointers. Remove duplicate check for NULL pointer.
18575 Add space after cast.
18577 * malloc/tst-valloc.c: Add comments.
18578 (do_test): Add comments and call free on all potentially
18579 allocated pointers. Remove duplicate check for NULL pointer.
18580 Add space after cast.
18582 2013-10-04 Alan Modra <amodra@gmail.com>
18584 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18585 Use stdint types in rather than __attribute__((mode())).
18586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18588 2013-10-04 Alan Modra <amodra@gmail.com>
18590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18591 Correct handling of unaligned relocs for little-endian.
18592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18594 2013-10-04 Alan Modra <amodra@gmail.com>
18596 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18597 * configure: Regenerate.
18598 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18599 * shlib-versions: Likewise.
18601 2013-10-04 Alan Modra <amodra@gmail.com>
18603 * string/tester.c (test_memrchr): Increment reported test cycle.
18605 2013-10-04 Alan Modra <amodra@gmail.com>
18607 * string/test-memcpy.c (do_one_test): When reporting errors, print
18608 string address and don't overrun end of string.
18610 2013-10-04 Alan Modra <amodra@gmail.com>
18612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18613 insrdi. Make better use of reg selection to speed exit slightly.
18614 Schedule entry path a little better. Remove useless "are we done"
18615 checks on entry to main loop. Handle wrapping around zero address.
18616 Correct main loop count. Handle single left-over word from main
18617 loop inline rather than by using loop_small. Remove extra word
18618 case in loop_small caused by wrong loop count. Add little-endian
18620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18625 support. Avoid rlwimi.
18626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18628 2013-10-04 Alan Modra <amodra@gmail.com>
18630 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18631 insrdi. Formatting.
18632 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18634 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18635 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18636 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18637 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18639 2013-10-04 Alan Modra <amodra@gmail.com>
18641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18645 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18649 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18650 use of regs. Use power7 mtocrf. Tidy function tails.
18652 2013-10-04 Alan Modra <amodra@gmail.com>
18654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18655 Formatting. Consistently use rXXX register defines or rN defines.
18656 Use early exit labels that avoid restoring unused non-volatile regs.
18657 Make cr field use more consistent with rWORDn compares. Rename
18658 regs used as shift registers for unaligned loop, using rN defines
18659 for short lifetime/multiple use regs.
18660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18661 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18662 addi 1,1,64 to pop stack frame. Simplify return value code.
18663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18665 2013-10-04 Alan Modra <amodra@gmail.com>
18667 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18668 support. Correct typos, formatting. Optimize tail. Use insrdi
18669 rather than rlwimi.
18670 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18672 little-endian support. Correct typos.
18673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18674 rather than rlwimi.
18675 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18676 in loop and entry code to keep "and." results.
18677 (strchr): Add little-endian support. Comment. Move cntlzd
18679 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18681 2013-10-04 Alan Modra <amodra@gmail.com>
18683 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18684 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18685 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18686 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18688 2013-10-04 Alan Modra <amodra@gmail.com>
18690 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18691 (rTMP): Define as r11.
18692 (strcmp): Add little-endian support. Optimise tail.
18693 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18697 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18701 2013-10-04 Alan Modra <amodra@gmail.com>
18703 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18704 little-endian support. Remove unnecessary "are we done" tests.
18705 Handle "s" wrapping around zero and extremely large "size".
18706 Correct main loop count. Handle single left-over word from main
18707 loop inline rather than by using small_loop. Correct comments.
18708 Delete "zero" tail, use "end_max" instead.
18709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18711 2013-10-04 Alan Modra <amodra@gmail.com>
18713 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18714 support. Don't branch over align.
18715 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18716 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18717 support. Rearrange tmp reg use to suit. Comment.
18718 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18720 2013-10-04 Alan Modra <amodra@gmail.com>
18722 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18724 2013-10-04 Alan Modra <amodra@gmail.com>
18726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18727 conditional form of branch and link when obtaining pc.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18730 2013-10-04 Alan Modra <amodra@gmail.com>
18732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18737 2013-10-04 Alan Modra <amodra@gmail.com>
18739 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18740 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18741 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18743 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18744 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18745 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18747 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18748 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18750 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18751 Alistair Popple <alistair@ozlabs.au.ibm.com>
18752 Alan Modra <amodra@gmail.com>
18755 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18756 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18757 _dl_hwcap access for little-endian.
18758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18759 destroy vmx regs when saving unaligned.
18760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18762 destroy vmx regs when saving unaligned.
18764 2013-10-04 Alan Modra <amodra@gmail.com>
18766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18767 Don't use a union to pack hi/low value.
18769 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18771 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18776 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18777 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18779 2013-10-04 Alan Modra <amodra@gmail.com>
18781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18782 constants to usual value for .cst8 section, and remove redundant
18784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18785 constant for 0x1p52. Load little-endian words of double from
18786 correct stack offsets.
18788 2013-10-04 Alan Modra <amodra@gmail.com>
18790 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18791 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18792 words of double from correct stack offsets.
18793 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18794 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18800 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18801 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18805 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18806 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18807 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18808 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18811 2013-10-04 Alan Modra <amodra@gmail.com>
18813 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18814 64-bit int/double union.
18815 (_FPU_SETCW): Likewise.
18816 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18817 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18819 2013-10-04 Alan Modra <amodra@gmail.com>
18821 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18822 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18824 2013-10-04 Alan Modra <amodra@gmail.com>
18826 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18827 use vector int constants.
18828 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18830 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18832 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18833 array with long long.
18834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18835 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18836 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18837 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18838 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18839 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18840 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18843 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18844 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18845 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18848 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18850 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18851 (__signbit): Likewise. Correct for little-endian.
18852 (__signbitl): Call __signbit.
18853 (lrint): Correct for little-endian.
18854 (lrintf): Call lrint.
18856 2013-10-04 Alan Modra <amodra@gmail.com>
18858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18859 union 32-bit int array member with 64-bit int array.
18860 (t515, tm256): Double rather than long double.
18861 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18863 2013-10-04 Alan Modra <amodra@gmail.com>
18865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18867 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18869 version of math_ldbl.h.
18871 2013-10-04 Alan Modra <amodra@gmail.com>
18873 [BZ #15734], [BZ #15735]
18874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18875 all uses of ieee875 long double macros and unions. Simplify test
18876 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18877 ldbl_extract_mantissa value for ix,iy exponents. Properly
18878 normalize after ldbl_extract_mantissa, and don't add hidden bit
18879 already handled. Don't treat low word of ieee854 mantissa like
18880 low word of IBM long double and mask off bit when testing for
18882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18883 all uses of ieee875 long double macros and unions. Simplify tests
18884 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18885 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18886 two1022, instead use their values. Recognise that tests for large
18887 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18888 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18889 Rewrite all uses of ieee875 long double macros and unions. Simplify
18890 test for 0.0L and nan. Correct negation.
18891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18892 ieee875 long double macros and unions. Correct output for large
18893 magnitude x. Correct absolute value calculation.
18894 (__erfcl): Likewise.
18895 * math/libm-test.inc: Add tests for errors discovered in IBM long
18896 double versions of fmodl, remainderl, erfl and erfcl.
18898 2013-10-04 Alan Modra <amodra@gmail.com>
18900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18901 all uses of ieee854 long double macros and unions. Simplify tests
18902 for long doubles that are fully specified by the high double.
18903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18905 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18906 Remove dead code too.
18907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18908 (__ieee754_ynl): Likewise.
18909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18912 Remove dead code too.
18913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18918 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18920 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18923 Comment on variable precision.
18924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18933 2013-10-04 Alan Modra <amodra@gmail.com>
18935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18936 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18937 all uses of ieee854 long double macros and unions.
18938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18951 Simplify sign and nan test too.
18952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18954 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18961 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18967 2013-10-04 Alan Modra <amodra@gmail.com>
18969 * stdio-common/printf_size.c (__printf_size): Don't use
18970 union ieee854_long_double in fpnum union.
18971 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18972 signbit macro to retrieve sign from long double.
18973 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18974 retrieve sign from long double.
18975 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18976 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18978 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18979 * math/test-misc.c (main): Don't use union ieee854_long_double.
18981 2013-10-04 Alan Modra <amodra@gmail.com>
18984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18986 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18987 calculation. Remove unnecessary test for denormal exponent.
18988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18989 Correct handling of denormals. Avoid undefined shift behaviour.
18990 Correct normalisation of low mantissa when low double is denormal.
18991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18992 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18993 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18994 Correct normalisation of low mantissa. Test for overflow of high
18995 mantissa and normalise.
18996 (ldbl_nearbyint): Use more readable constant for two52.
18997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18998 (__mpn_construct_long_double): Fix test for overflow of high
18999 mantissa and correct normalisation. Avoid undefined shift.
19001 2013-10-04 Alan Modra <amodra@gmail.com>
19003 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19004 (union ibm_extended_long_double): Define as an array of ieee754_double.
19005 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19007 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19017 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19019 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19020 page size instead of calling getpagesize.
19022 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19023 (LOCFILE_ALIGN_MASK): Likewise.
19024 (LOCFILE_ALIGN_UP): Likewise.
19025 (LOCFILE_ALIGNED_P): Likewise.
19026 * locale/programs/ld-collate.c (collate_output): Use the new
19027 macros instead of __alignof__ (int32_t).
19028 * locale/weight.h (findidx): Likewise.
19030 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19033 * manual/string.texi: Fix strncat and wcsncat.
19035 2013-10-03 Brooks Moses <bmoses@google.com>
19038 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19039 * Makerules: ...here, and adjust associated comments.
19041 2013-10-02 Will Newton <will.newton@linaro.org>
19043 * malloc/Makefile: Add tst-pvalloc.
19044 * malloc/tst-pvalloc.c: New file.
19046 2013-10-02 Will Newton <will.newton@linaro.org>
19048 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19049 improve test coverage.
19051 2013-10-02 Will Newton <will.newton@linaro.org>
19053 * malloc/Makefile: Add tst-posix_memalign.
19054 * malloc/tst-posix_memalign.c: New file.
19056 2013-10-01 Eric Blake <eblake@redhat.com>
19058 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19059 Use __THROWNL rather than __THROW on static functions.
19061 2013-09-30 Petr Machata <pmachata@redhat.com>
19063 * elf/elf.h (R_AARCH64_ABS16): New macro.
19064 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19065 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19066 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19067 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19068 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19069 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19070 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19071 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19072 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19073 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19074 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19075 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19076 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19077 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19078 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19079 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19080 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19081 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19082 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19083 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19084 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19085 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19086 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19087 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19088 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19089 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19090 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19091 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19092 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19093 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19094 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19095 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19096 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19097 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19098 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19099 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19101 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19103 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19105 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19107 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19109 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19111 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19113 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19114 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19115 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19116 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19117 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19118 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19119 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19120 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19121 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19122 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19123 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19124 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19126 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19128 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19130 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19132 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19134 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19135 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19136 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19137 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19138 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19139 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19140 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19141 (R_AARCH64_TLSDESC_LDR): Likewise.
19142 (R_AARCH64_TLSDESC_ADD): Likewise.
19143 (R_AARCH64_TLSDESC_CALL): Likewise.
19145 2013-09-30 Andreas Schwab <schwab@suse.de>
19148 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19149 the nss database lookup.
19150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19153 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19157 2013-09-28 P. J. McDermott <pj@pehjota.net>
19159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19160 ${Bash-specific parameter/pattern/string} parameter expansion.
19161 * sysdeps/unix/make-syscalls.sh: Likewise.
19163 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19165 * sysdeps/sh/stackguard-macros.h: New file.
19167 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19171 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19174 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19176 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19178 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19179 Fix thread ID register.
19181 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19183 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19184 [POSIX || UNIX98]: Require rather than permitting all symbols from
19186 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19187 element of struct sched_param.
19188 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19189 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19190 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19191 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19194 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19196 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19197 argument calculation.
19199 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19201 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19203 [POSIX] (pthread_attr_t): Do not require type.
19204 [POSIX] (pthread_cond_t): Likewise.
19205 [POSIX] (pthread_condattr_t): Likewise.
19206 [POSIX] (pthread_key_t): Likewise.
19207 [POSIX] (pthread_mutex_t): Likewise.
19208 [POSIX] (pthread_mutexattr_t): Likewise.
19209 [POSIX] (pthread_once_t): Likewise.
19210 [POSIX] (pthread_t): Likewise.
19211 [POSIX-based standards] (pthread_atfork): Expect function.
19213 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19214 Richard Sandiford <richard@codesourcery.com>
19216 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19217 (swap_endianness_p): New extern variable.
19218 (set_big_endian): New inline function.
19219 (maybe_swap_uint32): Likewise.
19220 (maybe_swap_uint32_array): Likewise.
19221 (maybe_swap_uint32_obstack): Likewise.
19222 * locale/programs/locfile.c: Include <stdbool.h>.
19223 (swap_endianness_p): New variable.
19224 (add_locale_uint32): Call maybe_swap_uint32.
19225 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19226 (write_locale_data): Call maybe_swap_uint32_array.
19227 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19229 (obstack_int32_grow_fast): Likewise.
19230 (output_weightwc): Call maybe_swap_uint32_obstack.
19231 (collate_output): Likewise.
19232 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19233 (OPT_LITTLE_ENDIAN): Likewise.
19234 (options): Add --little-endian and --big-endian options.
19235 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19236 * locale/programs/locarchive.c: Include "locfile.h".
19240 (create_archive): Use the new macros to access fields of
19241 structures directly mapped from or written to locale archives.
19242 (oldlocrecentcmp): Likewise.
19243 (enlarge_archive): Likewise.
19244 (insert_name): Likewise.
19245 (add_alias): Likewise.
19246 (add_locale): Likewise.
19247 (delete_locales_from_archive): Likewise.
19248 (show_archive_content): Likewise.
19249 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19252 2013-09-24 Roland McGrath <roland@hack.frob.com>
19254 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19255 http://www.gnu.org/doc/freemanuals.texi.
19256 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19258 2013-09-24 Will Newton <will.newton@linaro.org>
19260 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19263 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19265 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19268 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19270 * manual/threads.texi (POSIX Threads): Fix a typo.
19272 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19275 * string/tst-strcoll-overflow.c: New test case.
19276 * string/Makefile (xtests): Add tst-strcoll-overflow.
19277 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19278 cache if string sizes may cause integer overflow.
19281 * string/strcoll_l.c (coll_seq): New members rule, idx,
19282 save_idx and back_us.
19283 (get_next_seq_nocache): New function.
19284 (do_compare_nocache): New function.
19285 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19288 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19291 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19292 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19293 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19296 * elf/Makefile (tests): Add tst-ptrguard1.
19297 (tests-static): Add tst-ptrguard1-static.
19298 (tst-ptrguard1-ARGS): Define.
19299 (tst-ptrguard1-static-ARGS): Define.
19300 * elf/tst-ptrguard1.c: New file.
19301 * elf/tst-ptrguard1-static.c: New file.
19302 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19303 * sysdeps/i386/stackguard-macros.h: Likewise.
19304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19311 2013-09-23 Hector Marco <hecmargi@upv.es>
19312 Ismael Ripoll <iripoll@disca.upv.es>
19313 Carlos O'Donell <carlos@redhat.com>
19316 * sysdeps/generic/stackguard-macros.h: Define
19317 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19318 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19319 Define __pointer_chk_guard_local.
19320 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19321 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19323 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19328 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19330 * include/string.h (__ffs): Declare as hidden.
19331 * string/ffs.c (__ffs): Define as hidden.
19332 * sysdeps/i386/ffs.c (__ffs): Likewise.
19333 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19334 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19335 * sysdeps/s390/ffs.c (__ffs): Likewise.
19336 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19338 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19340 * NEWS: Mention malloc probes.
19342 * malloc/arena.c (new_heap): New memory_heap_new probe.
19343 (grow_heap): New memory_heap_more probe.
19344 (shrink_heap): New memory_heap_less probe.
19345 (heap_trim): New memory_heap_free probe.
19346 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19347 (systrim): New memory_sbrk_less probe.
19348 * manual/probes.texi: Document them.
19350 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19351 * manual/probes.texi: Document it.
19353 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19354 (__libc_realloc): Add memory_realloc_retry probe.
19355 (__libc_memalign): Add memory_memalign_retry probe.
19356 (__libc_valloc): Add memory_valloc_retry probe.
19357 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19358 (__libc_calloc): Add memory_calloc_retry probe.
19359 * manual/probes.texi: Document them.
19361 * malloc/arena.c (get_free_list): Add probe
19362 memory_arena_reuse_free_list.
19363 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19364 and memory_arena_reuse.
19365 (arena_get2) [!PER_THREAD]: Likewise.
19366 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19367 memory_arena_reuse_realloc.
19368 * manual/probes.texi: Document them.
19370 * malloc/malloc.c (__libc_free): Add
19371 memory_mallopt_free_dyn_thresholds probe.
19372 (__libc_mallopt): Add multiple memory_mallopt probes.
19373 * manual/probes.texi: Document them.
19375 * malloc/malloc.c: Include stap-probe.h.
19376 (__libc_mallopt): Add memory_mallopt probe.
19377 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19378 * manual/probes.texi: New.
19379 * manual/Makefile (chapters): Add probes.
19380 * manual/threads.texi: Set next node.
19382 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19384 [BZ #15963, #13985]
19385 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19386 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19387 Add `Chinese' to `nan' entry name.
19389 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19391 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19392 (POLYNOMIAL): Likewise.
19393 (TAYLOR_SINCOS): Likewise.
19394 (TAYLOR_SLOW): Likewise.
19395 (__sin): Use TAYLOR_SINCOS.
19397 (slow): Use TAYLOR_SLOW.
19399 (bsloww): Likewise.
19400 (csloww): Likewise.
19402 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19404 * stdlib/strtod_l.c: Fix buffer overrun.
19406 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19408 * benchtests/Makefile (bench): Add sincos.
19409 * benchtests/bench-sincos.c: New file.
19411 * math/libm-test.inc (cos_test_data): New test inputs.
19412 (sin_test_data): Likewise.
19414 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19420 (sloww1): Likewise.
19421 (sloww2): Likewise.
19422 (bsloww1): Likewise.
19423 (bsloww2): Likewise.
19424 (cslow2): Likewise.
19425 (csloww1): Likewise.
19426 (csloww2): Likewise.
19428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19437 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19439 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19440 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19441 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19442 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19443 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19444 * elf/cache.c (print_entry): Handle the new cache flags.
19446 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19447 Aldy Hernandez <aldyh@redhat.com>
19449 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19450 Change condition to [_SOFT_FLOAT].
19451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19463 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19466 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19469 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19471 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19472 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19473 (__longjmp): Use LOAD_GP to load saved GPRs.
19474 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19475 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19476 (__sigsetjmp): Use SAVE_GP to save GPRs.
19478 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19479 Do not append -msoft-float.
19480 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19482 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19484 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19486 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19489 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19490 (_FPU_GETCW): Use initial "__" on variable and field names but not
19491 on macro parameter name.
19492 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19493 parentheses around reference to macro parameter.
19495 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19497 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19499 (ctype_startup): Use uint32_t in cast and sizeof for
19502 2013-09-11 Jia Liu <proljc@gmail.com>
19504 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19506 [__FreeBSD__]: Likewise.
19508 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19511 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19512 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19513 (strchr): Remove __strchr_sse42 ifunc selection.
19514 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19515 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19517 2013-09-11 Will Newton <will.newton@linaro.org>
19519 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19520 parameter to RES. Remove hardcoded 1000 value.
19521 * benchtests/bench-skeleton.c (main): Pass RES parameter
19522 to TIMING_INIT and multiply result by 1000.
19524 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19528 2013-09-11 Andreas Schwab <schwab@suse.de>
19530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19532 (O_TMPFILE) [__USE_GNU]: Define.
19533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19536 2013-09-11 Will Newton <will.newton@linaro.org>
19539 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19542 2013-09-11 Will Newton <will.newton@linaro.org>
19545 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19548 2013-09-11 Will Newton <will.newton@linaro.org>
19551 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19554 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19556 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19562 2013-09-10 Allan McRae <allan@archlinux.org>
19565 * manual/arith.texi (Parsing of Floats): Clarify
19569 * manual/install.texi (Running make install): Mention
19571 * INSTALL: Regenerated.
19573 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19575 * csu/init-first.c (_init): Remove the !SHARED condition around
19576 FPU control word initialization.
19577 * elf/dl-support.c (_dl_fpu_control): New variable.
19578 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19579 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19580 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19581 * math/test-fpucw-static.c: New file.
19582 * math/test-fpucw-ieee.c: New file.
19583 * math/test-fpucw-ieee-static.c: New file.
19584 * math/Makefile (tests): Add `test-fpucw-ieee' and
19586 (tests-static): New variable.
19587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19589 [($(build-shared),yes)]
19590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19592 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19595 2013-09-09 Allan McRae <allan@archlinux.org>
19598 * manual/string.texi (Collation Functions): Fix typo in
19600 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19603 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19606 * libio/memstream.c (open_memstream): Fix memory leak.
19607 * libio/wmemstream.c (open_wmemstream): Likewise.
19610 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19612 2013-09-09 Will Newton <will.newton@linaro.org>
19614 * malloc/Makefile: Add tst-realloc to tests.
19615 * malloc/tst-realloc.c: New file.
19617 2013-09-09 Allan McRae <allan@archlinux.org>
19620 * COPYING: Update from GNU website to fix FSF address.
19621 * COPYING.LIB: Likewise.
19623 2013-09-06 David S. Miller <davem@davemloft.net>
19625 * po/zh_TW.po: Update Chinese (traditional) translation from
19626 translation project.
19628 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19629 Joseph Myers <joseph@codesourcery.com>
19631 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19633 (obstack_chunk_alloc): New macro.
19634 (obstack_chunk_free): Likewise.
19635 (record_offset): New function.
19636 (init_locale_data): Likewise.
19637 (align_locale_data): Likewise.
19638 (add_locale_empty): Likewise.
19639 (add_locale_raw_data): Likewise.
19640 (add_locale_raw_obstack): Likewise.
19641 (add_locale_string): Likewise.
19642 (add_locale_wstring): Likewise.
19643 (add_locale_uint32): Likewise.
19644 (add_locale_uint32_array): Likewise.
19645 (add_locale_char): Likewise.
19646 (start_locale_structure): Likewise.
19647 (end_locale_structure): Likewise.
19648 (start_locale_prelude): Likewise.
19649 (end_locale_prelude): Likewise.
19650 (write_locale_data): Take locale_file structure rather than an
19652 * locale/programs/locfile.h: Include "obstack.h".
19653 (struct locale_file): Change to store locale file contents instead
19655 (init_locale_data): New prototype.
19656 (align_locale_data): Likewise.
19657 (add_locale_empty): Likewise.
19658 (add_locale_raw_data): Likewise.
19659 (add_locale_raw_obstack): Likewise.
19660 (add_locale_string): Likewise.
19661 (add_locale_wstring): Likewise.
19662 (add_locale_uint32): Likewise.
19663 (add_locale_uint32_array): Likewise.
19664 (add_locale_char): Likewise.
19665 (start_locale_structure): Likewise.
19666 (end_locale_structure): Likewise.
19667 (start_locale_prelude): Likewise.
19668 (end_locale_prelude): Likewise.
19669 (write_locale_data): Update prototype.
19670 * locale/programs/3level.h (struct TABLE): Remove result field.
19671 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19672 Use new locale_file interface.
19673 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19674 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19675 * locale/programs/ld-address.c (address_output): Use new
19676 locale_file interface.
19677 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19679 (collate_finish): Don't call collseq_table_finalize.
19680 (collate_output): Use new locale_file interface.
19681 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19683 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19684 (TABLE): Move defines earlier in file.
19685 (ELEMENT): Likewise.
19686 (DEFAULT): Likewise.
19687 (wctrans_table_add): Move macro and inline function earlier in
19689 (struct wctype_table): Move type earlier in file.
19690 (add_locale_wctype_table): New static prototype.
19691 (struct locale_ctype_t): Use logical types instead of struct iovec
19692 pointers for members.
19693 (ctype_output): Use new locale_file interface.
19694 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19695 new locale_file interface.
19696 (allocate_arrays): Update for use of new locale_file interface.
19697 * locale/programs/ld-identification.c (identification_output): Use
19698 new locale_file interface.
19699 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19700 * locale/programs/ld-messages.c (messages_output): Likewise.
19701 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19702 * locale/programs/ld-name.c (name_output): Likewise.
19703 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19704 * locale/programs/ld-paper.c (paper_output): Likewise.
19705 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19706 * locale/programs/ld-time.c (time_output): Likewise.
19708 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19710 * benchtests/Makefile: Add memrchr benchmark.
19711 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19712 benchmark as memrchr.
19713 * benchtests/bench-memrchr-ifunc.c: New file.
19714 * benchtests/bench-memrchr.c: New file.
19716 2013-09-06 Will Newton <will.newton@linaro.org>
19718 * benchtests/Makefile (string-bench): Add memcpy.
19720 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19721 Cong Wang <amwang@redhat.com>
19724 * sysdeps/unix/sysv/linux/bits/in.h
19725 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19726 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19727 before __USE_KERNEL_IPV6_DEFS uses.
19728 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19730 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19731 sockaddr_in6, or ipv6_mreq.
19733 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19735 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19736 memory access for final bytes in some large inputs.
19737 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19739 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19741 * string/test-memrchr.c: New file.
19742 * string/test-memrchr-ifunc.c: New file.
19743 * string/Makefile: Add new memrchr testcase.
19745 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19747 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19748 fanotify_init returns EPERM.
19750 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19752 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19754 (top level): Treat second token from macro or constant entries for
19755 allowed headers as allowed.
19756 * include/complex.h: Condition internal declarations on
19758 * include/fenv.h: Condition include of <stdbool.h> and internal
19759 declarations on [!_ISOMAC].
19761 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19764 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19766 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19768 * configure.in (--enable-versioning): Remove configure option.
19769 (libc_cv_asm_symver_directive): Remove configure test.
19770 (libc_cv_ld_version_script_option): Likewise.
19771 (VERSIONING): Remove variable and AC_SUBST.
19772 (DO_VERSIONING): Remove AC_DEFINE.
19773 * configure: Regenerated.
19774 * config.h.in (DO_VERSIONING): Remove macro.
19775 * Makerules [$(versioning) = yes]: Change conditionals to
19776 [$(build-shared) = yes].
19777 * config.make.in (versioning): Remove variable.
19778 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19779 [$(build-shared) = yes].
19780 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19781 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19782 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19783 [$(build-shared) = yes].
19784 * extra-lib.mk [$(versioning) = yes]: Likewise.
19785 * hurd/Makefile [$(versioning) = yes]: Likewise.
19786 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19788 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19790 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19791 [SHARED && !NO_HIDDEN].
19792 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19794 [SHARED && DO_VERSIONING]: Likewise..
19795 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19796 [$(build-shared) = yes].
19797 * manual/install.texi (--disable-versioning): Remove
19799 * INSTALL: Regenerated.
19800 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19802 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19803 [$(build-shared) = yes].
19804 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19805 * sysdeps/i386/i686/multiarch/strstr-c.c
19806 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19807 [SHARED && !NO_HIDDEN].
19808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19809 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19810 * sysdeps/powerpc/powerpc32/dl-machine.c
19811 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19812 * sysdeps/powerpc/powerpc32/sysdep.h
19813 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19814 to [SHARED && PIC && !NO_HIDDEN].
19815 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19816 conditional to [SHARED].
19818 2013-09-04 Will Newton <will.newton@linaro.org>
19820 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19821 * benchtests/bench-string.h: Include bench-timing.h instead
19822 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19823 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19824 call to HP_TIMING_DIFF_INIT.
19825 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19826 instead of hp-timing.h macros.
19827 * benchtests/bench-memchr.c: Likewise.
19828 * benchtests/bench-memcmp.c: Likewise.
19829 * benchtests/bench-memcpy.c: Likewise.
19830 * benchtests/bench-memmem.c: Likewise.
19831 * benchtests/bench-memmove.c: Likewise.
19832 * benchtests/bench-memset.c: Likewise.
19833 * benchtests/bench-rawmemchr.c: Likewise.
19834 * benchtests/bench-strcasecmp.c: Likewise.
19835 * benchtests/bench-strcasestr.c: Likewise.
19836 * benchtests/bench-strcat.c: Likewise.
19837 * benchtests/bench-strchr.c: Likewise.
19838 * benchtests/bench-strcmp.c: Likewise.
19839 * benchtests/bench-strcpy.c: Likewise.
19840 * benchtests/bench-strcpy_chk.c: Likewise.
19841 * benchtests/bench-strlen.c: Likewise.
19842 * benchtests/bench-strncasecmp.c: Likewise.
19843 * benchtests/bench-strncat.c: Likewise.
19844 * benchtests/bench-strncmp.c: Likewise.
19845 * benchtests/bench-strncpy.c: Likewise.
19846 * benchtests/bench-strnlen.c: Likewise.
19847 * benchtests/bench-strpbrk.c: Likewise.
19848 * benchtests/bench-strrchr.c: Likewise.
19849 * benchtests/bench-strspn.c: Likewise.
19850 * benchtests/bench-strstr.c: Likewise.
19852 2013-09-04 Will Newton <will.newton@linaro.org>
19854 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19856 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19860 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19861 * math/libm-test.inc (lgamma_test_data): Add more tests.
19862 * sysdeps/i386/fpu/libm-test-ulps: Update.
19863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19865 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19867 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19871 Add strcmp-sse2-unaligned
19872 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19874 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19876 * Versions.def (libc): Add GLIBC_2.19.
19878 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19880 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19881 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19883 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19886 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19887 intermediate calculations in recurrence.
19888 (__ieee754_ynf): Likewise.
19889 * math/libm-test.inc (jn_test_data): Do not allow spurious
19890 underflow exception. Add more tests.
19891 (yn_test_data): Add more tests.
19892 * sysdeps/i386/fpu/libm-test-ulps: Update.
19893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19895 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19899 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19901 * csu/init-first.c: Fix then/than typos.
19902 * locale/programs/ld-collate.c: Likewise.
19903 * locale/programs/linereader.h: Likewise.
19904 * manual/charset.texi: Likewise.
19905 * manual/filesys.texi: Likewise.
19906 * manual/stdio.texi: Likewise.
19907 * manual/string.texi: Likewise.
19908 * stdlib/fmtmsg.c: Likewise.
19909 * sysdeps/i386/stpncpy.S: Likewise.
19910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19911 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19913 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19915 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19917 * elf/dl-open.c: Fix typos.
19918 * iconvdata/gbbig5.c: Likewise.
19919 * iconvdata/iso-2022-jp.c: Likewise.
19920 * iconv/gconv_int.h: Likewise.
19921 * iconv/loop.c: Likewise.
19922 * nis/rpcsvc/nis.h: Likewise.
19923 * resolv/ns_name.c: Likewise.
19924 * stdio-common/vfscanf.c: Likewise.
19925 * streams/stropts.h: Likewise.
19926 * sunrpc/rpc_thread.c: Likewise.
19927 * sysdeps/i386/strpbrk.S: Likewise.
19928 * sysdeps/ieee754/k_standard.c: Likewise.
19929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19931 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19932 * sysdeps/mach/hurd/profil.c: Likewise.
19933 * sysdeps/s390/dl-procinfo.h: Likewise.
19934 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19935 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19936 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19937 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19940 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19942 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19945 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19947 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19948 aix specific files.
19949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19951 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19952 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19953 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19954 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19955 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19956 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19958 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19959 Roland McGrath <roland@hack.frob.com>
19961 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19962 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19964 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19966 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19967 __executable_start symbol instead of _start.
19969 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19971 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19972 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19974 * sysdeps/gnu/ldsodefs.h: ... this new file.
19976 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19977 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19978 instead of ELFOSABI_LINUX.
19980 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19981 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19982 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19983 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19985 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19986 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19987 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19989 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19990 (ibm_extended_long_double): Add ieee_nan member.
19991 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19992 (do_test): New function.
19994 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19996 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19997 functions, renamed from truncdfsf_test, trunctfsf_test,
19999 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20001 (do_test): Run all these.
20003 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20005 * argp/argp-help.c: Fix typos.
20006 * argp/argp-parse.c: Likewise.
20007 * debug/backtracesyms.c: Likewise.
20008 * elf/elf.h: Likewise.
20009 * malloc/malloc.c: Likewise.
20010 * nis/nis_print.c: Likewise.
20011 * resolv/res_comp.c: Likewise.
20012 * stdlib/stdlib.h: Likewise.
20013 * sunrpc/clnt_tcp.c: Likewise.
20014 * sunrpc/clnt_udp.c: Likewise.
20015 * sunrpc/clnt_unix.c: Likewise.
20016 * sysdeps/unix/bsd/ptsname.c: Likewise.
20017 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20025 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20027 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20029 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20032 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20035 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20036 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20037 ($(objpfx)bug-dl-leaf): New rule.
20038 ($(objpfx)bug-dl-leaf.so): Likewise.
20039 ($(objpfx)bug-dl-leaf.out): Likewise.
20040 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20041 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20042 * dlfcn/bug-dl-leaf.c: New test.
20043 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20044 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20045 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20046 (dlclose): Likewise.
20047 (dlmopen): Likewise.
20049 2013-08-27 Roland McGrath <roland@hack.frob.com>
20051 * include/netdb.h [!_ISOMAC]:
20052 Don't include <tls.h>.
20053 (h_errno, __libc_h_errno): Move declaration and macros out of
20056 * include/resolv.h [_RESOLV_H_]:
20057 Don't include <tls.h>.
20058 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20059 * resolv/res_libc.c: Don't include <tls.h>.
20060 (_res): Use __attribute__ ((nocommon)) in place of
20061 __attribute__ ((section (".bss"))).
20063 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20064 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20066 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20068 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20069 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20071 * resolv/res_mkquery.c: Include <sys/time.h>.
20073 * inet/ifreq.c: Moved to ...
20074 * sysdeps/unix/ifreq.c: ... here.
20075 * inet/ifreq.c: New file, true stub version.
20077 * socket/sa_len.c: New file.
20078 * socket/Makefile (aux): Add it.
20079 * sysdeps/unix/sysv/linux/Makefile
20080 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20081 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20082 and #include <socket/sa_len.c>.
20083 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20084 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20086 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20087 * bits/socket.h: ... here.
20089 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20090 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20091 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20093 2013-08-27 Andreas Schwab <schwab@suse.de>
20096 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20097 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20098 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20099 * string/test-strcasecmp.c (test_main): Run tests in several
20101 * string/test-strncasecmp.c (test_main): Likewise.
20103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20104 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20105 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20107 (__strncasecmp_ssse3) [PIC]: Likewise.
20109 2013-08-26 Roland McGrath <roland@hack.frob.com>
20111 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20113 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20114 instead of explicitly declaring xdecrypt.
20115 * nis/nss_nis/nis-publickey.c: Likewise.
20117 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20120 * nscd/aicache.c: Include res_hconf.h.
20121 (addhstaiX): Initialize res_hconf.
20123 2013-08-26 Andreas Schwab <schwab@suse.de>
20125 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20126 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20128 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20130 * nscd/aicache.c (addhstaiX): Fix indentation.
20132 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20134 * configure.ac: Quote $build_pt_chown test.
20135 * configure: Regenerated.
20137 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20140 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20141 * math/s_cexpf.c (__cexpf): Likewise.
20142 * math/s_cexpl.c (__cexpl): Likewise.
20143 * math/libm-test.inc (cexp_test_data): Correct expected return
20144 value for NaN + i0. Add another test.
20146 2013-08-22 David S. Miller <davem@davemloft.net>
20148 * po/ca.po: Update Catalan translation from translation project.
20149 * po/uk.po: Add Ukrainian translations from translation project.
20151 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20154 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20155 is infinite, not alongside NaN test.
20156 * math/s_fdimf.c (__fdimf): Likewise.
20157 * math/s_fdiml.c (__fdiml): Likewise.
20158 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20159 errno is unchanged.
20161 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20163 * argp/argp-help.c: Fix typos.
20164 * crypt/speeds.c: Likewise.
20165 * csu/check_fds.c: Likewise.
20166 * elf/dl-load.c: Likewise.
20167 * elf/dl-open.c: Likewise.
20168 * elf/reldep3.c: Likewise.
20169 * elf/reldep.c: Likewise.
20170 * elf/sprof.c: Likewise.
20171 * iconv/iconv_charmap.c: Likewise.
20172 * iconv/skeleton.c: Likewise.
20173 * iconv/strtab.c: Likewise.
20174 * io/lockf64.c: Likewise.
20175 * libio/libioP.h: Likewise.
20176 * resolv/gai_notify.c: Likewise.
20177 * resolv/ns_name.c: Likewise.
20178 * resolv/ns_samedomain.c: Likewise.
20179 * resolv/res_send.c: Likewise.
20180 * stdlib/random.c: Likewise.
20181 * sunrpc/rpc/xdr.h: Likewise.
20182 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20183 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20184 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20185 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20189 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20190 * sysdeps/mach/hurd/check_fds.c: Likewise.
20191 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20192 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20195 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20196 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20197 * sysdeps/pthread/aio_notify.c: Likewise.
20198 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20199 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20200 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20202 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20204 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20206 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20207 version if bit_Slow_SSE4_2 is set.
20208 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20211 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20214 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20215 trampoline stack frame information.
20216 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20218 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20219 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20220 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20221 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20222 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20223 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20225 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20226 interrupting a syscall and set with option SA_SIGINFO.
20228 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20231 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20232 argument is infinite.
20233 * math/s_cprojf.c (__cprojf): Likewise.
20234 * math/s_cprojl.c (__cprojl): Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20236 * math/libm-test.inc (cproj_test_data): Add more tests.
20238 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20240 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20241 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20242 size. Use __ffs to determine corresponding shift.
20244 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20245 Roland McGrath <roland@hack.frob.com>
20247 * Makefile (INSTALL): Remove trailing blank lines from output of
20250 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20252 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20253 Align 32 bit compat elf_greg to 8 bytes.
20255 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20257 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20259 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20261 * string/strcoll_l.c (coll_seq): New structure.
20262 (get_next_seq_cached): New function.
20263 (get_next_seq): New function.
20264 (do_compare): New function.
20265 (STRCOLL): Use GNU style definition. Simplify implementation
20266 by using get_next_seq, get_next_seq_cached and do_compare.
20268 2013-08-16 Florian Weimer <fweimer@redhat.com>
20272 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20274 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20276 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20277 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20278 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20280 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20281 GETDENTS_64BIT_ALIGNED.
20282 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20283 * manual/filesys.texi (Reading/Closing Directory): Document
20284 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20286 * manual/conf.texi (Limits for Files): Add portability note to
20287 NAME_MAX, PATH_MAX.
20288 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20290 2013-08-13 Andreas Schwab <schwab@suse.de>
20293 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20295 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20296 LDBL_MAX_EXP >= 16384]: Add tests for it.
20298 2013-08-12 David S. Miller <davem@davemloft.net>
20300 * version.h (RELEASE): Set to "development".
20301 (VERSION): Set to "2.18.90".
20302 * NEWS: Add 2.19 section.
20304 2013-08-03 David S. Miller <davem@davemloft.net>
20306 * po/ko.po: Update Korean translation from translation project.
20308 2013-08-01 David S. Miller <davem@davemloft.net>
20310 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20311 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20314 2013-07-30 David S. Miller <davem@davemloft.net>
20316 * po/fr.po: Update French translation from translation project.
20318 2013-07-28 David S. Miller <davem@davemloft.net>
20320 * po/cs.po: Update Czech translation from translation project.
20322 * po/sv.po: Update Swedish translation from translation project.
20324 2013-07-27 David S. Miller <davem@davemloft.net>
20326 * po/eo.po: Update Esperanto translation from translation project.
20328 * po/vi.po: Update Vietnamese translation from translation project.
20330 * po/de.po: Update German translation from translation project.
20332 2013-07-26 David S. Miller <davem@davemloft.net>
20334 * po/bg.po: Update Bulgarian translation from translation project.
20336 * po/nl.po: Update Dutch translation from translation project.
20337 * po/pl.po: Update Polish translation from translation project.
20338 * po/ru.po: Update Russian translation from translation project.
20340 2013-07-24 David S. Miller <davem@davemloft.net>
20342 * po/libc.pot: Update.
20344 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20346 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20347 variable page size.
20348 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20352 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20354 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20356 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20357 Andreas Schwab <schwab@suse.de>
20358 Roland McGrath <roland@hack.frob.com>
20359 Joseph Myers <joseph@codesourcery.com>
20360 Carlos O'Donell <carlos@redhat.com>
20363 * config.h.in: Define HAVE_PT_CHOWN.
20364 * config.make.in (build-pt-chown): New variable.
20365 * configure.in (--enable-pt_chown): New configure option.
20366 * configure: Regenerate.
20367 * login/Makefile: Include Makeconfig. Build pt_chown only if
20368 build-pt-chown is enabled.
20369 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20370 pt_chown to fix pty ownership.
20371 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20373 * manual/install.texi (Configuring and compiling): Mention
20374 --enable-pt_chown. Add @findex for grantpt.
20375 * INSTALL: Regenerate.
20377 2013-07-20 David S. Miller <davem@davemloft.net>
20379 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20380 difference between 32-bit and 64-bit.
20382 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20385 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20386 Avoid system header dependency with -ffreestanding.
20387 ($(objpfx)bits/syscall%d): Likewise.
20389 2013-07-13 David S. Miller <davem@davemloft.net>
20391 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20392 underflows from atanl/atan2l due to bug 15319.
20393 (casinh_test_data): Likewise.
20395 2013-07-07 David S. Miller <davem@davemloft.net>
20397 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20399 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20401 * sysdeps/i386/fpu/libm-test-ulps: Update.
20402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20406 * configure.in (--enable-lock-elision): Fix message text.
20407 * INSTALL: Regenerate.
20408 * configure: Regenerate.
20410 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20414 2013-07-03 Andreas Jaeger <aj@suse.de>
20416 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20418 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20419 (ptrace_peeksiginfo_args): Add.
20420 (__ptrace_peeksiginfo_flags): Add.
20421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20425 2013-07-03 Allan McRae <allan@archlinux.org>
20427 * sysdeps/i386/fpu/libm-test-ulps: Update.
20429 2013-07-02 David S. Miller <davem@davemloft.net>
20431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20433 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20437 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20439 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20442 2013-07-02 Andi Kleen <ak@linux.intel.com>
20444 * config.h.in (ENABLE_LOCK_ELISION): Add.
20445 * configure.in (--enable-lock-elision): Add option.
20446 * manual/install.texi: Document --enable lock elision.
20447 * configure: Regenerate
20448 * INSTALL: Regenerate.
20450 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20452 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20453 SSE4.2 strcasecmp for libc.a.
20454 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20456 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20459 * soft-fp/op-common.h (_FP_FMA): New macro.
20460 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20461 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20462 (_FP_MUL_MEAT_1_imm): ... here.
20463 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20464 (_FP_MUL_MEAT_1_wide): ... here.
20465 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20466 (_FP_MUL_MEAT_1_hard): ... here.
20467 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20468 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20469 (_FP_MUL_MEAT_2_wide): ... here.
20470 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20471 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20472 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20473 (_FP_MUL_MEAT_2_gmp): ... here.
20474 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20475 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20476 (_FP_MUL_MEAT_4_wide): ... here.
20477 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20478 (_FP_MUL_MEAT_4_gmp): ... here.
20479 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20480 (_FP_WFRACBITS_DW_S): Likewise.
20481 (_FP_WFRACXBITS_DW_S): Likewise.
20482 (_FP_HIGHBIT_DW_S): Likewise.
20483 (FP_FMA_S): Likewise.
20484 (_FP_FRAC_HIGH_DW_S): Likewise.
20485 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20486 (_FP_WFRACBITS_DW_D): Likewise.
20487 (_FP_WFRACXBITS_DW_D): Likewise.
20488 (_FP_HIGHBIT_DW_D): Likewise.
20489 (FP_FMA_D): Likewise.
20490 (_FP_FRAC_HIGH_DW_D): Likewise.
20491 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20492 (_FP_WFRACBITS_DW_E): Likewise.
20493 (_FP_WFRACXBITS_DW_E): Likewise.
20494 (_FP_HIGHBIT_DW_E): Likewise.
20495 (FP_FMA_E): Likewise.
20496 (_FP_FRAC_HIGH_DW_E): Likewise.
20497 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20498 (_FP_WFRACBITS_DW_Q): Likewise.
20499 (_FP_WFRACXBITS_DW_Q): Likewise.
20500 (_FP_HIGHBIT_DW_Q): Likewise.
20501 (FP_FMA_Q): Likewise.
20502 (_FP_FRAC_HIGH_DW_Q): Likewise.
20503 * soft-fp/fmasf4.c: New file.
20504 * soft-fp/fmadf4.c: Likewise.
20505 * soft-fp/fmatf4.c: Likewise.
20507 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20510 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20514 (index_Slow_SSE4_2): Likewise.
20515 (index_Prefer_PMINUB_for_stringop): Likewise.
20516 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20517 bit_Slow_SSE4_2 is set.
20518 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20519 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20521 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20523 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20524 rtld_global._dl_hwcap2.
20525 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20527 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20528 POWER8 feature descriptions defined in _dl_hwcap2.
20529 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20530 string handling for POWER8 feature bits.
20531 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20532 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20533 _dl_powerpc_cap_flags.
20534 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20535 * sysdeps/powerpc/rtld-global-offsets.sym
20536 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20537 _dl_hwcap2 in the rtld_global_ro structure.
20539 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20541 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20542 hardware capabilities in support of AT_HWCAP2.
20543 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20544 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20546 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20547 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20548 explicitly the unknown a_type display mechanism is used.
20549 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20550 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20552 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20553 to macro prototype for AT_HWCAP2 support.
20554 * sysdeps/i386/dl-procinfo.h: Likewise.
20555 * sysdeps/s390/dl-procinfo.h: Likewise.
20556 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20557 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20558 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20559 return -1 for unknown a_type display fallback.
20560 * sysdeps/sparc/dl-procinfo.h: Likewise.
20561 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20562 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20564 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20566 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20567 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20569 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20572 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20573 mprotect making __stack_prot writable.
20575 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20576 Joseph Myers <joseph@codesourcery.com>
20578 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20579 as being properly aligned.
20581 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20583 * dlfcn/modstatic5.c: New file.
20584 * dlfcn/tststatic5.c: New file.
20585 * dlfcn/Makefile (tests): Add tststatic5.
20586 (tests-static): Likewise.
20587 (modules-names): Add modstatic5.
20588 (tststatic5-ENV): New variable.
20589 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20592 * elf/dl-support.c (_dl_main_map): New variable.
20593 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20594 (_dl_nns, _dl_load_adds): Set to 1.
20595 (_dl_initial_searchlist): Refer to _dl_main_map.
20596 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20597 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20598 call to _dl_get_origin.
20599 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20601 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20602 * dlfcn/modstatic3.c: New file.
20603 * dlfcn/tststatic3.c: New file.
20604 * dlfcn/tststatic4.c: New file.
20605 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20606 (tests-static): Likewise.
20607 (modules-names): Add modstatic3.
20608 (tststatic3-ENV, tststatic4-ENV): New variables.
20609 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20610 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20612 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20614 * configure.in (CC): Require GCC version 4.4 or later.
20615 * configure: Regenerated.
20616 * manual/install.texi (Tools for Compilation): Update GCC version
20618 * INSTALL: Regenerated.
20620 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20623 * string/test-memcmp.c (check2): New.
20624 (main): Call check2.
20626 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20628 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20631 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20633 (dl_open_worker) [!SHARED]: ... here.
20635 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20637 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20639 2013-06-25 Richard Henderson <rth@redhat.com>
20641 * locale/programs/locarchive.c: Include <libc-internal.h>
20643 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20645 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20646 trailing whitespace removed.
20648 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20651 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20652 * locale/programs/locarchive.c: Include libc-mmap.h.
20653 (prepare_address_space): Take two new outputs (the mmap base and len).
20654 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20656 (create_archive): Declare new mmap base and len values for
20657 prepare_address_space, and store the result in ah.
20658 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20659 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20660 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20661 Declare new mmap base and len values for
20662 prepare_address_space, and store the result in new_ah.
20663 (open_archive): Declare new mmap base and len values for
20664 prepare_address_space, and store the result in ah.
20665 (close_archive): If ah->mmap_base is not NULL, use that and
20666 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20667 * sysdeps/generic/libc-mmap.h: New file.
20669 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20671 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20672 (ALIGN_UP): Likewise.
20673 (PTR_ALIGN_DOWN): Likewise.
20674 (PTR_ALIGN_UP): Likewise.
20676 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20678 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20679 entry mapped to PPC_PLATFORM_POWER8.
20680 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20682 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20683 (_dl_string_platform): Add case for exporting platform position for
20685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20686 search path to sysdeps/powerpc/powerpc32/power8 directory.
20687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20688 search path to sysdeps/powerpc/powerpc64/power8 directory.
20689 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20690 power7 directories.
20691 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20692 power7 directories.
20694 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20696 * INSTALL: Regenerate.
20698 * nscd/connections.c (nscd_init): Fix comment.
20700 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20702 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20705 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20706 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20708 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20710 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20712 (DL_DST_REQ_STATIC): Remove macro.
20714 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20717 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20718 with a shift of 0 bits.
20720 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20722 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20725 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20728 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20730 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20732 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20733 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20734 accepts -fno-tree-loop-distribute-patterns.
20735 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20736 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20738 * string/memset.c (memset): Likewise.
20739 * string/test-memmove.c (simple_memmove): Disable loop transformation
20741 * string/test-memset.c (simple_memset): Likewise.
20742 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20743 * benchtests/bench-memset.c (simple_memset): Likewise.
20744 * configure: Regenerated.
20746 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20748 * math/test-misc.c (main): Ignore fesetround failure when failures
20749 of subsequent rounding tests would be ignored.
20752 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20753 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20754 * math/fegetenv.c (__fegetenv): Return 0.
20755 * math/fegetexcept.c (fegetexcept): Return 0.
20756 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20758 * math/feholdexcpt.c (feholdexcept): Return 0.
20759 * math/fesetenv.c (__fesetenv): Return 0.
20760 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20761 argument FE_TONEAREST.
20762 * math/feupdateenv.c (__feupdateenv): Return 0.
20763 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20765 2013-06-18 Roland McGrath <roland@hack.frob.com>
20767 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20768 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20769 ($(objpfx)rtld-%.os rules): Use them.
20771 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20773 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20776 2013-06-17 Roland McGrath <roland@hack.frob.com>
20778 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20779 length of target pattern, then descending length of dependency pattern.
20780 * configure.in (AWK): Require gawk 3.1.2 or newer.
20781 * manual/install.texi (Tools for Compilation): Say that we do.
20782 * configure: Regenerated.
20784 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20785 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20786 * scripts/sysd-rules.awk: ... this new script.
20787 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20788 than a glob-style pattern.
20790 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20792 * math/test-misc.c (main): Do not treat incorrectly rounded
20793 conversions as failure unless ROUNDING_TESTS passes.
20795 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20798 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20799 restore exception state around main square root computation, then
20800 check for inexactness explicitly.
20802 * math/libm-test.inc (fma_test_data): Add another test.
20804 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20806 * manual/threads.texi (Non-POSIX Extensions): New document
20807 node. Document pthread_getattr_default_np and
20808 pthread_setattr_default_np.
20810 * Versions.def (libpthread): Add GLIBC_2.18.
20811 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20820 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20831 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20834 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20836 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20837 H.J. Lu <hjl.tools@gmail.com>
20840 * sysdeps/x86_64/rtld-memset.c: Remove file.
20841 * sysdeps/x86_64/rtld-memset.S: New file.
20843 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20845 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20846 (test_in_one_mode): Take arguments for whether the rounding mode
20847 is supported for each floating-point type.
20848 (do_test): Pass new arguments to test_in_one_mode using
20851 2013-06-13 Roland McGrath <roland@hack.frob.com>
20853 * posix/tst-waitid.c (do_test): Distinguish different instances of
20854 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20855 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20856 before entering the kernel for waitpid.
20858 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20860 * NEWS: Fix note on clock function precision. Text by Roland
20863 2013-06-13 Roland McGrath <roland@hack.frob.com>
20865 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20866 it into place only when and if the sanity check passes.
20868 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20870 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20871 output for whether conversion result is exact. Take argument
20872 indicating whether type is IBM long double.
20873 (round_for_all): Change need_exact field to ibm_ld.
20874 * stdlib/tst-strtod-round.c (struct exactness): New type.
20875 (struct test): Change bool ld_ok field to struct exactness exact.
20876 (TEST): Update all definitions for change to field.
20877 (tests): Regenerate array contents.
20878 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20879 field value. Check for IBM long double here.
20880 (do_test): Update calls to test_in_one_mode.
20882 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20885 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20886 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20888 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20891 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20892 generated by the compiler on loop optimizations.
20893 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20894 general definitions.
20896 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20898 * math/bug-nextafter.c: Include <math-tests.h>.
20899 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20901 * math/bug-nexttoward.c: Include <math-tests.h>.
20902 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20904 * math/test-misc.c: Include <math-tests.h>.
20905 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20908 2013-06-12 Andreas Jaeger <aj@suse.de>
20910 * po/ia.po: Update Interlingua translation from translation
20913 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20915 * include/fenv.h: Include stdbool.h.
20916 (struct rm_ctx): New structure.
20917 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20919 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20920 (SET_RESTORE_ROUNDF): Likewise.
20921 (SET_RESTORE_ROUNDL): Likewise.
20922 (SET_RESTORE_ROUND_NOEX): Likewise.
20923 (SET_RESTORE_ROUND_NOEXF): Likewise.
20924 (SET_RESTORE_ROUND_NOEXL): Likewise.
20925 (SET_RESTORE_ROUND_53BIT): Likewise.
20926 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20927 (libc_feresetround_noexf_ctx): Likewise.
20928 (libc_feresetround_noexl_ctx): Likewise.
20929 (libc_feholdsetround_53bit_ctx): Likewise.
20930 (libc_feresetround_53bit_ctx): Likewise.
20931 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20932 (libc_feholdexcept_setround_sse_ctx): New function.
20933 (libc_fesetenv_sse_ctx): Likewise.
20934 (libc_feupdateenv_sse_ctx): Likewise.
20935 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20936 (libc_feholdexcept_setround_387_ctx): Likewise.
20937 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20938 (libc_feholdsetround_387_prec_ctx): Likewise.
20939 (libc_feholdsetround_387_ctx): Likewise.
20940 (libc_feholdsetround_387_53bit_ctx): Likewise.
20941 (libc_feholdsetround_sse_ctx): Likewise.
20942 (libc_feresetround_sse_ctx): Likewise.
20943 (libc_feresetround_387_ctx): Likewise.
20944 (libc_feupdateenv_387_ctx): Likewise.
20945 (libc_feholdexcept_setroundf_ctx): Define macro.
20946 (libc_fesetenvf_ctx): Likewise.
20947 (libc_feupdateenvf_ctx): Likewise.
20948 (libc_feholdsetroundf_ctx): Likewise.
20949 (libc_feresetroundf_ctx): Likewise.
20950 (libc_feholdexcept_setround_ctx): Likewise.
20951 (libc_fesetenv_ctx): Likewise.
20952 (libc_feupdateenv_ctx): Likewise.
20953 (libc_feholdsetround_ctx): Likewise.
20954 (libc_feresetround_ctx): Likewise.
20955 (libc_feholdexcept_setroundl_ctx): Likewise.
20956 (libc_feupdateenvl_ctx): Likewise.
20957 (libc_feholdsetroundl_ctx): Likewise.
20958 (libc_feresetroundl_ctx): Likewise.
20959 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20960 (libc_feresetround_53bit_ctx): Likewise.
20962 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20964 * locale/iso-639.def: Convert to UTF-8.
20966 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20968 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20969 (EXCEPTION_TESTS_double): Likewise.
20970 (EXCEPTION_TESTS_long_double): Likewise.
20971 (EXCEPTION_TESTS): Likewise.
20972 * math/libm-test.inc (test_exceptions): Only test exceptions if
20973 EXCEPTION_TESTS (FLOAT).
20975 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20977 * benchtests/Makefile (string-bench): Add strcpy_chk and
20979 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20980 * benchtests/bench-stpcpy_chk.c: New file.
20981 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20982 * benchtests/bench-strcpy_chk.c: New file.
20983 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20985 (do_test): Likewise.
20987 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20990 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20991 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20992 with tabs where appropriate.
20993 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20995 [PPC_PLATFORM_PPC440]: Likewise.
20996 [PPC_PLATFORM_PPC464]: Likewise.
20997 [PPC_PLATFORM_PPC476]: Likewise.
20998 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20999 ppc464, and ppc476 platform strings merging from ports/
21002 2013-06-11 Andreas Schwab <schwab@suse.de>
21005 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21006 (from_ucs4_idx): Regenerate.
21007 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21008 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21009 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21010 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21011 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21012 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21013 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21014 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21015 from FROM_LOOP and TO_LOOP specific macros.
21016 (BODY): Handle combining characters.
21017 * iconvdata/BIG5HKSCS.irreversible: Update.
21018 * iconvdata/BIG5HKSCS.precomposed: New file.
21019 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21021 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21023 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21025 * include/sys/time.h: Fix indentation and add copyright header.
21027 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21028 (do_test): Likewise.
21029 * string/test-memchr.c (do_one_test): Likewise.
21030 (do_test): Likewise.
21031 * string/test-memcmp.c (do_one_test): Likewise.
21032 (do_test): Likewise.
21033 * string/test-memcpy.c (do_one_test): Likewise.
21034 (do_test): Likewise.
21035 * string/test-memmem.c (do_one_test): Likewise.
21036 (do_test): Likewise.
21037 (do_random_tests): Likewise.
21038 * string/test-memmove.c (do_one_test): Likewise.
21039 (do_test): Likewise.
21040 * string/test-memset.c (do_one_test): Likewise.
21041 (do_test): Likewise.
21042 * string/test-rawmemchr.c (do_one_test): Likewise.
21043 (do_test): Likewise.
21044 * string/test-strcasecmp.c (do_one_test): Likewise.
21045 (do_test): Likewise.
21046 * string/test-strcasestr.c (do_one_test): Likewise.
21047 (do_test): Likewise.
21048 * string/test-strcat.c (do_one_test): Likewise.
21049 (do_test): Likewise.
21050 * string/test-strchr.c (do_one_test): Likewise.
21051 (do_test): Likewise.
21052 * string/test-strcmp.c (do_one_test): Likewise.
21053 (do_test): Likewise.
21054 * string/test-strcpy.c (do_one_test): Likewise.
21055 (do_test): Likewise.
21056 * string/test-string.h: Likewise.
21057 (test_init): Likewise.
21058 * string/test-strlen.c (do_one_test): Likewise.
21059 (do_test): Likewise.
21060 * string/test-strncasecmp.c (do_one_test): Likewise.
21061 (do_test): Likewise.
21062 * string/test-strncat.c (do_one_test): Likewise.
21063 (do_test): Likewise.
21064 * string/test-strncmp.c (do_one_test): Likewise.
21065 (do_test_limit): Likewise.
21066 (do_test): Likewise.
21067 * string/test-strncpy.c (do_one_test): Likewise.
21068 (do_test): Likewise.
21069 * string/test-strnlen.c (do_one_test): Likewise.
21070 (do_test): Likewise.
21071 * string/test-strpbrk.c (do_one_test): Likewise.
21072 (do_test): Likewise.
21073 * string/test-strrchr.c (do_one_test): Likewise.
21074 (do_test): Likewise.
21075 * string/test-strspn.c (do_one_test): Likewise.
21076 (do_test): Likewise.
21077 * string/test-strstr.c (do_one_test): Likewise.
21078 (do_test): Likewise.
21080 * benchtests/Makefile (string-bench): Add string benchmarks.
21081 * benchtests/bench-bcopy-ifunc.c: New file.
21082 * benchtests/bench-bcopy.c: New file.
21083 * benchtests/bench-bzero-ifunc.c: New file.
21084 * benchtests/bench-bzero.c: New file.
21085 * benchtests/bench-memccpy-ifunc.c: New file.
21086 * benchtests/bench-memccpy.c: New file.
21087 * benchtests/bench-memchr-ifunc.c: New file.
21088 * benchtests/bench-memchr.c: New file.
21089 * benchtests/bench-memcmp-ifunc.c: New file.
21090 * benchtests/bench-memcmp.c: New file.
21091 * benchtests/bench-memmem-ifunc.c: New file.
21092 * benchtests/bench-memmem.c: New file.
21093 * benchtests/bench-memmove-ifunc.c: New file.
21094 * benchtests/bench-memmove.c: New file.
21095 * benchtests/bench-mempcpy-ifunc.c: New file.
21096 * benchtests/bench-mempcpy.c: New file.
21097 * benchtests/bench-memset-ifunc.c: New file.
21098 * benchtests/bench-memset.c: New file.
21099 * benchtests/bench-rawmemchr-ifunc.c: New file.
21100 * benchtests/bench-rawmemchr.c: New file.
21101 * benchtests/bench-stpcpy-ifunc.c: New file.
21102 * benchtests/bench-stpcpy.c: New file.
21103 * benchtests/bench-stpncpy-ifunc.c: New file.
21104 * benchtests/bench-stpncpy.c: New file.
21105 * benchtests/bench-strcasecmp-ifunc.c: New file.
21106 * benchtests/bench-strcasecmp.c: New file.
21107 * benchtests/bench-strcasestr-ifunc.c: New file.
21108 * benchtests/bench-strcasestr.c: New file.
21109 * benchtests/bench-strcat-ifunc.c: New file.
21110 * benchtests/bench-strcat.c: New file.
21111 * benchtests/bench-strchr-ifunc.c: New file.
21112 * benchtests/bench-strchr.c: New file.
21113 * benchtests/bench-strchrnul-ifunc.c: New file.
21114 * benchtests/bench-strchrnul.c: New file.
21115 * benchtests/bench-strcmp-ifunc.c: New file.
21116 * benchtests/bench-strcmp.c: New file.
21117 * benchtests/bench-strcpy-ifunc.c: New file.
21118 * benchtests/bench-strcpy.c: New file.
21119 * benchtests/bench-strcspn-ifunc.c: New file.
21120 * benchtests/bench-strcspn.c: New file.
21121 * benchtests/bench-strlen-ifunc.c: New file.
21122 * benchtests/bench-strlen.c: New file.
21123 * benchtests/bench-strncasecmp-ifunc.c: New file.
21124 * benchtests/bench-strncasecmp.c: New file.
21125 * benchtests/bench-strncat-ifunc.c: New file.
21126 * benchtests/bench-strncat.c: New file.
21127 * benchtests/bench-strncmp-ifunc.c: New file.
21128 * benchtests/bench-strncmp.c: New file.
21129 * benchtests/bench-strncpy-ifunc.c: New file.
21130 * benchtests/bench-strncpy.c: New file.
21131 * benchtests/bench-strnlen-ifunc.c: New file.
21132 * benchtests/bench-strnlen.c: New file.
21133 * benchtests/bench-strpbrk-ifunc.c: New file.
21134 * benchtests/bench-strpbrk.c: New file.
21135 * benchtests/bench-strrchr-ifunc.c: New file.
21136 * benchtests/bench-strrchr.c: New file.
21137 * benchtests/bench-strspn-ifunc.c: New file.
21138 * benchtests/bench-strspn.c: New file.
21139 * benchtests/bench-strstr-ifunc.c: New file.
21140 * benchtests/bench-strstr.c: New file.
21142 * benchtests/Makefile: Disable parallel execution of targets.
21143 (string-bench): Add memcpy.
21144 (benchset): New variable to store a list of benchmark sets.
21145 (bench-func): Renamed from bench.
21146 (bench-set): New target.
21147 (bench): Depend on bench-func and bench-set.
21148 * benchtests/README: Add section on benchmark sets.
21149 * benchtests/bench-memcpy-ifunc.c: New file.
21150 * benchtests/bench-memcpy.c: New file.
21151 * benchtests/bench-string.h: New file.
21153 2013-06-11 Andreas Schwab <schwab@suse.de>
21156 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21157 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21158 values in the triple.
21159 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21160 terminator in the group key.
21162 2013-06-11 Andreas Jaeger <aj@suse.de>
21164 * po/zh_TW.po: Update Chinese (traditional) translation from
21165 translation project.
21167 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21169 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21170 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21171 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21172 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21173 (clock_getcpuclockid): Likewise.
21174 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21175 Add weak_alias and libc_hidden_def.
21176 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21177 * rt/clock_gettime.c (clock_gettime): Rename to
21178 __clock_gettime. Add weak_alias and libc_hidden_def.
21179 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21180 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21181 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21182 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21183 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21185 * rt/clock_settime.c (clock_settime): Rename to
21186 __clock_settime. Add weak_alias and libc_hidden_def.
21187 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21189 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21191 * mach/err_boot.sub: Remove trailing whitespace.
21192 * mach/err_ipc.sub: Likewise.
21193 * mach/err_mach.sub: Likewise.
21195 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21196 (ROUNDING_TESTS_double): Likewise.
21197 (ROUNDING_TESTS_long_double): Likewise.
21198 (ROUNDING_TESTS): Likewise.
21199 * math/libm-test.inc: Include <math-tests.h>.
21200 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21201 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21202 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21203 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21205 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21210 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21212 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21213 otherwise empty TRANS lines.
21214 * sysdeps/gnu/errlist.c: Regenerated.
21216 * catgets/gencat.c (error_print): Use (void) in function
21218 * crypt/crypt_util.c (__init_des): Likewise.
21219 * crypt/speeds.c (Stop): Likewise.
21221 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21222 * inet/ruserpass.c (token): Likewise.
21223 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21224 * intl/localealias.c (extend_alias_table): Likewise.
21225 * intl/plural-exp.c (init_germanic_plural): Likewise.
21226 * libio/fcloseall.c (__fcloseall): Likewise.
21227 * libio/genops.c (_IO_flush_all): Likewise.
21228 (_IO_flush_all_linebuffered): Likewise.
21229 (_IO_cleanup): Likewise.
21230 (_IO_iter_begin): Likewise.
21231 (_IO_iter_end): Likewise.
21232 (_IO_list_lock): Likewise.
21233 (_IO_list_unlock): Likewise.
21234 (_IO_list_resetlock): Likewise.
21235 * libio/getchar.c (getchar): Likewise.
21236 * libio/getchar_u.c (getchar_unlocked): Likewise.
21237 * libio/getwchar.c (getwchar): Likewise.
21238 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21239 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21240 * login/getpt.c (__getpt): Likewise.
21241 * login/tst-utmp.c (main): Likewise.
21242 * malloc/hooks.c (__malloc_check_init): Likewise.
21243 * malloc/malloc.c (__malloc_stats): Likewise.
21244 * malloc/mtrace.c (tr_break): Likewise.
21245 (mtrace): Likewise.
21246 (muntrace): Likewise.
21247 * misc/fstab.c (endfsent): Likewise.
21248 * misc/getclktck.c (__getclktck): Likewise.
21249 * misc/getdtsz.c (__getdtablesize): Likewise.
21250 * misc/gethostid.c (gethostid): Likewise.
21251 * misc/getpagesize.c (__getpagesize): Likewise.
21252 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21253 (__get_nprocs): Likewise.
21254 (__get_phys_pages): Likewise.
21255 (__get_avphys_pages): Likewise.
21256 * misc/getttyent.c (getttyent): Likewise.
21257 (setttyent): Likewise.
21258 (endttyent): Likewise.
21259 * misc/getusershell.c (getusershell): Likewise.
21260 (endusershell): Likewise.
21261 (setusershell): Likewise.
21262 (initshells): Likewise.
21263 * misc/hsearch.c (__hdestroy): Likewise.
21264 * misc/sync.c (sync): Likewise.
21265 * misc/syslog.c (closelog_internal): Likewise.
21266 (closelog): Likewise.
21267 * misc/ttyslot.c (ttyslot): Likewise.
21268 * misc/vhangup.c (vhangup): Likewise.
21269 * posix/fork.c (__fork): Likewise.
21270 * posix/getegid.c (__getegid): Likewise.
21271 * posix/geteuid.c (__geteuid): Likewise.
21272 * posix/getgid.c (__getgid): Likewise.
21273 * posix/getpid.c (__getpid): Likewise.
21274 * posix/getppid.c (__getppid): Likewise.
21275 * posix/getuid.c (__getuid): Likewise.
21276 * posix/pause.c (pause): Likewise.
21277 * posix/setpgrp.c (setpgrp): Likewise.
21278 * posix/setsid.c (__setsid): Likewise.
21279 * posix/test-vfork.c (noop): Likewise.
21280 * resolv/gethnamaddr.c (_endhtent): Likewise.
21281 (_gethtent): Likewise.
21282 (ht_endhostent): Likewise.
21283 (gethostent): Likewise.
21284 (dns_service): Likewise.
21285 * stdlib/drand48.c (drand48): Likewise.
21286 * stdlib/lrand48.c (lrand48): Likewise.
21287 * stdlib/mrand48.c (mrand48): Likewise.
21288 * stdlib/rand.c (rand): Likewise.
21289 * stdlib/random.c (__random): Likewise.
21290 * stdlib/setenv.c (clearenv): Likewise.
21291 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21292 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21293 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21294 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21295 (__get_nprocs): Likewise.
21296 (__get_phys_pages): Likewise.
21297 (__get_avphys_pages): Likewise.
21298 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21299 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21300 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21301 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21302 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21303 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21304 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21305 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21306 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21307 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21308 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21309 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21310 * sysdeps/posix/clock.c (clock): Likewise.
21311 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21312 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21313 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21314 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21315 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21317 (__get_nprocs_conf): Likewise.
21318 (__get_phys_pages): Likewise.
21319 (__get_avphys_pages): Likewise.
21320 * time/clock.c (clock): Likewise.
21321 * time/tzset.c (__tzname_max): Likewise.
21323 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21325 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21326 (__bswap_32): Do not use "register".
21327 * crypt/crypt.c (_ufc_doit_r): Likewise.
21328 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21329 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21330 * gmon/gmon.c (__monstartup): Likewise.
21331 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21332 * hurd/hurdmalloc.c (more_memory): Likewise.
21333 (malloc): Likewise.
21335 (realloc): Likewise.
21336 (malloc_fork_prepare): Likewise.
21337 (malloc_fork_parent): Likewise.
21338 (malloc_fork_child): Likewise.
21339 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21340 (_svcauth_des): Likewise.
21341 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21342 * inet/inet_net.c (inet_network): Likewise.
21343 * inet/inet_netof.c (inet_netof): Likewise.
21344 * inet/rcmd.c (__validuser2_sa): Likewise.
21345 * io/fts.c (fts_open): Likewise.
21346 (fts_load): Likewise.
21347 (fts_close): Likewise.
21348 (fts_read): Likewise.
21349 (fts_children): Likewise.
21350 (fts_build): Likewise.
21351 (fts_stat): Likewise.
21352 (fts_sort): Likewise.
21353 (fts_alloc): Likewise.
21354 (fts_lfree): Likewise.
21355 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21356 (_IO_file_xsgetn): Likewise.
21357 (_IO_file_xsgetn_mmap): Likewise.
21358 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21359 (_IO_cookie_write): Likewise.
21360 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21361 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21362 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21363 * malloc/obstack.c (_obstack_begin): Likewise.
21364 (_obstack_begin_1): Likewise.
21365 (_obstack_newchunk): Likewise.
21366 (_obstack_allocated_p): Likewise.
21367 (obstack_free): Likewise.
21368 (_obstack_memory_used): Likewise.
21369 * misc/getttyent.c (getttynam): Likewise.
21370 (getttyent): Likewise.
21373 * misc/getusershell.c (initshells): Likewise.
21374 * misc/syslog.c (__vsyslog_chk): Likewise.
21375 * misc/ttyslot.c (ttyslot): Likewise.
21376 * nis/nis_hash.c (__nis_hash): Likewise.
21377 * posix/fnmatch_loop.c (FCT): Likewise.
21378 * posix/getconf.c (print_all): Likewise.
21380 * posix/getopt.c (exchange): Likewise.
21381 * posix/glob.c (globfree): Likewise.
21382 (prefix_array): Likewise.
21383 (__glob_pattern_type): Likewise.
21384 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21385 (NS_GET32): Likewise.
21386 (NS_PUT16): Likewise.
21387 (NS_PUT32): Likewise.
21388 * resolv/gethnamaddr.c (getanswer): Likewise.
21389 (gethostbyname2): Likewise.
21390 (gethostbyaddr): Likewise.
21391 (_gethtent): Likewise.
21392 (_gethtbyname2): Likewise.
21393 (_gethtbyaddr): Likewise.
21394 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21395 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21396 * resolv/res_init.c (__res_vinit): Likewise.
21397 (net_mask): Likewise.
21398 * resolv/res_mkquery.c (outchar): Likewise.
21400 * stdio-common/printf_fp.c (outchar): Likewise.
21402 * stdio-common/printf_fphex.c (outchar): Likewise.
21404 * stdio-common/printf_size.c (outchar): Likewise.
21406 * stdio-common/test_rdwr.c (main): Likewise.
21407 * stdio-common/tfformat.c (matches): Likewise.
21408 * stdio-common/vfprintf.c (outchar): Likewise.
21409 (printf_unknown): Likewise.
21410 (buffered_vfprintf): Likewise.
21411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21412 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21413 (ReadFile): Likewise.
21414 * stdlib/qsort.c (SWAP): Likewise.
21415 (_quicksort): Likewise.
21416 * stdlib/setenv.c (__add_to_environ): Likewise.
21417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21418 * stdlib/strtol_l.c (__strtol_l): Likewise.
21419 * stdlib/tst-strtod.c (main): Likewise.
21420 * stdlib/tst-strtol.c (main): Likewise.
21421 * stdlib/tst-strtoll.c (main): Likewise.
21422 * string/bits/string2.h (__strcmp_cc): Likewise.
21423 (__strcmp_cg): Likewise.
21424 (__strcspn_c1): Likewise.
21425 (__strcspn_c2): Likewise.
21426 (__strcspn_c3): Likewise.
21427 (__strspn_c1): Likewise.
21428 (__strspn_c2): Likewise.
21429 (__strspn_c3): Likewise.
21430 (__strsep_1c): Likewise.
21431 (__strsep_2c): Likewise.
21432 (__strsep_3c): Likewise.
21433 * string/memccpy.c (__memccpy): Likewise.
21434 * string/stpcpy.c (__stpcpy): Likewise.
21435 * string/strcmp.c (strcmp): Likewise.
21436 * string/strrchr.c (strrchr): Likewise.
21437 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21439 * sysdeps/mach/hurd/getcwd.c
21440 (_hurd_canonicalize_directory_name_internal): Likewise.
21441 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21442 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21443 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21444 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21445 Likewise, in both definitions.
21446 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21448 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21449 64] (__bswap_64): Likewise.
21450 * time/test_time.c (main): Likewise.
21451 * time/tzfile.c (__tzfile_read): Likewise.
21452 (__tzfile_compute): Likewise.
21453 * time/tzset.c (__tzset_parse_tz): Likewise.
21454 (tzset_internal): Likewise.
21455 (compute_change): Likewise.
21456 * wcsmbs/wcscat.c (__wcscat): Likewise.
21457 * wcsmbs/wcschr.c (wcschr): Likewise.
21458 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21459 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21460 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21461 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21462 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21463 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21464 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21465 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21466 * wcsmbs/wmemset.c (wmemset): Likewise.
21468 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21470 * scripts/config.guess: Update to version 2013-05-16.
21471 * scripts/config.sub: Update to version 2013-04-24.
21472 * scripts/install-sh: Update to version 2011-11-20.07.
21473 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21474 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21476 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21478 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21479 * elf/sln.c: Likewise.
21480 * hurd/hurd/ioctl.h: Likewise.
21481 * hurd/hurdmalloc.c: Likewise.
21482 * hurd/xattr.c: Likewise.
21483 * include/shlib-compat.h: Likewise.
21484 * inet/ruserpass.c: Likewise.
21485 * libio/iofgets_u.c: Likewise.
21486 * libio/iofgetws_u.c: Likewise.
21487 * locale/programs/ld-identification.c: Likewise.
21488 * locale/programs/ld-time.c: Likewise.
21489 * mach/msg-destroy.c: Likewise.
21490 * nss/nss_files/files-netgrp.c: Likewise.
21491 * resolv/res_data.c: Likewise.
21492 * soft-fp/op-1.h: Likewise.
21493 * soft-fp/op-2.h: Likewise.
21494 * soft-fp/op-4.h: Likewise.
21495 * soft-fp/op-common.h: Likewise.
21496 * stdio-common/printf_fphex.c: Likewise.
21497 * stdlib/strtod_l.c: Likewise.
21498 * sunrpc/rpc/clnt.h: Likewise.
21499 * sysdeps/generic/framestate.c: Likewise.
21500 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21501 * sysdeps/i386/bsd-setjmp.S: Likewise.
21502 * sysdeps/i386/__longjmp.S: Likewise.
21503 * sysdeps/i386/setjmp.S: Likewise.
21504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21505 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21522 * sysdeps/ieee754/support.c: Likewise.
21523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21524 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21525 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21526 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21527 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21528 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21529 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21530 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21531 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21532 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21533 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21534 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21538 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21539 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21542 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21544 * posix/transbug.c: Remove executable mode.
21546 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21548 * crypt/speeds.c: Remove trailing whitespace.
21549 * dlfcn/default.c: Likewise.
21550 * elf/ifuncdep2.c: Likewise.
21551 * elf/ifuncmain1.c: Likewise.
21552 * elf/ifuncmain1vis.c: Likewise.
21553 * elf/testobj.h: Likewise.
21554 * elf/tst-stackguard1.c: Likewise.
21555 * gmon/sys/gmon.h: Likewise.
21556 * hurd/hurdmsg.c: Likewise.
21557 * hurd/new-fd.c: Likewise.
21558 * hurd/ports-get.c: Likewise.
21559 * iconvdata/ibm1008_420.c: Likewise.
21560 * inet/tst-getni1.c: Likewise.
21561 * inet/tst-getni2.c: Likewise.
21562 * libio/ioungetc.c: Likewise.
21563 * libio/wfiledoalloc.c: Likewise.
21564 * manual/libm-err-tab.pl: Likewise.
21565 * math/w_dremf.c: Likewise.
21566 * misc/ftruncate.c: Likewise.
21567 * posix/bug-glob2.c: Likewise.
21568 * posix/tst-pcre.c: Likewise.
21569 * posix/wait4.c: Likewise.
21570 * resolv/README: Likewise.
21571 * resolv/res_debug.h: Likewise.
21572 * resolv/tst-inet_ntop.c: Likewise.
21573 * setjmp/bug269-setjmp.c: Likewise.
21574 * soft-fp/extended.h: Likewise.
21575 * soft-fp/op-1.h: Likewise.
21576 * soft-fp/op-2.h: Likewise.
21577 * soft-fp/op-4.h: Likewise.
21578 * soft-fp/op-8.h: Likewise.
21579 * soft-fp/testit.c: Likewise.
21580 * stdio-common/bug16.c: Likewise.
21581 * stdlib/random.c: Likewise.
21582 * sunrpc/rpcsvc/rquota.x: Likewise.
21583 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21584 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21585 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21586 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21587 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21589 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21591 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21593 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21612 * sysdeps/ieee754/s_lib_version.c: Likewise.
21613 * sysdeps/mach/hurd/check_fds.c: Likewise.
21614 * sysdeps/mach/hurd/getsockname.c: Likewise.
21615 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21616 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21617 * sysdeps/powerpc/bits/link.h: Likewise.
21618 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21619 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21620 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21621 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21622 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21623 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21624 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21625 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21626 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21627 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21629 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21630 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21631 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21632 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21633 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21639 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21641 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21642 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21652 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21653 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21654 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21655 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21656 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21657 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21658 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21659 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21660 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21661 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21662 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21663 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21664 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21665 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21666 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21667 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21670 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21671 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21673 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21674 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21680 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21681 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21682 * sysdeps/powerpc/sysdep.h: Likewise.
21683 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21684 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21685 * sysdeps/sh/dl-trampoline.S: Likewise.
21686 * sysdeps/sh/memset.S: Likewise.
21687 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21688 * sysdeps/sh/strlen.S: Likewise.
21689 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21690 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21691 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21692 * sysdeps/sparc/sparc32/rem.S: Likewise.
21693 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21694 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21695 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21696 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21697 * sysdeps/sparc/sparc32/urem.S: Likewise.
21698 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21699 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21700 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21701 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21703 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21704 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21705 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21706 * sysdeps/unix/bsd/times.c: Likewise.
21707 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21708 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21713 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21714 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21715 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21716 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21717 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21718 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21719 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21720 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21721 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21722 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21723 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21724 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21725 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21726 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21727 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21728 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21729 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21730 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21731 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21733 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21734 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21735 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21736 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21737 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21738 * sysdeps/x86_64/strcspn.S: Likewise.
21740 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21742 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21743 generated file. Regenerate properly from gen-translit.pl.
21744 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21745 locale/C-translit.h.
21747 2013-06-05 Andreas Schwab <schwab@suse.de>
21750 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21751 week as 6 instead of -1.
21752 * time/tst-strptime.c (day_tests): Add test case.
21754 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21756 * sysdeps/generic/math_private.h
21757 (libc_feholdexcept_setround_53bit): Replace with
21758 libc_feholdsetround_53bit.
21759 (libc_feupdateenv_53bit): Replace with
21760 libc_feresetround_53bit.
21761 (SET_RESTORE_ROUND_53BIT): Adjust.
21763 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21765 * string/test-strchrnul.c: Add copyright header.
21767 * posix/tst-getaddrinfo4.c: Increase test timeout.
21769 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21772 * math/libm-test.inc (MAX_EXP): Remove
21774 (ulp): Use MIN_EXP - MANT_DIG.
21775 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21777 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21779 * po/be.po: Revert last change.
21780 * po/zh_CN.po: Likewise.
21781 * po/header.pot: Likewise.
21783 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21785 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21786 link-libc-deps to empty as target-specific variable.
21787 * Makerules (link-libc-args): New variable.
21788 (libc-for-link): Likewise.
21789 (link-libc-deps): Likewise.
21790 (lib%.so): Depend on $(link-libc-deps). Link with
21792 (build-module): Link with $(link-libc-args).
21793 (build-module-asneeded): Likewise.
21794 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21796 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21797 target-specific variable.
21798 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21799 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21800 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21802 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21804 ($(objpfx)libpcprofile.so): Likewise.
21805 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21807 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21808 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21809 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21811 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21812 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21813 * login/Makefile ($(objpfx)libutil.so): Likewise.
21814 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21815 * math/Makefile ($(objpfx)libm.so): Likewise.
21816 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21817 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21818 variable instead of depending directly on libc.
21819 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21820 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21822 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21824 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21825 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21826 ($(objpfx)libanl.so): Likewise.
21827 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21829 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21831 * sysdeps/i386/fpu/Makefile: Remove file.
21832 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21833 ($(objpfx)libm.so): Remove dependency on ld.so.
21835 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21838 * nis/yp_xdr.c (XDRMAXNAME): Define.
21839 (XDRMAXRECORD): Define.
21840 (xdr_domainname): Use XDRMAXNAME.
21841 (xdr_mapname): Likewise.
21842 (xdr_peername): Likewise.
21843 (xdr_keydat): Use XDRMAXRECORD.
21844 (xdr_valdat): Likewise.
21846 2013-05-30 Jeff Law <law@redhat.com>
21849 * manual/errno.texi (ESTALE): Update to account for more than
21850 just NFS file systems.
21851 * sysdeps/gnu/errlist.c: Regenerated.
21853 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21856 * elf/Makefile (tests): Add tst-null-argv.
21857 (modules-names): Add tst-null-argv-lib.
21858 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21859 (tst-null-argv-ENV): Set environment for tst-null-argv.
21860 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21861 (RTLD_PROGNAME): New macro.
21862 * elf/tst-null-argv.c: New test case.
21863 * elf/tst-null-argv-lib.c: Library for test case.
21864 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21865 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21866 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21867 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21868 * elf/dl-init.c (call_init): Likewise.
21869 (_dl_init): Likewise.
21870 * elf/dl-load.c (print_search_path): Likewise.
21871 (_dl_map_object): Likewise.
21872 * elf/dl-lookup.c (do_lookup_x): Likewise.
21873 (add_dependency): Likewise.
21874 (_dl_lookup_symbol_x): Likewise.
21875 (_dl_debug_bindings): Likewise.
21876 * elf/dl-open.c (_dl_show_scope): Likewise.
21877 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21878 * elf/dl-version.c (match_symbol): Likewise.
21879 (_dl_check_map_versions): Likewise.
21880 * elf/rtld.c (dl_main): Likewise.
21881 (print_unresolved): Use RTLD_PROGNAME.
21882 (print_missing_version): Likewise.
21883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21884 (elf_machine_rela): Likewise.
21885 * sysdeps/powerpc/powerpc32/dl-machine.c
21886 (__process_machine_rela): Likewise.
21887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21889 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21891 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21893 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21900 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21902 * po/be.po: Add descriptive title.
21903 * po/zh_CN.po: Likewise.
21904 * po/header.pot: Likewise.
21906 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21908 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21910 (enlarge_archive): Likewise.
21912 2013-05-28 Ben North <ben@redfrontdoor.org>
21914 * manual/arith.texi (frexp): It is the magnitude of the return
21915 value which lies in [0.5, 1), not the return value itself.
21917 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21921 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21923 * stdio-common/bug26.c (main): Correct fscanf template.
21925 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21926 declare _dl_skip_args.
21928 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21931 * manual/platform.texi: Add missing @end deftypefun.
21933 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21936 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21937 bit of mantissa of 2^16382.
21938 * math/libm-test.inc (hypot_test_data): Add more tests.
21940 * math/libm-test.inc: Add drem and pow10 to list of tested
21942 (pow10_test): New function.
21943 (drem_test): Likewise.
21944 (drem_test_tonearest): Likewise.
21945 (drem_test_towardzero): Likewise.
21946 (drem_test_downward): Likewise.
21947 (drem_test_upward): Likewise.
21948 (main): Call the new functions.
21950 * math/libm-test.inc (finite_test_data): Remove.
21951 (finite_test): Run tests from isfinite_test_data.
21952 (gamma_test_data): Remove.
21953 (gamma_test): Run tests from lgamma_test_data.
21954 * sysdeps/i386/fpu/libm-test-ulps: Update.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21959 * manual/platform.texi: Add PowerPC PPR function set documentation.
21960 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21963 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21965 * math/libm-test.inc (MAX_EXP): Define.
21967 (ulp): New function.
21968 (check_float_internal): Use ULPDIFF.
21969 (cpow_test): Disable failing test.
21970 (check_ulp): Test ulp() implemetnation.
21971 (main): Call check_ulp before starting tests.
21973 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21975 * math/gen-libm-test.pl (generate_testfile): Do not handle
21976 START_DATA and END_DATA.
21977 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21979 (acos_tonearest_test_data): Likewise.
21980 (acos_towardzero_test_data): Likewise.
21981 (acos_downward_test_data): Likewise.
21982 (acos_upward_test_data): Likewise.
21983 (acosh_test_data): Likewise.
21984 (asin_test_data): Likewise.
21985 (asin_tonearest_test_data): Likewise.
21986 (asin_towardzero_test_data): Likewise.
21987 (asin_downward_test_data): Likewise.
21988 (asin_upward_test_data): Likewise.
21989 (asinh_test_data): Likewise.
21990 (atan_test_data): Likewise.
21991 (atanh_test_data): Likewise.
21992 (atan2_test_data): Likewise.
21993 (cabs_test_data): Likewise.
21994 (cacos_test_data): Likewise.
21995 (cacosh_test_data): Likewise.
21996 (carg_test_data): Likewise.
21997 (casin_test_data): Likewise.
21998 (casinh_test_data): Likewise.
21999 (catan_test_data): Likewise.
22000 (catanh_test_data): Likewise.
22001 (cbrt_test_data): Likewise.
22002 (ccos_test_data): Likewise.
22003 (ccosh_test_data): Likewise.
22004 (ceil_test_data): Likewise.
22005 (cexp_test_data): Likewise.
22006 (cimag_test_data): Likewise.
22007 (clog_test_data): Likewise.
22008 (clog10_test_data): Likewise.
22009 (conj_test_data): Likewise.
22010 (copysign_test_data): Likewise.
22011 (cos_test_data): Likewise.
22012 (cos_tonearest_test_data): Likewise.
22013 (cos_towardzero_test_data): Likewise.
22014 (cos_downward_test_data): Likewise.
22015 (cos_upward_test_data): Likewise.
22016 (cosh_test_data): Likewise.
22017 (cosh_tonearest_test_data): Likewise.
22018 (cosh_towardzero_test_data): Likewise.
22019 (cosh_downward_test_data): Likewise.
22020 (cosh_upward_test_data): Likewise.
22021 (cpow_test_data): Likewise.
22022 (cproj_test_data): Likewise.
22023 (creal_test_data): Likewise.
22024 (csin_test_data): Likewise.
22025 (csinh_test_data): Likewise.
22026 (csqrt_test_data): Likewise.
22027 (ctan_test_data): Likewise.
22028 (ctan_tonearest_test_data): Likewise.
22029 (ctan_towardzero_test_data): Likewise.
22030 (ctan_downward_test_data): Likewise.
22031 (ctan_upward_test_data): Likewise.
22032 (ctanh_test_data): Likewise.
22033 (ctanh_tonearest_test_data): Likewise.
22034 (ctanh_towardzero_test_data): Likewise.
22035 (ctanh_downward_test_data): Likewise.
22036 (ctanh_upward_test_data): Likewise.
22037 (erf_test_data): Likewise.
22038 (erfc_test_data): Likewise.
22039 (exp_test_data): Likewise.
22040 (exp_tonearest_test_data): Likewise.
22041 (exp_towardzero_test_data): Likewise.
22042 (exp_downward_test_data): Likewise.
22043 (exp_upward_test_data): Likewise.
22044 (exp10_test_data): Likewise.
22045 (exp2_test_data): Likewise.
22046 (expm1_test_data): Likewise.
22047 (fabs_test_data): Likewise.
22048 (fdim_test_data): Likewise.
22049 (finite_test_data): Likewise.
22050 (floor_test_data): Likewise.
22051 (fma_test_data): Likewise.
22052 (fma_towardzero_test_data): Likewise.
22053 (fma_downward_test_data): Likewise.
22054 (fma_upward_test_data): Likewise.
22055 (fmax_test_data): Likewise.
22056 (fmin_test_data): Likewise.
22057 (fmod_test_data): Likewise.
22058 (fpclassify_test_data): Likewise.
22059 (frexp_test_data): Likewise.
22060 (gamma_test_data): Likewise.
22061 (hypot_test_data): Likewise.
22062 (ilogb_test_data): Likewise.
22063 (isfinite_test_data): Likewise.
22064 (isgreater_test_data): Likewise.
22065 (isgreaterequal_test_data): Likewise.
22066 (isinf_test_data): Likewise.
22067 (isless_test_data): Likewise.
22068 (islessequal_test_data): Likewise.
22069 (islessgreater_test_data): Likewise.
22070 (isnan_test_data): Likewise.
22071 (isnormal_test_data): Likewise.
22072 (issignaling_test_data): Likewise.
22073 (isunordered_test_data): Likewise.
22074 (j0_test_data): Likewise.
22075 (j1_test_data): Likewise.
22076 (jn_test_data): Likewise.
22077 (ldexp_test_data): Likewise.
22078 (lgamma_test_data): Likewise.
22079 (lrint_test_data): Likewise.
22080 (lrint_tonearest_test_data): Likewise.
22081 (lrint_towardzero_test_data): Likewise.
22082 (lrint_downward_test_data): Likewise.
22083 (lrint_upward_test_data): Likewise.
22084 (llrint_test_data): Likewise.
22085 (llrint_tonearest_test_data): Likewise.
22086 (llrint_towardzero_test_data): Likewise.
22087 (llrint_downward_test_data): Likewise.
22088 (llrint_upward_test_data): Likewise.
22089 (log_test_data): Likewise.
22090 (log10_test_data): Likewise.
22091 (log1p_test_data): Likewise.
22092 (log2_test_data): Likewise.
22093 (logb_test_data): Likewise.
22094 (logb_downward_test_data): Likewise.
22095 (lround_test_data): Likewise.
22096 (llround_test_data): Likewise.
22097 (modf_test_data): Likewise.
22098 (nearbyint_test_data): Likewise.
22099 (nextafter_test_data): Likewise.
22100 (nexttoward_test_data): Likewise.
22101 (pow_test_data): Likewise.
22102 (pow_tonearest_test_data): Likewise.
22103 (pow_towardzero_test_data): Likewise.
22104 (pow_downward_test_data): Likewise.
22105 (pow_upward_test_data): Likewise.
22106 (remainder_test_data): Likewise.
22107 (remainder_tonearest_test_data): Likewise.
22108 (remainder_towardzero_test_data): Likewise.
22109 (remainder_downward_test_data): Likewise.
22110 (remainder_upward_test_data): Likewise.
22111 (remquo_test_data): Likewise.
22112 (rint_test_data): Likewise.
22113 (rint_tonearest_test_data): Likewise.
22114 (rint_towardzero_test_data): Likewise.
22115 (rint_downward_test_data): Likewise.
22116 (rint_upward_test_data): Likewise.
22117 (round_test_data): Likewise.
22118 (scalb_test_data): Likewise.
22119 (scalbn_test_data): Likewise.
22120 (scalbln_test_data): Likewise.
22121 (signbit_test_data): Likewise.
22122 (sin_test_data): Likewise.
22123 (sin_tonearest_test_data): Likewise.
22124 (sin_towardzero_test_data): Likewise.
22125 (sin_downward_test_data): Likewise.
22126 (sin_upward_test_data): Likewise.
22127 (sincos_test_data): Likewise.
22128 (sinh_test_data): Likewise.
22129 (sinh_tonearest_test_data): Likewise.
22130 (sinh_towardzero_test_data): Likewise.
22131 (sinh_downward_test_data): Likewise.
22132 (sinh_upward_test_data): Likewise.
22133 (sqrt_test_data): Likewise.
22134 (tan_test_data): Likewise.
22135 (tan_tonearest_test_data): Likewise.
22136 (tan_towardzero_test_data): Likewise.
22137 (tan_downward_test_data): Likewise.
22138 (tan_upward_test_data): Likewise.
22139 (tanh_test_data): Likewise.
22140 (tgamma_test_data): Likewise.
22141 (trunc_test_data): Likewise.
22142 (y0_test_data): Likewise.
22143 (y1_test_data): Likewise.
22144 (yn_test_data): Likewise.
22145 (significand_test_data): Likewise.
22147 * math/gen-libm-test.pl (@functions): Remove variable.
22148 (generate_testfile): Don't handle START and END lines.
22149 * math/libm-test.inc (START): New macro.
22151 (END_COMPLEX): Likewise.
22152 (acos_test): Use END macro without arguments.
22153 (acos_test_tonearest): Likewise.
22154 (acos_test_towardzero): Likewise.
22155 (acos_test_downward): Likewise.
22156 (acos_test_upward): Likewise.
22157 (acosh_test): Likewise.
22158 (asin_test): Likewise.
22159 (asin_test_tonearest): Likewise.
22160 (asin_test_towardzero): Likewise.
22161 (asin_test_downward): Likewise.
22162 (asin_test_upward): Likewise.
22163 (asinh_test): Likewise.
22164 (atan_test): Likewise.
22165 (atanh_test): Likewise.
22166 (atan2_test): Likewise.
22167 (cabs_test): Likewise.
22168 (cacos_test): Use END_COMPLEX macro without arguments.
22169 (cacosh_test): Likewise.
22170 (carg_test): Use END macro without arguments.
22171 (casin_test): Use END_COMPLEX macro without arguments.
22172 (casinh_test): Likewise.
22173 (catan_test): Likewise.
22174 (catanh_test): Likewise.
22175 (cbrt_test): Use END macro without arguments.
22176 (ccos_test): Use END_COMPLEX macro without arguments.
22177 (ccosh_test): Likewise.
22178 (ceil_test): Use END macro without arguments.
22179 (cexp_test): Use END_COMPLEX macro without arguments.
22180 (cimag_test): Use END macro without arguments.
22181 (clog_test): Use END_COMPLEX macro without arguments.
22182 (clog10_test): Likewise.
22183 (conj_test): Likewise.
22184 (copysign_test): Use END macro without arguments.
22185 (cos_test): Likewise.
22186 (cos_test_tonearest): Likewise.
22187 (cos_test_towardzero): Likewise.
22188 (cos_test_downward): Likewise.
22189 (cos_test_upward): Likewise.
22190 (cosh_test): Likewise.
22191 (cosh_test_tonearest): Likewise.
22192 (cosh_test_towardzero): Likewise.
22193 (cosh_test_downward): Likewise.
22194 (cosh_test_upward): Likewise.
22195 (cpow_test): Use END_COMPLEX macro without arguments.
22196 (cproj_test): Likewise.
22197 (creal_test): Use END macro without arguments.
22198 (csin_test): Use END_COMPLEX macro without arguments.
22199 (csinh_test): Likewise.
22200 (csqrt_test): Likewise.
22201 (ctan_test): Likewise.
22202 (ctan_test_tonearest): Likewise.
22203 (ctan_test_towardzero): Likewise.
22204 (ctan_test_downward): Likewise.
22205 (ctan_test_upward): Likewise.
22206 (ctanh_test): Likewise.
22207 (ctanh_test_tonearest): Likewise.
22208 (ctanh_test_towardzero): Likewise.
22209 (ctanh_test_downward): Likewise.
22210 (ctanh_test_upward): Likewise.
22211 (erf_test): Use END macro without arguments.
22212 (erfc_test): Likewise.
22213 (exp_test): Likewise.
22214 (exp_test_tonearest): Likewise.
22215 (exp_test_towardzero): Likewise.
22216 (exp_test_downward): Likewise.
22217 (exp_test_upward): Likewise.
22218 (exp10_test): Likewise.
22219 (exp2_test): Likewise.
22220 (expm1_test): Likewise.
22221 (fabs_test): Likewise.
22222 (fdim_test): Likewise.
22223 (finite_test): Likewise.
22224 (floor_test): Likewise.
22225 (fma_test): Likewise.
22226 (fma_test_towardzero): Likewise.
22227 (fma_test_downward): Likewise.
22228 (fma_test_upward): Likewise.
22229 (fmax_test): Likewise.
22230 (fmin_test): Likewise.
22231 (fmod_test): Likewise.
22232 (fpclassify_test): Likewise.
22233 (frexp_test): Likewise.
22234 (gamma_test): Likewise.
22235 (hypot_test): Likewise.
22236 (ilogb_test): Likewise.
22237 (isfinite_test): Likewise.
22238 (isgreater_test): Likewise.
22239 (isgreaterequal_test): Likewise.
22240 (isinf_test): Likewise.
22241 (isless_test): Likewise.
22242 (islessequal_test): Likewise.
22243 (islessgreater_test): Likewise.
22244 (isnan_test): Likewise.
22245 (isnormal_test): Likewise.
22246 (issignaling_test): Likewise.
22247 (isunordered_test): Likewise.
22248 (j0_test): Likewise.
22249 (j1_test): Likewise.
22250 (jn_test): Likewise.
22251 (ldexp_test): Likewise.
22252 (lgamma_test): Likewise.
22253 (lrint_test): Likewise.
22254 (lrint_test_tonearest): Likewise.
22255 (lrint_test_towardzero): Likewise.
22256 (lrint_test_downward): Likewise.
22257 (lrint_test_upward): Likewise.
22258 (llrint_test): Likewise.
22259 (llrint_test_tonearest): Likewise.
22260 (llrint_test_towardzero): Likewise.
22261 (llrint_test_downward): Likewise.
22262 (llrint_test_upward): Likewise.
22263 (log_test): Likewise.
22264 (log10_test): Likewise.
22265 (log1p_test): Likewise.
22266 (log2_test): Likewise.
22267 (logb_test): Likewise.
22268 (logb_test_downward): Likewise.
22269 (lround_test): Likewise.
22270 (llround_test): Likewise.
22271 (modf_test): Likewise.
22272 (nearbyint_test): Likewise.
22273 (nextafter_test): Likewise.
22274 (nexttoward_test): Likewise.
22275 (pow_test): Likewise.
22276 (pow_test_tonearest): Likewise.
22277 (pow_test_towardzero): Likewise.
22278 (pow_test_downward): Likewise.
22279 (pow_test_upward): Likewise.
22280 (remainder_test): Likewise.
22281 (remainder_test_tonearest): Likewise.
22282 (remainder_test_towardzero): Likewise.
22283 (remainder_test_downward): Likewise.
22284 (remainder_test_upward): Likewise.
22285 (remquo_test): Likewise.
22286 (rint_test): Likewise.
22287 (rint_test_tonearest): Likewise.
22288 (rint_test_towardzero): Likewise.
22289 (rint_test_downward): Likewise.
22290 (rint_test_upward): Likewise.
22291 (round_test): Likewise.
22292 (scalb_test): Likewise.
22293 (scalbn_test): Likewise.
22294 (scalbln_test): Likewise.
22295 (signbit_test): Likewise.
22296 (sin_test): Likewise.
22297 (sin_test_tonearest): Likewise.
22298 (sin_test_towardzero): Likewise.
22299 (sin_test_downward): Likewise.
22300 (sin_test_upward): Likewise.
22301 (sincos_test): Likewise.
22302 (sinh_test): Likewise.
22303 (sinh_test_tonearest): Likewise.
22304 (sinh_test_towardzero): Likewise.
22305 (sinh_test_downward): Likewise.
22306 (sinh_test_upward): Likewise.
22307 (sqrt_test): Likewise.
22308 (tan_test): Likewise.
22309 (tan_test_tonearest): Likewise.
22310 (tan_test_towardzero): Likewise.
22311 (tan_test_downward): Likewise.
22312 (tan_test_upward): Likewise.
22313 (tanh_test): Likewise.
22314 (tgamma_test): Likewise.
22315 (trunc_test): Likewise.
22316 (y0_test): Likewise.
22317 (y1_test): Likewise.
22318 (yn_test): Likewise.
22319 (significand_test): Likewise.
22321 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22324 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22326 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22329 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22330 __ppc_mdoio and __ppc_mdoom.
22331 * manual/platform.texi: Document new functions __ppc_yield,
22332 __ppc_mdoio and __ppc_mdoom.
22334 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22336 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22337 (main): Mention "tls" pseudo-hwcap is legacy.
22338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22340 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22342 * math/gen-libm-test.pl (parse_args): Output only string of
22343 arguments as text for test name, not full call or descriptions of
22344 tests for extra outputs.
22345 (generate_testfile): Do not pass function name to parse_args.
22346 Generate this_func variable from START.
22347 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22349 (struct test_ff_f_data): Likewise.
22350 (test_ff_f_data_nexttoward): Likewise.
22351 (struct test_fi_f_data): Likewise.
22352 (struct test_fl_f_data): Likewise.
22353 (struct test_if_f_data): Likewise.
22354 (struct test_fff_f_data): Likewise.
22355 (struct test_c_f_data): Likewise.
22356 (struct test_f_f1_data): Likewise. Remove field extra_name.
22357 (struct test_fF_f1_data): Likewise.
22358 (struct test_ffI_f1_data): Likewise.
22359 (struct test_c_c_data): Rename test_name field to arg_str.
22360 (struct test_cc_c_data): Likewise.
22361 (struct test_f_i_data): Likewise.
22362 (struct test_ff_i_data): Likewise.
22363 (struct test_f_l_data): Likewise.
22364 (struct test_f_L_data): Likewise.
22365 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22367 (COMMON_TEST_SETUP): New macro.
22368 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22369 (COMMON_TEST_CLEANUP): Likewise.
22370 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22371 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22373 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22374 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22376 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22377 (RUN_TEST_fff_f): Take argument string. Call new setup and
22379 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22380 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22382 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22383 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22385 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22386 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22388 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22389 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22391 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22392 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22394 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22395 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22397 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22398 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22400 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22401 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22403 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22404 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22406 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22407 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22409 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22410 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22412 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22413 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22415 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22416 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22418 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22419 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22421 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22422 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22424 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22426 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22428 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22429 to _sifields.sigfault.
22430 (si_addr_lsb): Define new macro.
22431 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22432 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22435 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22438 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22440 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22442 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22443 loading the domain.
22445 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22447 * math/gen-libm-test.pl (parse_args): Do not include expected
22448 result in test name.
22449 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22452 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22458 * benchtests/Makefile: Sort function entries.
22460 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22461 tanh, asinh, acosh, atanh.
22462 * benchtests/acos-inputs: New file.
22463 * benchtests/acosh-inputs: New file.
22464 * benchtests/asin-inputs: New file.
22465 * benchtests/asinh-inputs: New file.
22466 * benchtests/atanh-inputs: New file.
22467 * benchtests/cosh-inputs: New file.
22468 * benchtests/log-inputs: New file.
22469 * benchtests/sinh-inputs: New file.
22470 * benchtests/tanh-inputs: New file.
22472 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22475 * posix/tst-getaddrinfo4.c: New test.
22476 * posix/Makefile (tests): Add it.
22478 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22482 when no services were used.
22483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22484 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22486 2013-05-21 Andreas Schwab <schwab@suse.de>
22489 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22490 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22492 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22493 redundant variable declarations and reallocation of buffer when
22494 parsing as IPv6 address. Always set NSS status when called from
22495 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22496 buffer too small. Correct computation of needed size.
22497 * nss/Makefile (tests): Add test-digits-dots.
22498 * nss/test-digits-dots.c: New test.
22500 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22502 * benchtests/Makefile: Remove instructions for adding
22504 * benchtests/README: New file to explain how to execute and
22505 enhance the benchmark tests.
22507 2013-05-21 Andreas Schwab <schwab@suse.de>
22510 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22511 * setjmp/tst-sigsetjmp.c: New test.
22513 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22515 * sysdeps/x86_64/memset.S (memset): New implementation.
22516 (__bzero): Likewise.
22517 (__memset_tail): New function.
22519 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22521 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22522 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22523 __memcpy_sse2_unaligned ifunc selection.
22524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22525 Add memcpy-sse2-unaligned.S.
22526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22527 Add: __memcpy_sse2_unaligned.
22529 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22532 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22533 math_force_eval before restoring floating-point envrionment.
22534 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22537 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22539 (__nearbyintl): Use math_force_eval before restoring
22540 floating-point environment.
22541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22543 * math/gen-libm-test.pl (special_functions): Remove.
22544 (parse_args): Don't handle TEST_extra. Handle functions with no
22546 * math/libm-test.inc (struct test_sincos_data): Replace with
22547 struct test_fFF_11_data.
22548 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22549 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22550 (sincos_test_data): Change element type to struct
22551 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22552 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22553 RUN_TEST_LOOP_sincos.
22554 * math/README.libm-test: Don't mention special handling of
22555 individual functions.
22556 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22558 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22563 * math/gen-libm-test.pl (get_variable): Remove function.
22564 (parse_args): Don't show pointer parameters to call in test
22565 names. Use "extra output N" in test names for extra outputs
22566 rather than naming variables.
22568 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22571 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22572 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22573 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22575 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22577 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22580 * math/gen-libm-test.pl (@tests): Remove variable.
22581 ($count): Likewise.
22582 (new_test): Remove function.
22583 (show_exceptions): New function.
22584 (special_functions): Use show_exceptions instead of new_test.
22585 (parse_args): Likewise.
22586 (generate_testfile): Pass only function name in generated call to
22587 print_max_error or print_complex_max_error.
22588 (get_ulps): Do not handle complex tests specially.
22589 (output_test): Rename to ...
22590 (get_all_ulps_for_test): ... this. Return a string rather than
22591 printing to a file. Require ulps to be present.
22592 (output_ulps): Generate arrays rather than #defines.
22593 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22594 (struct ulp_data): New type.
22595 (BUILD_COMPLEX_ULP): Remove macro.
22596 (compare_ulp_data): New function.
22597 (find_ulps): Likewise.
22598 (find_test_ulps): Likewise.
22599 (find_function_ulps): Likewise.
22600 (find_complex_function_ulps): Likewise.
22601 (print_max_error): Determine allowed ulps using
22602 find_function_ulps.
22603 (print_complex_max_error): Determine allowed ulps using
22604 find_complex_function_ulps.
22605 (check_float_internal): Determine max ulps using find_test_ulps.
22606 (check_float): Do not take max_ulp parameter. Update call to
22607 check_float_internal.
22608 (check_complex): Likewise.
22609 (check_int): Do not take max_ulp parameter.
22610 (check_long): Likewise.
22611 (check_bool): Likewise.
22612 (check_longlong): Likewise.
22613 (struct test_f_f_data): Remove max_ulp field.
22614 (struct test_ff_f_data): Likewise.
22615 (struct test_ff_f_data_nexttoward): Likewise.
22616 (struct test_fi_f_data): Likewise.
22617 (struct test_fl_f_data): Likewise.
22618 (struct test_if_f_data): Likewise.
22619 (struct test_fff_f_data): Likewise.
22620 (struct test_c_f_data): Likewise.
22621 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22622 (struct test_fF_f1_data): Likewise.
22623 (struct test_ffI_f1_data): Likewise.
22624 (struct test_c_c_data): Remove max_ulp field.
22625 (struct test_cc_c_data): Likewise.
22626 (struct test_f_i_data): Likewise.
22627 (struct test_ff_i_data): Likewise.
22628 (struct test_f_l_data): Likewise.
22629 (struct test_f_L_data): Likewise.
22630 (struct test_sincos_data): Likewise.
22631 (RUN_TEST_f_f): Do not handle ulps.
22632 (RUN_TEST_LOOP_f_f): Likewise.
22633 (RUN_TEST_2_f): Likewise.
22634 (RUN_TEST_LOOP_2_f): Likewise.
22635 (RUN_TEST_fff_f): Likewise.
22636 (RUN_TEST_LOOP_fff_f): Likewise.
22637 (RUN_TEST_c_f): Likewise.
22638 (RUN_TEST_LOOP_c_f): Likewise.
22639 (RUN_TEST_f_f1): Likewise.
22640 (RUN_TEST_LOOP_f_f1): Likewise.
22641 (RUN_TEST_fF_f1): Likewise.
22642 (RUN_TEST_LOOP_fF_f1): Likewise.
22643 (RUN_TEST_fI_f1): Likewise.
22644 (RUN_TEST_LOOP_fI_f1): Likewise.
22645 (RUN_TEST_ffI_f1): Likewise.
22646 (RUN_TEST_LOOP_ffI_f1): Likewise.
22647 (RUN_TEST_c_c): Likewise.
22648 (RUN_TEST_LOOP_c_c): Likewise.
22649 (RUN_TEST_cc_c): Likewise.
22650 (RUN_TEST_LOOP_cc_c): Likewise.
22651 (RUN_TEST_f_i): Likewise.
22652 (RUN_TEST_LOOP_f_i): Likewise.
22653 (RUN_TEST_f_i_tg): Likewise.
22654 (RUN_TEST_LOOP_f_i_tg): Likewise.
22655 (RUN_TEST_ff_i_tg): Likewise.
22656 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22657 (RUN_TEST_f_b): Likewise.
22658 (RUN_TEST_LOOP_f_b): Likewise.
22659 (RUN_TEST_f_b_tg): Likewise.
22660 (RUN_TEST_LOOP_f_b_tg): Likewise.
22661 (RUN_TEST_f_l): Likewise.
22662 (RUN_TEST_LOOP_f_l): Likewise.
22663 (RUN_TEST_f_L): Likewise.
22664 (RUN_TEST_LOOP_f_L): Likewise.
22665 (RUN_TEST_sincos): Likewise.
22666 (RUN_TEST_LOOP_sincos): Likewise.
22668 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22672 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22673 main case of finite arguments, set rounding mode to FE_TONEAREST
22674 and discard exceptions.
22675 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22677 (remainder_tonearest_test_data): New variable.
22678 (remainder_test_tonearest): New function.
22679 (remainder_towardzero_test_data): New variable.
22680 (remainder_test_towardzero): New function.
22681 (remainder_downward_test_data): New variable.
22682 (remainder_test_downward): New function.
22683 (remainder_upward_test_data): New variable.
22684 (remainder_test_upward): New function.
22685 (main): Call the new test functions.
22687 * math/libm-test.inc (struct test_f_f1_data): Remove field
22689 (struct test_fF_f1_data): Likewise.
22690 (struct test_ffI_f1_data): Likewise.
22691 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22692 based on value of EXTRA_EXPECTED.
22693 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22694 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22695 EXTRA_VAR based on value of EXTRA_EXPECTED.
22696 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22697 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22698 EXTRA_VAR based on value of EXTRA_EXPECTED.
22699 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22700 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22701 EXTRA_VAR based on value of EXTRA_EXPECTED.
22702 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22703 * math/gen-libm-test.pl (parse_args): Don't output initializers
22704 for extra output values.
22706 * math/libm-test.inc (check_int): Expect result to be exactly
22707 equal to expected value and do not handle ulps.
22708 (check_long): Likewise.
22709 (check_longlong): Likewise.
22711 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22713 (cimag_test_data): Likewise.
22714 (conj_test_data): Likewise.
22715 (copysign_test_data): Likewise.
22716 (cproj_test_data): Likewise.
22717 (creal_test_data): Likewise.
22718 (fabs_test_data): Likewise.
22719 (fdim_test_data): Likewise.
22720 (finite_test_data): Likewise.
22721 (floor_test_data): Likewise.
22722 (fmax_test_data): Likewise.
22723 (fmin_test_data): Likewise.
22724 (fmod_test_data): Likewise.
22725 (fpclassify_test_data): Likewise.
22726 (frexp_test_data): Likewise.
22727 (ilogb_test_data): Likewise.
22728 (isfinite_test_data): Likewise.
22729 (isgreater_test_data): Likewise.
22730 (isgreaterequal_test_data): Likewise.
22731 (isinf_test_data): Likewise.
22732 (isless_test_data): Likewise.
22733 (islessequal_test_data): Likewise.
22734 (islessgreater_test_data): Likewise.
22735 (isnan_test_data): Likewise.
22736 (isnormal_test_data): Likewise.
22737 (issignaling_test_data): Likewise.
22738 (isunordered_test_data): Likewise.
22739 (ldexp_test_data): Likewise.
22740 (lrint_test_data): Likewise.
22741 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22742 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22743 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22744 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22745 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22746 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22748 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22749 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22750 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22751 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22753 (lrint_downward_test_data): Test for "inexact" exceptions.
22754 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22755 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22756 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22758 (lrint_upward_test_data): Test for "inexact" exceptions.
22759 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22761 (llrint_test_data): Test for "inexact" exceptions.
22762 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22763 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22764 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22765 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22766 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22767 (llrint_downward_test_data): Test for "inexact" exceptions.
22768 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22769 (llrint_upward_test_data): Test for "inexact" exceptions.
22770 (logb_test_data): Likewise.
22771 (logb_downward_test_data): Likewise.
22772 (nextafter_test_data): Likewise.
22773 (nexttoward_test_data): Likewise.
22774 (remainder_test_data): Likewise.
22775 (remquo_test_data): Likewise.
22776 (scalbn_test_data): Likewise.
22777 (scalbln_test_data): Likewise.
22778 (signbit_test_data): Likewise.
22779 (sqrt_test_data): Likewise.
22780 (significand_test_data): Likewise.
22782 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22785 * benchtests/bench-modf.c (struct args): Mark arg0 as
22787 * scripts/bench.pl: Mark members of struct args as volatile.
22789 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22792 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22793 negative infinity on POWER6 or lower.
22794 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22796 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22799 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22800 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22801 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22802 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22803 (_FP_SETQNAN): New macro.
22804 (_FP_SETQNAN_SEMIRAW): Likewise.
22805 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22806 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22807 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22808 (FP_EXTEND): Use _FP_FRAC_SNANP.
22809 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22810 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22817 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22819 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22820 with DIVIDE_BY_ZERO_EXCEPTION.
22821 (gamma_test_data): Likewise.
22822 (lgamma_test_data): Likewise.
22823 (log_test_data): Likewise.
22824 (log10_test_data): Likewise.
22825 (log2_test_data): Likewise.
22826 (tgamma_test_data): Likewise.
22828 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22829 (acos_test_tonearest): Likewise.
22830 (acos_test_towardzero): Likewise.
22831 (acos_test_downward): Likewise.
22832 (acos_test_upward): Likewise.
22833 (acosh_test): Likewise.
22834 (asin_test): Likewise.
22835 (asin_test_tonearest): Likewise.
22836 (asin_test_towardzero): Likewise.
22837 (asin_test_downward): Likewise.
22838 (asin_test_upward): Likewise.
22839 (asinh_test): Likewise.
22840 (atan_test): Likewise.
22841 (atanh_test): Likewise.
22842 (atan2_test): Likewise.
22843 (cabs_test): Likewise.
22844 (cacos_test): Likewise.
22845 (cacosh_test): Likewise.
22846 (casin_test): Likewise.
22847 (casinh_test): Likewise.
22848 (catan_test): Likewise.
22849 (catanh_test): Likewise.
22850 (cbrt_test): Likewise.
22851 (ccos_test): Likewise.
22852 (ccosh_test): Likewise.
22853 (cexp_test): Likewise.
22854 (clog_test): Likewise.
22855 (clog10_test): Likewise.
22856 (cos_test): Likewise.
22857 (cos_test_tonearest): Likewise.
22858 (cos_test_towardzero): Likewise.
22859 (cos_test_downward): Likewise.
22860 (cos_test_upward): Likewise.
22861 (cosh_test): Likewise.
22862 (cosh_test_tonearest): Likewise.
22863 (cosh_test_towardzero): Likewise.
22864 (cosh_test_downward): Likewise.
22865 (cosh_test_upward): Likewise.
22866 (cpow_test): Likewise.
22867 (csin_test): Likewise.
22868 (csinh_test): Likewise.
22869 (csqrt_test): Likewise.
22870 (ctan_test): Likewise.
22871 (ctan_test_tonearest): Likewise.
22872 (ctan_test_towardzero): Likewise.
22873 (ctan_test_downward): Likewise.
22874 (ctan_test_upward): Likewise.
22875 (ctanh_test): Likewise.
22876 (ctanh_test_tonearest): Likewise.
22877 (ctanh_test_towardzero): Likewise.
22878 (ctanh_test_downward): Likewise.
22879 (ctanh_test_upward): Likewise.
22880 (erf_test): Likewise.
22881 (erfc_test): Likewise.
22882 (exp_test): Likewise.
22883 (exp_test_tonearest): Likewise.
22884 (exp_test_towardzero): Likewise.
22885 (exp_test_downward): Likewise.
22886 (exp_test_upward): Likewise.
22887 (exp10_test): Likewise.
22888 (exp2_test): Likewise.
22889 (expm1_test): Likewise.
22890 (fmod_test): Likewise.
22891 (gamma_test): Likewise.
22892 (hypot_test): Likewise.
22893 (j0_test): Likewise.
22894 (j1_test): Likewise.
22895 (jn_test): Likewise.
22896 (lgamma_test): Likewise.
22897 (log_test): Likewise.
22898 (log10_test): Likewise.
22899 (log1p_test): Likewise.
22900 (log2_test): Likewise.
22901 (logb_test_downward): Likewise.
22902 (pow_test): Likewise.
22903 (pow_test_tonearest): Likewise.
22904 (pow_test_towardzero): Likewise.
22905 (pow_test_downward): Likewise.
22906 (pow_test_upward): Likewise.
22907 (remainder_test): Likewise.
22908 (remquo_test): Likewise.
22909 (sin_test): Likewise.
22910 (sin_test_tonearest): Likewise.
22911 (sin_test_towardzero): Likewise.
22912 (sin_test_downward): Likewise.
22913 (sin_test_upward): Likewise.
22914 (sincos_test): Likewise.
22915 (sinh_test): Likewise.
22916 (sinh_test_tonearest): Likewise.
22917 (sinh_test_towardzero): Likewise.
22918 (sinh_test_downward): Likewise.
22919 (sinh_test_upward): Likewise.
22920 (sqrt_test): Likewise.
22921 (tan_test): Likewise.
22922 (tan_test_tonearest): Likewise.
22923 (tan_test_towardzero): Likewise.
22924 (tan_test_downward): Likewise.
22925 (tan_test_upward): Likewise.
22926 (tanh_test): Likewise.
22927 (tgamma_test): Likewise.
22928 (y0_test): Likewise.
22929 (y1_test): Likewise.
22930 (yn_test): Likewise.
22932 * math/gen-libm-test.pl (adjust_arg): Remove function.
22933 (special_function): Remove argument $in_func. Only handle
22934 generating output for tables of tests, not inside functions.
22935 (parse_args): Likewise.
22936 (generate_testfile): Remove variable $in_func. Update call to
22938 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22939 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22940 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22941 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22942 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22943 (MAX_VALUE_INIT): Rename macro to max_value.
22944 (MIN_VALUE_INIT): Rename macro to min_value.
22945 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22946 (plus_zero): Remove variable.
22947 (minus_zero): Likewise.
22948 (plus_infty): Likewise.
22949 (minus_infty): Likewise.
22950 (qnan_value): Likewise.
22951 (max_value): Likewise.
22952 (min_value): Likewise.
22953 (min_subnorm_value): Likewise.
22955 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22957 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22958 uint64_t or uint32_t usage.
22959 * crypt/sha256-block.c: Likewise.
22960 * crypt/sha256-crypt.c: Likewise.
22961 * crypt/sha256.c: Likewise.
22962 * crypt/sha512-block.c: Likewise.
22963 * crypt/sha512-crypt.c: Likewise.
22964 * crypt/sha512.c: Likewise.
22965 * debug/backtrace-tst.c: Likewise.
22966 * debug/pcprofiledump.c: Likewise.
22967 * elf/cache.c: Likewise.
22968 * elf/dl-cache.c: Likewise.
22969 * elf/dl-misc.c: Likewise.
22970 * elf/dl-profile.c: Likewise.
22971 * elf/dl-support.c: Likewise.
22972 * elf/ldconfig.c: Likewise.
22973 * elf/sprof.c: Likewise.
22974 * iconv/dummy-repertoire.c: Likewise.
22975 * iconv/iconv_charmap.c: Likewise.
22976 * iconv/skeleton.c: Likewise.
22977 * iconvdata/8bit-generic.c: Likewise.
22978 * iconvdata/cp737.h: Likewise.
22979 * iconvdata/cp775.h: Likewise.
22980 * iconvdata/ibm1008.h: Likewise.
22981 * iconvdata/ibm1025.h: Likewise.
22982 * iconvdata/ibm1046.h: Likewise.
22983 * iconvdata/ibm1097.h: Likewise.
22984 * iconvdata/ibm1112.h: Likewise.
22985 * iconvdata/ibm1122.h: Likewise.
22986 * iconvdata/ibm1123.h: Likewise.
22987 * iconvdata/ibm1124.h: Likewise.
22988 * iconvdata/ibm1129.h: Likewise.
22989 * iconvdata/ibm1130.h: Likewise.
22990 * iconvdata/ibm1132.h: Likewise.
22991 * iconvdata/ibm1133.h: Likewise.
22992 * iconvdata/ibm1137.h: Likewise.
22993 * iconvdata/ibm1140.h: Likewise.
22994 * iconvdata/ibm1141.h: Likewise.
22995 * iconvdata/ibm1142.h: Likewise.
22996 * iconvdata/ibm1143.h: Likewise.
22997 * iconvdata/ibm1144.h: Likewise.
22998 * iconvdata/ibm1145.h: Likewise.
22999 * iconvdata/ibm1146.h: Likewise.
23000 * iconvdata/ibm1147.h: Likewise.
23001 * iconvdata/ibm1148.h: Likewise.
23002 * iconvdata/ibm1149.h: Likewise.
23003 * iconvdata/ibm1153.h: Likewise.
23004 * iconvdata/ibm1154.h: Likewise.
23005 * iconvdata/ibm1155.h: Likewise.
23006 * iconvdata/ibm1156.h: Likewise.
23007 * iconvdata/ibm1157.h: Likewise.
23008 * iconvdata/ibm1158.h: Likewise.
23009 * iconvdata/ibm1160.h: Likewise.
23010 * iconvdata/ibm1161.h: Likewise.
23011 * iconvdata/ibm1162.h: Likewise.
23012 * iconvdata/ibm1163.h: Likewise.
23013 * iconvdata/ibm1164.h: Likewise.
23014 * iconvdata/ibm1166.h: Likewise.
23015 * iconvdata/ibm1167.h: Likewise.
23016 * iconvdata/ibm12712.h: Likewise.
23017 * iconvdata/ibm1390.h: Likewise.
23018 * iconvdata/ibm1399.h: Likewise.
23019 * iconvdata/ibm16804.h: Likewise.
23020 * iconvdata/ibm4517.h: Likewise.
23021 * iconvdata/ibm4899.h: Likewise.
23022 * iconvdata/ibm4909.h: Likewise.
23023 * iconvdata/ibm4971.h: Likewise.
23024 * iconvdata/ibm5347.h: Likewise.
23025 * iconvdata/ibm803.h: Likewise.
23026 * iconvdata/ibm856.h: Likewise.
23027 * iconvdata/ibm901.h: Likewise.
23028 * iconvdata/ibm902.h: Likewise.
23029 * iconvdata/ibm9030.h: Likewise.
23030 * iconvdata/ibm9066.h: Likewise.
23031 * iconvdata/ibm921.h: Likewise.
23032 * iconvdata/ibm922.h: Likewise.
23033 * iconvdata/ibm9448.h: Likewise.
23034 * iconvdata/isiri-3342.h: Likewise.
23035 * iconvdata/jis0201.h: Likewise.
23036 * include/link.h: Likewise.
23037 * include/netdb.h: Likewise.
23038 * inet/check_native.c: Likewise.
23039 * inet/check_pf.c: Likewise.
23040 * inet/getipv4sourcefilter.c: Likewise.
23041 * inet/getnameinfo.c: Likewise.
23042 * inet/getsourcefilter.c: Likewise.
23043 * inet/htonl.c: Likewise.
23044 * inet/setipv4sourcefilter.c: Likewise.
23045 * inet/setsourcefilter.c: Likewise.
23046 * inet/test-inet6_opt.c: Likewise.
23047 * inet/tst-network.c: Likewise.
23048 * locale/C-collate.c: Likewise.
23049 * locale/C-ctype.c: Likewise.
23050 * locale/C-time.c: Likewise.
23051 * locale/C-translit.h: Likewise.
23052 * locale/loadarchive.c: Likewise.
23053 * locale/programs/3level.h: Likewise.
23054 * locale/programs/charmap.c: Likewise.
23055 * locale/programs/charmap.h: Likewise.
23056 * locale/programs/ld-address.c: Likewise.
23057 * locale/programs/ld-collate.c: Likewise.
23058 * locale/programs/ld-ctype.c: Likewise.
23059 * locale/programs/ld-identification.c: Likewise.
23060 * locale/programs/ld-measurement.c: Likewise.
23061 * locale/programs/ld-messages.c: Likewise.
23062 * locale/programs/ld-monetary.c: Likewise.
23063 * locale/programs/ld-name.c: Likewise.
23064 * locale/programs/ld-numeric.c: Likewise.
23065 * locale/programs/ld-paper.c: Likewise.
23066 * locale/programs/ld-telephone.c: Likewise.
23067 * locale/programs/ld-time.c: Likewise.
23068 * locale/programs/linereader.c: Likewise.
23069 * locale/programs/locale.c: Likewise.
23070 * locale/programs/locarchive.c: Likewise.
23071 * locale/programs/locfile.h: Likewise.
23072 * locale/programs/repertoire.c: Likewise.
23073 * locale/programs/simple-hash.c: Likewise.
23074 * locale/programs/simple-hash.h: Likewise.
23075 * malloc/memusage.c: Likewise.
23076 * malloc/memusagestat.c: Likewise.
23077 * nis/nis_defaults.c: Likewise.
23078 * nis/nis_hash.c: Likewise.
23079 * nis/nis_print.c: Likewise.
23080 * nis/nis_xdr.c: Likewise.
23081 * nscd/connections.c: Likewise.
23082 * nscd/hstcache.c: Likewise.
23083 * nscd/nscd_gethst_r.c: Likewise.
23084 * nscd/nscd_getserv_r.c: Likewise.
23085 * nscd/nscd_helper.c: Likewise.
23086 * nscd/servicescache.c: Likewise.
23087 * nss/makedb.c: Likewise.
23088 * nss/nss_db/db-XXX.c: Likewise.
23089 * nss/nss_db/db-initgroups.c: Likewise.
23090 * nss/nss_db/db-netgrp.c: Likewise.
23091 * nss/nss_files/files-network.c: Likewise.
23092 * nss/nss_files/files-parse.c: Likewise.
23093 * posix/bug-regex5.c: Likewise.
23094 * posix/fnmatch_loop.c: Likewise.
23095 * posix/regcomp.c: Likewise.
23096 * posix/regexec.c: Likewise.
23097 * posix/tst-rfc3484-2.c: Likewise.
23098 * posix/tst-rfc3484-3.c: Likewise.
23099 * posix/tst-rfc3484.c: Likewise.
23100 * resolv/nss_dns/dns-canon.c: Likewise.
23101 * resolv/nss_dns/dns-network.c: Likewise.
23102 * resolv/res_init.c: Likewise.
23103 * resolv/res_mkquery.c: Likewise.
23104 * resolv/tst-aton.c: Likewise.
23105 * stdlib/cxa_atexit.c: Likewise.
23106 * stdlib/cxa_finalize.c: Likewise.
23107 * stdlib/gen-fpioconst.c: Likewise.
23108 * stdlib/strtol_l.c: Likewise.
23109 * string/tst-endian.c: Likewise.
23110 * sunrpc/auth_des.c: Likewise.
23111 * sunrpc/clnt_udp.c: Likewise.
23112 * sunrpc/rtime.c: Likewise.
23113 * sunrpc/svcauth_des.c: Likewise.
23114 * sunrpc/xdr.c: Likewise.
23115 * sunrpc/xdr_intXX_t.c: Likewise.
23116 * sunrpc/xdr_rec.c: Likewise.
23117 * sysdeps/generic/ldconfig.h: Likewise.
23118 * sysdeps/generic/ldsodefs.h: Likewise.
23119 * sysdeps/generic/memusage.h: Likewise.
23120 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23123 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23128 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23130 * sysdeps/posix/getaddrinfo.c: Likewise.
23131 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23132 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23133 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23134 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23135 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23136 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23137 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23138 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23139 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23140 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23141 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23142 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23143 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23144 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23145 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23146 * sysdeps/x86_64/dl-tls.h: Likewise.
23147 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23148 * time/alt_digit.c: Likewise.
23149 * time/era.c: Likewise.
23150 * wcsmbs/tst-c16c32-1.c: Likewise.
23152 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23154 * math/libm-test.inc (struct test_sincos_data): New type.
23155 (RUN_TEST_LOOP_sincos): New macro.
23156 (sincos_test_data): New variable.
23157 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23159 2013-05-16 Richard Henderson <rth@redhat.com>
23161 * math/atest-exp2.c (LIMB64): New macro.
23162 (CONSTSZ): New macro.
23163 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23165 (print_mpn_fp): ... to function scope.
23166 (read_mpn_hex): Remove.
23167 (get_log2): Remove.
23168 (exp2_mpn): Use mp_log2.
23169 (main): Use mp_exp1.
23171 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23173 * math/libm-test.inc: Remove comment about not testing "inexact"
23175 (INEXACT_EXCEPTION): New macro.
23176 (NO_INEXACT_EXCEPTION): Likewise.
23177 (INVALID_EXCEPTION_OK): Update value.
23178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23179 (OVERFLOW_EXCEPTION_OK): Likewise.
23180 (UNDERFLOW_EXCEPTION_OK): Likewise.
23181 (IGNORE_ZERO_INF_SIGN): Likewise.
23182 (ERRNO_UNCHANGED): Likewise.
23183 (ERRNO_EDOM): Likewise.
23184 (ERRNO_ERANGE): Likewise.
23185 (test_exceptions): Handle testing "inexact" exceptions.
23186 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23187 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23188 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23189 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23191 (rint_towardzero_test_data): Likewise.
23192 (rint_downward_test_data): Likewise.
23193 (rint_upward_test_data): Likewise.
23195 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23196 with OVERFLOW_EXCEPTION.
23197 (exp10_test_data): Likewise.
23198 (exp2_test_data): Likewise.
23199 (expm1_test_data): Likewise.
23200 (lgamma_test_data): Likewise.
23201 (pow_test_data): Likewise.
23202 (tgamma_test_data): Likewise.
23203 (yn_test_data): Remove duplicate test of overflow.
23205 * math/libm-test.inc (struct test_cc_c_data): New type.
23206 (RUN_TEST_LOOP_cc_c): New macro.
23207 (cpow_test_data): New variable.
23208 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23210 * math/libm-test.inc (struct test_f_L_data): New type.
23211 (RUN_TEST_LOOP_f_L): New macro.
23212 (llrint_test_data): New variable.
23213 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23214 (llrint_tonearest_test_data): New variable.
23215 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23216 (llrint_towardzero_test_data): New variable.
23217 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23218 (llrint_downward_test_data): New variable.
23219 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23220 (llrint_upward_test_data): New variable.
23221 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23222 (llround_test_data): New variable.
23223 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23225 2013-05-13 Peter Collingbourne <pcc@google.com>
23227 * math/atest-exp2.c (get_log2): Remove const attribute.
23229 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23231 * math/libm-test.inc (struct test_f_l_data): New type.
23232 (RUN_TEST_LOOP_f_l): New macro.
23233 (lrint_test_data): New variable.
23234 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23235 (lrint_tonearest_test_data): New variable.
23236 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23237 (lrint_towardzero_test_data): New variable.
23238 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23239 (lrint_downward_test_data): New variable.
23240 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23241 (lrint_upward_test_data): New variable.
23242 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23243 (lround_test_data): New variable.
23244 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23246 2013-05-15 Peter Collingbourne <pcc@google.com>
23248 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23249 (EXTRACT_WORDS64) Use where appropriate.
23250 (INSERT_WORDS64) Likewise.
23252 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23253 constraints with x constraints.
23254 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23256 * malloc/obstack.c (_obstack_compat): Add initializer.
23258 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23261 si_trapno and add si_addr_lsb to _sifields.sigfault.
23262 (si_trapno): Remove macro.
23263 (si_addr_lsb): Define new macro.
23264 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23266 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23268 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23269 instead of TEST_f_l.
23270 (llrint_test_tonearest): Likewise.
23271 (llrint_test_towardzero): Likewise.
23272 (llrint_test_downward): Likewise.
23273 (llrint_test_upward): Likewise.
23274 (llround_test): Likewise.
23276 * math/libm-test.inc (struct test_f_i_data): Add comment.
23277 (RUN_TEST_LOOP_f_b): New macro.
23278 (RUN_TEST_LOOP_f_b_tg): Likewise.
23279 (finite_test_data): New variable.
23280 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23281 (isfinite_test_data): New variable.
23282 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23283 (isinf_test_data): New variable.
23284 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23285 (isnan_test_data): New variable.
23286 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23287 (isnormal_test_data): New variable.
23288 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23289 (issignaling_test_data): New variable.
23290 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23291 (signbit_test_data): New variable.
23292 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23294 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23295 with INVALID_EXCEPTION.
23296 (acosh_test_data): Likewise.
23297 (asin_test_data): Likewise.
23298 (atanh_test_data): Likewise.
23299 (fmod_test_data): Likewise.
23300 (log_test_data): Likewise.
23301 (log10_test_data): Likewise.
23302 (log2_test_data): Likewise.
23303 (pow_test_data): Likewise.
23304 (sqrt_test_data): Likewise.
23305 (y0_test_data): Likewise.
23306 (y1_test_data): Likewise.
23307 (yn_test_data): Likewise.
23309 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23312 * math/libm-test.inc (struct test_ff_i_data): New type.
23313 (RUN_TEST_LOOP_ff_i_tg): New macro.
23314 (isgreater_test_data): New variable.
23315 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23316 (isgreaterequal_test_data): New variable.
23317 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23318 (isless_test_data): New variable.
23319 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23320 (islessequal_test_data): New variable.
23321 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23322 (islessgreater_test_data): New variable.
23323 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23324 (isunordered_test_data): New variable.
23325 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23327 2013-05-14 David S. Miller <davem@davemloft.net>
23329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23331 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23333 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23335 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23337 (struct test_f_i_data): Change type of max_ulp to int.
23339 * math/libm-test.inc (test_ffI_f1_data): New type.
23340 (RUN_TEST_LOOP_ffI_f1): New macro.
23341 (remquo_test_data): New variable.
23342 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23344 * setjmp/tst-setjmp-fp.c: New file.
23345 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23346 (link-libm): New variable.
23347 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23349 * math/libm-test.inc (struct test_f_i_data): New type.
23350 (RUN_TEST_LOOP_f_i): New macro.
23351 (RUN_TEST_LOOP_f_i_tg): Likewise.
23352 (fpclassify_test_data): New variable.
23353 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23354 (ilogb_test_data): New variable.
23355 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23357 * math/libm-test.inc (scalbln_test): Correct function name in END
23360 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23361 (RUN_TEST_LOOP_fI_f1): New macro.
23362 (frexp_test_data): New variable.
23363 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23365 * math/libm-test.inc (struct test_fF_f1_data): New type.
23366 (RUN_TEST_LOOP_fF_f1): New macro.
23367 (modf_test_data): New variable.
23368 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23370 * math/libm-test.inc (struct test_f_f1_data): New type.
23371 (RUN_TEST_LOOP_f_f1): New macro.
23372 (gamma_test_data): New variable.
23373 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23374 (lgamma_test_data): New variable.
23375 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23377 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23379 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23380 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23381 (main): Comment "tls" pseudo-hwcap.
23383 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23385 * math/libm-test.inc (struct test_fl_f_data): New type.
23386 (RUN_TEST_LOOP_fl_f): New variable.
23387 (scalbln_test_data): New variable.
23388 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23390 * math/libm-test.inc (struct test_fi_f_data): New type.
23391 (RUN_TEST_LOOP_fi_f): New macro.
23392 (ldexp_test_data): New variable.
23393 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23394 (scalbn_test_data): New variable.
23395 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23397 * math/libm-test.inc (struct test_c_f_data): New type.
23398 (RUN_TEST_LOOP_c_f): New macro.
23399 (cabs_test_data): New variable.
23400 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23401 (carg_test_data): New variable.
23402 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23403 (cimag_test_data): New variable.
23404 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23405 (creal_test_data): New variable.
23406 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23408 * math/libm-test.inc (struct test_if_f_data): New type.
23409 (RUN_TEST_LOOP_if_f): New macro.
23410 (jn_test_data): New variable.
23411 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23412 (yn_test_data): New variable.
23413 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23415 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23417 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23419 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23420 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23422 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23424 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23425 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23426 (bench-deps): Add bench-timing.h.
23427 * benchtests-bench-skeleton.c: Include bench-timing.h.
23428 (main): Use TIMING_* macros instead of clock_gettime.
23429 * benchtests/bench-timing.h: New file.
23432 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23433 Renamed from _LIB_VERSION.
23434 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23436 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23438 * math/libm-test.inc (struct test_fff_f_data): New type.
23439 (RUN_TEST_LOOP_fff_f): New macro.
23440 (fma_test_data): New variable.
23441 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23442 (fma_towardzero_test_data): New variable.
23443 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23444 (fma_downward_test_data): New variable.
23445 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23446 (fma_upward_test_data): New variable.
23447 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23449 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23450 (struct test_c_c_data): New type.
23451 (RUN_TEST_LOOP_c_c): New macro.
23452 (cacos_test_data): New variable.
23453 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23454 (cacosh_test_data): New variable.
23455 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23456 (casin_test_data): New variable.
23457 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23458 (casinh_test_data): New variable.
23459 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23460 (catan_test_data): New variable.
23461 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23462 (catanh_test_data): New variable.
23463 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23464 (ccos_test_data): New variable.
23465 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23466 (ccosh_test_data): New variable.
23467 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23468 (cexp_test_data): New variable.
23469 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23470 (clog_test_data): New variable.
23471 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23472 (clog10_test_data): New variable.
23473 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23474 (conj_test_data): New variable.
23475 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23476 (cproj_test_data): New variable.
23477 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23478 (csin_test_data): New variable.
23479 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23480 (csinh_test_data): New variable.
23481 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23482 (csqrt_test_data): New variable.
23483 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23484 (ctan_test_data): New variable.
23485 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23486 (ctan_tonearest_test_data): New variable.
23487 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23488 (ctan_towardzero_test_data): New variable.
23489 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23490 (ctan_downward_test_data): New variable.
23491 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23492 (ctan_upward_test_data): New variable.
23493 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23494 (ctanh_test_data): New variable.
23495 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23496 (ctanh_tonearest_test_data): New variable.
23497 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23498 (ctanh_towardzero_test_data): New variable.
23499 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23500 (ctanh_downward_test_data): New variable.
23501 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23502 (ctanh_upward_test_data): New variable.
23503 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23504 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23507 * math/libm-test.inc (struct test_ff_f_data): New type.
23508 (struct test_ff_f_data_nexttoward): Likewise.
23509 (RUN_TEST_LOOP_2_f): New macro.
23510 (RUN_TEST_LOOP_ff_f): Likewise.
23511 (atan2_test_data): New variable.
23512 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23513 (copysign_test_data): New variable.
23514 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23515 (fdim_test_data): New variable.
23516 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23517 (fmax_test_data): New variable.
23518 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23519 (fmin_test_data): New variable.
23520 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23521 (fmod_test_data): New variable.
23522 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23523 (hypot_test_data): New variable.
23524 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23525 (nextafter_test_data): New variable.
23526 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23527 (nexttoward_test_data): New variable.
23528 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23529 (pow_test_data): New variable.
23530 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23531 (pow_tonearest_test_data): New variable.
23532 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23533 (pow_towardzero_test_data): New variable.
23534 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23535 (pow_downward_test_data): New variable.
23536 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23537 (pow_upward_test_data): New variable.
23538 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23539 (remainder_test_data): New variable.
23540 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23541 (scalb_test_data): New variable.
23542 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23543 * sysdeps/i386/fpu/libm-test-ulps: Update.
23545 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23547 * math/libm-test.inc (fma_test): Use max_value instead of local
23549 (nextafter_test): Likewise.
23551 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23552 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23553 (acos_downward_test_data): New variable.
23554 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23555 (acos_upward_test_data): New variable.
23556 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23557 (acosh_test_data): New variable.
23558 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23559 (asin_test_data): New variable.
23560 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23561 (asin_tonearest_test_data): New variable.
23562 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23563 (asin_towardzero_test_data): New variable.
23564 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23565 (asin_downward_test_data): New variable.
23566 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23567 (asin_upward_test_data): New variable.
23568 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23569 (asinh_test_data): New variable.
23570 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23571 (atan_test_data): New variable.
23572 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23573 (atanh_test_data): New variable.
23574 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23575 (cbrt_test_data): New variable.
23576 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23577 (ceil_test_data): New variable.
23578 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23579 (cos_test_data): New variable.
23580 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23581 (cos_tonearest_test_data): New variable.
23582 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23583 (cos_towardzero_test_data): New variable.
23584 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23585 (cos_downward_test_data): New variable.
23586 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23587 (cos_upward_test_data): New variable.
23588 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23589 (cosh_test_data): New variable.
23590 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23591 (cosh_tonearest_test_data): New variable.
23592 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23593 (cosh_towardzero_test_data): New variable.
23594 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23595 (cosh_downward_test_data): New variable.
23596 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23597 (cosh_upward_test_data): New variable.
23598 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23599 (erf_test_data): New variable.
23600 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23601 (erfc_test_data): New variable.
23602 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23603 (exp_test_data): New variable.
23604 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23605 (exp_tonearest_test_data): New variable.
23606 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23607 (exp_towardzero_test_data): New variable.
23608 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23609 (exp_downward_test_data): New variable.
23610 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23611 (exp_upward_test_data): New variable.
23612 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23613 (exp10_test_data): New variable.
23614 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23615 (exp2_test_data): New variable.
23616 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23617 (expm1_test_data): New variable.
23618 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23619 (fabs_test_data): New variable.
23620 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23621 (floor_test_data): New variable.
23622 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23623 (j0_test_data): New variable.
23624 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23625 (j1_test_data): New variable.
23626 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23627 (log_test_data): New variable.
23628 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23629 (log10_test_data): New variable.
23630 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23631 (log1p_test_data): New variable.
23632 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23633 (log2_test_data): New variable.
23634 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23635 (logb_test_data): New variable.
23636 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23637 (logb_downward_test_data): New variable.
23638 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23639 (nearbyint_test_data): New variable.
23640 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23641 (rint_test_data): New variable.
23642 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23643 (rint_tonearest_test_data): New variable.
23644 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23645 (rint_towardzero_test_data): New variable.
23646 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23647 (rint_downward_test_data): New variable.
23648 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23649 (rint_upward_test_data): New variable.
23650 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23651 (round_test_data): New variable.
23652 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23653 (sin_test_data): New variable.
23654 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23655 (sin_tonearest_test_data): New variable.
23656 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23657 (sin_towardzero_test_data): New variable.
23658 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23659 (sin_downward_test_data): New variable.
23660 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23661 (sin_upward_test_data): New variable.
23662 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23663 (sinh_test_data): New variable.
23664 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23665 (sinh_tonearest_test_data): New variable.
23666 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23667 (sinh_towardzero_test_data): New variable.
23668 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23669 (sinh_downward_test_data): New variable.
23670 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23671 (sinh_upward_test_data): New variable.
23672 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23673 (sqrt_test_data): New variable.
23674 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23675 (tan_test_data): New variable.
23676 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23677 (tan_tonearest_test_data): New variable.
23678 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23679 (tan_towardzero_test_data): New variable.
23680 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23681 (tan_downward_test_data): New variable.
23682 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23683 (tan_upward_test_data): New variable.
23684 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23685 (tanh_test_data): New variable.
23686 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23687 (tgamma_test_data): New variable.
23688 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23689 (trunc_test_data): New variable.
23690 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23691 (y0_test_data): New variable.
23692 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23693 (y1_test_data): New variable.
23694 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23695 (significand_test_data): New variable.
23696 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23698 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23701 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23703 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23705 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23707 2013-05-10 Andreas Jaeger <aj@suse.de>
23710 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23711 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23713 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23715 * math/gen-libm-test.pl (adjust_arg): New function.
23716 (special_functions): Handle generating output in both functions
23718 (parse_args): Likewise.
23719 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23720 $in_func argument to parse_args.
23721 * math/libm-test.inc (struct test_f_f_data): New type.
23722 (IF_ROUND_INIT_): New macro.
23723 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23724 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23725 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23726 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23727 (ROUND_RESTORE_): Likewise.
23728 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23729 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23730 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23731 (ROUND_RESTORE_FE_UPWARD): Likewise.
23732 (RUN_TEST_LOOP_f_f): New macro.
23733 (acos_test_data): New variable.
23734 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23735 (acos_tonearest_test_data): New variable.
23736 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23738 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23740 * benchtests/bench-skeleton.c (startup): Fix coding style.
23742 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23745 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23746 negative infinity argument.
23747 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23748 negative infinity argument.
23749 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23750 negative infinity argument.
23751 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23754 2013-05-10 Florian Weimer <fweimer@redhat.com>
23756 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23757 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23758 * iconv/iconv_prog.c (main): Likewise.
23759 * locale/programs/charmap-dir.c (charmap_readdir)
23760 (fopen_uncompressed): Likewise.
23761 * locale/programs/locfile.c (siblings_uncached)
23762 (write_locale_data): Use lstat64 instead of lstat.
23763 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23766 2013-05-10 Andreas Jaeger <aj@suse.de>
23769 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23771 Include <locale.h>.
23773 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23775 * elf/dl-close.c (_dl_close_worker): Add comments.
23777 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23782 (__ieee754_rem_pio2l): Update comments.
23785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23787 (__ieee754_rem_pio2l): Update comments.
23789 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23790 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23792 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23795 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23796 (M_PI_34_LOG10El): Likewise.
23797 (M_PI2_LOG10El): Likewise.
23798 (M_PI4_LOG10El): Likewise.
23799 (M_PI_LOG10El): Likewise.
23801 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23805 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23807 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23808 (MINUS_ZERO_INIT): Likewise.
23809 (PLUS_INFTY_INIT): Likewise.
23810 (MINUS_INFTY_INIT): Likewise.
23811 (QNAN_VALUE_INIT): Likewise.
23812 (MAX_VALUE_INIT): Likewise.
23813 (MIN_VALUE_INIT): Likewise.
23814 (MIN_SUBNORM_VALUE_INIT): Likewise.
23815 (plus_zero): Initialize with PLUS_ZERO_INIT.
23816 (minus_zero): Initialize with MINUS_ZERO_INIT.
23817 (plus_infty): Initialize with PLUS_INFTY_INIT.
23818 (minus_infty): Initialize with MINUS_INFTY_INIT.
23819 (qnan_value): Initialize with QNAN_VALUE_INIT.
23820 (max_value): Initialize with MAX_VALUE_INIT.
23821 (min_value): Initialize with MIN_VALUE_INIT.
23822 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23824 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23825 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23826 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23827 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23829 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23830 (RUN_TEST_2_f): Likewise.
23831 (RUN_TEST_ff_f): Likewise.
23832 (RUN_TEST_fi_f): Likewise.
23833 (RUN_TEST_fl_f): Likewise.
23834 (RUN_TEST_fff_f): Likewise.
23835 (RUN_TEST_c_f): Likewise.
23836 (RUN_TEST_f_f1): Likewise.
23837 (RUN_TEST_fF_f1): Likewise.
23838 (RUN_TEST_fI_f1): Likewise.
23839 (RUN_TEST_ffI_f1): Likewise.
23840 (RUN_TEST_c_c): Likewise.
23841 (RUN_TEST_cc_c): Likewise.
23842 (RUN_TEST_f_i): Likewise.
23843 (RUN_TEST_f_i_tg): Likewise.
23844 (RUN_TEST_ff_i_tg): Likewise.
23845 (RUN_TEST_f_b): Likewise.
23846 (RUN_TEST_f_b_tg): Likewise.
23847 (RUN_TEST_f_l): Likewise.
23848 (RUN_TEST_f_L): Likewise.
23849 (RUN_TEST_sincos): Likewise.
23850 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23851 whether to show exceptions. Do not include ");\n" in return
23853 (special_functions): Output call to RUN_TEST_sincos instead of
23854 check_float calls. Update calls to new_test.
23855 (parse_args): Output call to single RUN_TEST_* macro instead of
23856 check_* calls and other assignments. Update calls to new_test.
23862 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23863 input to result for tgamma overflow.
23864 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23865 (gamma_coeff): New variable.
23866 (NCOEFF): New macro.
23867 (gamma_positive): New function.
23868 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23869 underflow here. Use gamma_positive instead of exp (lgamma) for
23871 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23872 (gamma_coeff): New variable.
23873 (NCOEFF): New macro.
23874 (gammaf_positive): New function.
23875 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23876 underflow here. Use gamma_positive instead of exp (lgamma) for
23878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23879 (gamma_coeff): New variable.
23880 (NCOEFF): New macro.
23881 (gammal_positive): New function.
23882 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23883 underflow here. Use gamma_positive instead of exp (lgamma) for
23885 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23886 (gamma_coeff): New variable.
23887 (NCOEFF): New macro.
23888 (gammal_positive): New function.
23889 (__ieee754_gammal_r): Handle positive infinity, overflow and
23890 underflow here. Handle NaN the same as positive infinity. Remove
23891 check x < 0xffffffff for negative integers. Use gamma_positive
23892 instead of exp (lgamma) for other arguments.
23893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23894 (gamma_coeff): New variable.
23895 (NCOEFF): New macro.
23896 (gammal_positive): New function.
23897 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23898 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23902 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23903 * sysdeps/generic/math_private.h (__gamma_productf): New
23905 (__gamma_product): Likewise.
23906 (__gamma_productl): Likewise.
23907 * math/Makefile (libm-calls): Add gamma_product.
23908 * math/libm-test.inc (tgamma_test): Add more tests.
23909 * sysdeps/i386/fpu/libm-test-ulps: Update.
23910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23914 * benchtests/bench-skeleton.c (main): Preheat CPU.
23916 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23918 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23920 2013-05-07 Roland McGrath <roland@hack.frob.com>
23922 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23923 and _dl_skip_args_internal.
23925 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23927 * manual/message.texi (Message Translation): Talk about users.
23928 Message to key mapping impacts design.
23930 2013-05-06 Roland McGrath <roland@hack.frob.com>
23932 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23934 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23936 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23937 * sysdeps/wordsize-64/glob64.c: ... here.
23939 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23940 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23943 * debug/getlogin_r_chk.c: Moved to ...
23944 * login/getlogin_r_chk.c: ... here.
23945 * debug/Makefile (routines): Move getlogin_r_chk to ...
23946 * login/Makefile (routines): ... here.
23947 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23948 * login/Versions (libc: GLIBC_2.4): ... here.
23950 * io/poll.c (__poll): Renamed from poll.
23951 Add libc_hidden_def.
23952 (poll): Define as weak alias.
23954 * debug/ptsname_r_chk.c: Moved to ...
23955 * login/ptsname_r_chk.c: ... here.
23956 * debug/Makefile (routines): Move ptsname_r_chk to ...
23957 * login/Makefile (routines): ... here.
23958 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23959 * login/Versions (libc: GLIBC_2.4): ... here.
23961 * posix/getlogin.c: Moved to ...
23962 * login/getlogin.c: ... here.
23963 * posix/getlogin_r.c: Moved to ...
23964 * login/getlogin_r.c: ... here.
23965 * posix/getlogin_r.c: Moved to ...
23966 * login/getlogin_r.c: ... here.
23967 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23968 * login/Makefile (routines): ... here.
23969 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23970 * login/Versions (libc: GLIBC_2.0): ... here.
23972 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23973 (setrlimit): Define as weak alias.
23975 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23976 Call __ names for open, ftruncate, and close.
23977 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23978 (truncate): Define as weak alias.
23980 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23982 * math/gen-libm-test.pl (parse_args): Initialize x before each
23983 test of frexp, modf and remquo.
23985 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23986 test signgam value.
23988 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23992 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23996 2013-05-06 Roland McGrath <roland@hack.frob.com>
23998 * elf/dl-writev.h: New file.
23999 * elf/dl-misc.c: Include it.
24000 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24001 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24003 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24005 * math/libm-test.inc (noXFails): Remove variable.
24006 (noXPasses): Likewise.
24007 (BUILD_COMPLEX_INT): Remove macro.
24008 (print_screen): Remove xfail argument.
24009 (print_screen_max_error): Likewise.
24010 (update_stats): Likewise.
24011 (print_max_error): Likewise. Update calls to other affected
24013 (print_complex_max_error): Likewise.
24014 (test_single_exception): Update calls to print_screen.
24015 (test_single_errno): Likewise.
24016 (check_float_internal): Remove xfail argument. Update calls to
24017 other affected functions.
24018 (check_float): Likewise.
24019 (check_complex): Likewise.
24020 (check_int): Likewise.
24021 (check_long): Likewise.
24022 (check_bool): Likewise.
24023 (check_longlong): Likewise.
24024 (main): Don't print noXFails and noXPasses.
24025 * math/gen-libm-test.pl (top level): Don't mention expected
24026 failure handling in comment.
24027 (new_test): Don't handle expected failures.
24028 (parse_args): Don't mention expected failure handling in comment.
24029 (generate_testfile): Don't handle expected failures.
24030 (parse_ulps): Likewise.
24031 (print_ulps_file): Likewise.
24032 (get_failure): Remove function.
24033 (output_test): Don't handle expected failures.
24034 * make/README.libm-test: Don't mention expected failure handling.
24036 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24037 (minus_zero): Likewise.
24038 (plus_infty): Likewise.
24039 (minus_infty): Likewise.
24040 (qnan_value): Likewise.
24041 (max_value): Likewise.
24042 (min_value): Likewise.
24043 (min_subnorm_value): Likewise.
24044 (initialize): Do not initialize those variables dynamically.
24046 2013-05-03 Roland McGrath <roland@hack.frob.com>
24048 * io/open.c (__open_2): Moved to ...
24049 * io/open_2.c: ... this new file.
24050 * io/open64.c (__open64_2): Moved to ...
24051 * io/open64_2.c: ... this new file.
24052 * io/openat.c (__openat_2): Moved to ...
24053 * io/openat_2.c: ... this new file.
24054 * io/openat64.c (__openat64_2): Moved to ...
24055 * io/openat64_2.c: ... this new file.
24056 * io/Makefile (routines): Add them.
24057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24058 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24059 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24060 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24061 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24062 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24063 (__openat64): Add hidden_ver.
24064 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24065 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24067 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24068 Separately conditionalize setting of GLRO(dl_sysinfo) so
24069 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24070 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24072 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24074 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24077 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24078 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24079 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24080 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24081 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24083 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24085 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24086 test signgam value.
24088 * math/libm-test.inc (hypot_test): Do not use
24089 IGNORE_ZERO_INF_SIGN.
24091 2013-05-03 Andreas Jaeger <aj@suse.de>
24093 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24095 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24096 (PF_MAX): Adjust for VSOCK change.
24098 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24102 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24105 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24106 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24107 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24109 2013-05-02 David S. Miller <davem@davemloft.net>
24111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24113 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24115 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24117 2013-05-01 Roland McGrath <roland@hack.frob.com>
24119 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24121 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24124 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24125 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24126 Use __attribute__ ((__gnu_inline__)).
24127 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24128 Don't use __attribute__ ((__gnu_inline__)).
24130 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24133 * math/s_catan.c (__catan): Handle small real or imaginary part of
24134 input specially to avoid spurious underflow.
24135 * math/s_catanf.c (__catanf): Likewise.
24136 * math/s_catanh.c (__catanh): Likewise.
24137 * math/s_catanhf.c (__catanhf): Likewise.
24138 * math/s_catanhl.c (__catanhl): Likewise.
24139 * math/s_catanl.c (__catanl): Likewise.
24140 * math/libm-test.inc (catan_test): Add more tests.
24141 (catanh_test): Likewise.
24142 * sysdeps/i386/fpu/libm-test-ulps: Update.
24143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24145 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24149 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24152 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24153 accurately for denominator in atan2.
24154 * math/s_catanf.c (__catanf): Likewise.
24155 * math/s_catanh.c (__catanh): Likewise.
24156 * math/s_catanhf.c (__catanhf): Likewise.
24157 * math/s_catanhl.c (__catanhl): Likewise.
24158 * math/s_catanl.c (__catanl): Likewise.
24159 * math/libm-test.inc (catan_test): Add more tests.
24160 (catanh_test): Likewise.
24161 * sysdeps/i386/fpu/libm-test-ulps: Update.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24166 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24168 * benchtests/Makefile (bench): Remove slow benchmarks.
24169 * benchtests/atan-inputs: Add slow benchmark inputs.
24170 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24171 (BENCH_FUNC): Accept variant offset.
24173 * benchtests/bench-skeleton.c (main): Run benchmark for each
24175 * benchtests/cos-inputs: Add slow benchmark inputs.
24176 * benchtests/exp-inputs: Likewise.
24177 * benchtests/pow-inputs: Likewise.
24178 * benchtests/sin-inputs: Likewise.
24179 * benchtests/slowatan-inputs: Remove.
24180 * benchtests/slowatan.c: Remove.
24181 * benchtests/slowcos-inputs: Remove.
24182 * benchtests/slowcos.c: Remove.
24183 * benchtests/slowexp-inputs: Remove.
24184 * benchtests/slowexp.c: Remove.
24185 * benchtests/slowpow-inputs: Remove.
24186 * benchtests/slowpow.c: Remove.
24187 * benchtests/slowsin-inputs: Remove.
24188 * benchtests/slowsin.c: Remove.
24189 * benchtests/slowtan-inputs: Remove.
24190 * benchtests/slowtan.c: Remove.
24191 * benchtests/tan-inputs: Add slow benchmark inputs.
24192 * scripts/bench.pl: Parse comments and directives.
24194 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24196 ($(objpfx)bench-%.c): Remove *-ITER.
24197 * benchtests/bench-modf.c: Remove definition of ITER.
24198 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24199 (main): Loop for DURATION seconds instead of fixed number of
24201 * scripts/bench.pl: Don't expect iterations in parameters.
24203 2013-04-29 Roland McGrath <roland@hack.frob.com>
24205 * io/fchdir.c (__fchdir): Renamed from fchdir.
24206 (fchdir): Define as weak alias.
24208 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24210 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24211 (ERRNO_EDOM): Likewise.
24212 (ERRNO_ERANGE): Likewise.
24213 (noErrnoTests): New variable.
24214 (init_max_error): Set errno to 0.
24215 (test_single_errno): New function.
24216 (test_errno): Likewise.
24217 (check_float_internal): Call test_errno. Set errno to 0.
24218 (check_complex): Refer to errno tests in comment.
24219 (check_int): Call test_errno. Set errno to 0.
24220 (check_long): Likewise.
24221 (check_bool): Likewise.
24222 (check_longlong): Likewise.
24223 (cos_test): Use ERRNO_* flags for errno tests instead of
24225 (expm1_test): Likewise.
24226 (fmod_test): Likewise.
24227 (ilogb_test): Likewise.
24228 (lgamma_test): Likewise.
24229 (pow_test): Likewise.
24230 (remainder_test): Likewise.
24231 (sin_test): Likewise.
24232 (tan_test): Likewise.
24233 (yn_test): Likewise.
24234 (initialize): Set errno to 0.
24235 (main): Print number of errno tests.
24236 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24238 2013-04-29 Andreas Jaeger <aj@suse.de>
24241 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24245 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24246 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24250 * stdlib/random.c (__initstate): Return NULL if
24254 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24255 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24258 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24262 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24264 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24265 of individual tests.
24266 (casin_test): Likewise.
24267 (casinh_test): Likewise.
24269 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24272 * math/s_catan.c (__catan): Handle arguments with large real or
24273 imaginary part separately without squaring.
24274 * math/s_catanf.c (__catanf): Likewise.
24275 * math/s_catanh.c (__catanh): Likewise.
24276 * math/s_catanhf.c (__catanhf): Likewise.
24277 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24279 (__catanhl): Handle arguments with large real or imaginary part
24280 separately without squaring.
24281 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24283 (__catanl): Handle arguments with large real or imaginary part
24284 separately without squaring.
24285 * math/libm-test.inc (catan_test): Add more tests.
24286 (catanh_test): Likewise.
24287 * sysdeps/i386/fpu/libm-test-ulps: Update.
24288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24290 2013-04-27 Andreas Jaeger <aj@suse.de>
24293 * stdlib/stdlib.h: Update guards for qecvt.
24294 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24297 2013-04-27 Allan McRae <allan@archlinux.org>
24299 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24304 * math/s_catan.c: Include <float.h>.
24305 (__catan): Ensure underflow exception occurs for underflowed
24307 * math/s_catanf.c: Include <float.h>.
24308 (__catanf): Ensure underflow exception occurs for underflowed
24310 * math/s_catanh.c: Include <float.h>.
24311 (__catanh): Ensure underflow exception occurs for underflowed
24313 * math/s_catanhf.c: Include <float.h>.
24314 (__catanhf): Ensure underflow exception occurs for underflowed
24316 * math/s_catanhl.c: Include <float.h>.
24317 (__catanhl): Ensure underflow exception occurs for underflowed
24319 * math/s_catanl.c: Include <float.h>.
24320 (__catanl): Ensure underflow exception occurs for underflowed
24322 * math/libm-test.inc (catan_test): Add more tests.
24323 (catanh_test): Likewise.
24326 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24327 underflowed result.
24328 * math/s_ccoshf.c (__ccoshf): Likewise.
24329 * math/s_ccoshl.c (__ccoshl): Likewise.
24330 * math/s_csin.c (__csin): Likewise.
24331 * math/s_csinf.c (__csinf): Likewise.
24332 * math/s_csinh.c (__csinh): Likewise.
24333 * math/s_csinhf.c (__csinhf): Likewise.
24334 * math/s_csinhl.c (__csinhl): Likewise.
24335 * math/s_csinl.c (__csinl): Likewise.
24336 * math/libm-test.inc (ccos_test): Add more tests.
24337 (ccosh_test): Likewise.
24338 (csin_test): Likewise.
24339 (csinh_test): Likewise.
24341 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24343 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24344 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24345 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24346 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24347 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24348 powerpc/power5+/fpu folders.
24349 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24352 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24356 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24358 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24359 additions to variable.
24360 [$(config-machine) = x86_64] (modules-names): Likewise.
24361 ($(objpfx)tst-audit3): Remove dependency.
24362 ($(objpfx)tst-audit3.out): Likewise.
24363 ($(objpfx)tst-audit4): Likewise.
24364 ($(objpfx)tst-audit4.out): Likewise.
24365 ($(objpfx)tst-audit5): Likewise.
24366 ($(objpfx)tst-audit5.out): Likewise.
24367 ($(objpfx)tst-audit6): Likewise.
24368 ($(objpfx)tst-audit6.out): Likewise.
24369 ($(objpfx)tst-audit7): Likewise.
24370 ($(objpfx)tst-audit7.out): Likewise.
24371 (tst-audit3-ENV): Remove variable.
24372 (tst-audit4-ENV): Likewise.
24373 (tst-audit5-ENV): Likewise.
24374 (tst-audit6-ENV): Likewise.
24375 (tst-audit7-ENV): Likewise.
24376 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24377 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24378 addition to variable.
24379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24383 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24384 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24385 tst-audit3, tst-audit4 and tst-audit5.
24386 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24387 tst-audit6 and tst-audit7.
24388 [$(subdir) = elf] (modules-names): Add audit modules for those
24390 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24391 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24392 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24393 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24394 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24395 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24396 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24397 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24398 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24399 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24400 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24401 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24402 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24403 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24404 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24405 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24407 [$(subdir) = elf && $(config-cflags-avx) = yes]
24408 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24409 [$(subdir) = elf && $(config-cflags-avx) = yes]
24410 (CFLAGS-tst-auditmod4a.c): Likewise.
24411 [$(subdir) = elf && $(config-cflags-avx) = yes]
24412 (CFLAGS-tst-auditmod4b.c): Likewise.
24413 [$(subdir) = elf && $(config-cflags-avx) = yes]
24414 (CFLAGS-tst-auditmod6b.c): Likewise.
24415 [$(subdir) = elf && $(config-cflags-avx) = yes]
24416 (CFLAGS-tst-auditmod6c.c): Likewise.
24417 [$(subdir) = elf && $(config-cflags-avx) = yes]
24418 (CFLAGS-tst-auditmod7b.c): Likewise.
24419 * elf/tst-audit3.c: Move to ...
24420 * sysdeps/x86_64/tst-audit3.c: ... here.
24421 * elf/tst-audit4.c: Move to ...
24422 * sysdeps/x86_64/tst-audit4.c: ... here.
24423 * elf/tst-audit5.c: Move to ...
24424 * sysdeps/x86_64/tst-audit5.c: ... here.
24425 * elf/tst-audit6.c: Move to ...
24426 * sysdeps/x86_64/tst-audit6.c: ... here.
24427 * elf/tst-audit7.c: Move to ...
24428 * sysdeps/x86_64/tst-audit7.c: ... here.
24429 * elf/tst-auditmod3a.c: Move to ...
24430 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24431 * elf/tst-auditmod3b.c: Move to ...
24432 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24433 * elf/tst-auditmod4a.c: Move to ...
24434 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24435 * elf/tst-auditmod4b.c: Move to ...
24436 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24437 * elf/tst-auditmod5a.c: Move to ...
24438 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24439 * elf/tst-auditmod5b.c: Move to ...
24440 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24441 * elf/tst-auditmod6a.c: Move to ...
24442 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24443 * elf/tst-auditmod6b.c: Move to ...
24444 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24445 * elf/tst-auditmod6c.c: Move to ...
24446 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24447 * elf/tst-auditmod7a.c: Move to ...
24448 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24449 * elf/tst-auditmod7b.c: Move to ...
24450 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24452 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24455 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24456 define unconditionally.
24457 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24458 define unconditionally.
24459 (INT8_C, INT16_C, etc.): Likewise.
24461 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24463 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24464 __ehdr_start with hidden visibility.
24466 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24468 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24470 * math/libm-test.inc (cos_test): Use accurate hex constants.
24471 (sincost_test): Likewise.
24473 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24475 * math/libm-test.inc (catan_test): Add more tests.
24476 (catanh_test): Likewise.
24478 * math/s_catanf.c (__catanf): Use suffixed floating-point
24480 * math/s_catanhf.c (__catanhf): Likewise.
24481 * math/s_catanhl.c (__catanhl): Likewise.
24482 * math/s_catanl.c (__catanl): Likewise.
24485 * math/s_catan.c (__catan): Calculate imaginary part of result
24486 with log1p not log unless computing log of number close to 0.
24487 * math/s_catanf.c (__catanf): Likewise.
24488 * math/s_catanl.c (__catanl): Likewise.
24489 * math/s_catanh.c (__catanh): Calculate real part of result with
24490 log1p not log unless computing log of number close to 0.
24491 * math/s_catanhf.c (__catanhf): Likewise.
24492 * math/s_catanhl.c (__catanhl): Likewise.
24493 * math/libm-test.inc (catan_test): Add more tests.
24494 (catanh_test): Likewise.
24495 * sysdeps/i386/fpu/libm-test-ulps: Update.
24496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24498 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24500 * benchtests/Makefile: Mention files in which fast and slow
24501 paths of math functions are implemented.
24503 2013-04-23 Roland McGrath <roland@hack.frob.com>
24505 * sysdeps/posix/timespec_get.c: New file.
24507 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24509 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24511 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24513 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24514 powerpc/power5/fpu folders.
24515 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24516 * benchtests/Makefile: Add modf testcase.
24517 * benchtests/bench-modf.c: New file: Benchmark test for mo
24519 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24522 * time/Makefile (tests): Add tst-strptime-whitespace.
24523 * time/strptime_l.c (get_number): Use ISSPACE.
24524 (__strptime_internal): Likewise.
24525 * time/tst-strptime-whitespace.c: New test case.
24527 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24529 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24531 (_nss_files_init): Set it here.
24533 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24535 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24536 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24539 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24541 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24543 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24548 2013-04-21 David S. Miller <davem@davemloft.net>
24550 * po/ru.po: Update Russion translation from translation project.
24552 2013-04-17 Adam Conrad <adconrad@0c3.net>
24554 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24557 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24559 * configure.in: Remove i386 configure warning. Remove i386 case.
24560 * configure: Regenerate.
24561 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24562 Add example to error message.
24563 * sysdeps/i386/configure: Regenerate.
24565 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24567 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24569 * benchtests/cos-inputs: New file.
24570 * benchtests/slowcos-inputs: New file.
24571 * benchtests/slowcos.c: New file.
24572 * benchtests/slowtan-inputs: New file.
24573 * benchtests/slowtan.c: New file.
24574 * benchtests/tan-inputs: New file.
24576 2013-04-16 Roland McGrath <roland@hack.frob.com>
24578 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24581 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24583 * benchtests/Makefile: Include cppflags-iterator.mk to add
24584 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24586 * Makefile.in (bench-clean): New target.
24587 * benchtests/Makefile (bench-clean): Likewise.
24589 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24591 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24593 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24595 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24597 2013-04-15 Andreas Schwab <schwab@suse.de>
24599 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24601 * nscd/pwdcache.c (cache_addpw): Likewise.
24602 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24605 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24607 * benchtests/Makefile (bench): Write all output to
24608 bench-out.tmp together.
24610 2013-04-15 Andreas Schwab <schwab@suse.de>
24612 * nscd/nscd.c (main): Don't fork again after closing files.
24614 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24618 * benchtests/Rules (bench-deps): Collect dependencies into a
24619 single variable. Add Makefile to dependencies.
24620 ($(objpfx)bench-%.c): Depend on bench-deps.
24622 2013-04-12 Roland McGrath <roland@hack.frob.com>
24623 Xavier Roche <roche+kml2@exalead.com>
24626 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24627 just that it's a file descriptor.
24628 * manual/llio.texi (Synchronizing AIO Operations): Update description
24629 for EBADF error from aio_fsync.
24631 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24633 * Rules (bench): Move target definition...
24634 * benchtests/Makefile: ... here.
24636 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24638 * math/libm-test.inc (cos_test): Fix PI/2 test.
24639 (sincos_test): Likewise.
24640 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24641 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24643 2013-04-11 Andreas Schwab <schwab@suse.de>
24646 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24647 accept exponent character only when digits were seen.
24648 * stdio-common/Makefile (tests): Add bug26.
24649 * stdio-common/bug26.c: New file.
24652 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24655 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24657 * Makeconfig (rtld-prefix): Define built linker prefix.
24658 * Rules (run-bench): Use it.
24659 * math/Makefile (run-regen-ulps): Likewise.
24661 * Rules (bench): Remove eval.
24663 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24664 Roland McGrath <roland@hack.frob.com>
24665 Ondrej Bilka <neleai@seznam.cz>
24668 * time/getdate.c: Include ctype.h and alloca.h.
24669 (__getdate_r): Trim leading and trailing spaces of input.
24670 * time/tst-getdate.c (tests): Add tests with leading and
24673 2013-04-08 Roland McGrath <roland@hack.frob.com>
24676 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24677 when computing value.
24679 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24681 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24682 Use testrun.sh to run libm tests.
24685 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24687 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24690 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24692 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24694 * Makefile.in (regen-ulps): New target.
24695 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24696 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24697 [ifneq (no,$(PERL)] (regen-ulps): New target.
24698 [ifeq (no,$(PERL)] (regen-ulps): New target.
24699 * math/libm-test.inc (ulps_file_name): Define.
24700 (output_dir): New variable.
24701 (options): Add "output-dir" option.
24702 (parse_opt): Handle 'o' case.
24703 (main): If output_dir is non-NULL use it as a prefix
24705 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24709 [BZ #10060, #10062]
24710 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24711 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24712 fail configure if __sync_val_compare_and_swap is not inlined.
24713 * sysdeps/i386/configure: Regenerate.
24714 * configure.in: Build for i686 when configured for i386.
24715 * configure: Regenerate.
24716 * README: Remove i386 reference.
24718 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24720 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24721 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24723 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24725 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24726 (lmsnanval): New variables.
24727 (F): Add conversion tests.
24728 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24729 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24731 * stdio-common/tstdiomisc.c (F): Properly collect individual
24734 [BZ #14686, #15336]
24735 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24736 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24737 Instead, use input NaN values or generate a qNaN by arithmetic
24738 operation. Also fix bugs to comply with the standard.
24739 * math/libm-test.inc (remainder_test): Add more tests.
24741 [BZ #15335, #15342]
24742 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24744 input NaN values or generate a qNaN by arithmetic operation.
24746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24749 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24752 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24755 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24756 underflowed result.
24757 * math/s_cexpf.c (__cexpf): Likewise.
24758 * math/s_cexpl.c (__cexpl): Likewise.
24759 * math/libm-test.inc (cexp_test): Add more tests.
24761 2013-04-03 Andreas Schwab <schwab@suse.de>
24764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24765 order arrays from heap if bigger than alloca cutoff.
24767 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24769 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24770 (SNAN_TESTS_double): Refer to GCC PR56831.
24771 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24774 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24776 * Rules (bench): Move bench.out after the run is complete.
24778 * Rules (bench): Echo currently running benchmark.
24780 * benchtests/Makefile (bench): Add atan and slowatan.
24781 * benchtests/atan-inputs: New file.
24782 * benchtests/slowatan-inputs: New file.
24783 * benchtests/slowatan.c: New file.
24785 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24786 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24790 * sysdeps/unix/sysv/linux/kernel-features.h
24791 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24792 __ASSUME_XFS_RESTRICTED_CHOWN.
24793 * sysdeps/unix/sysv/linux/pathconf.c
24794 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24795 Save and restore errno.
24797 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24800 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24801 arguments using __kernel_casinh.
24802 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24803 arguments using __kernel_casinhf.
24804 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24805 arguments using __kernel_casinhl.
24806 * math/libm-test.inc (cacosh_test): Add more tests.
24807 * sysdeps/i386/fpu/libm-test-ulps: Update.
24808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24810 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24812 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24815 * bench/Makefile (bench): Add sin and slowsin.
24816 * benchtests/sin-inputs: New file.
24817 * benchtests/slowsin-inputs: New file.
24818 * benchtests/slowsin.c: New file.
24820 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24821 (bench): Add slowexp and slowpow.
24822 (exp-ITER): Increase iterations.
24823 (pow-ITER): Likewise.
24824 * benchtests/exp-inputs: Change input.
24825 * benchtests/pow-inputs: Likewise.
24826 * benchtests/slowexp-inputs: New file.
24827 * benchtests/slowexp.c: New file.
24828 * benchtests/slowpow-inputs: New file.
24829 * benchtests/slowpow.c: New file.
24831 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24833 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24835 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24838 * benchtests/Makefile: Add rint benchtest.
24839 * benchtests/rint-inputs: Input for rint benchtest.
24841 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24843 * Versions.def (libm): Add GLIBC_2.18.
24844 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24845 hidden libm prototypes.
24846 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24847 * math/Makefile (libm-calls): Add s_issignaling.
24848 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24849 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24850 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24852 * math/math.h [__USE_GNU] (issignaling): New macro.
24853 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24854 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24859 * manual/arith.texi (issignaling): New section.
24860 * manual/libm-err-tab.pl (@all_functions): Update comment.
24861 * math/gen-libm-test.pl (parse_args): Apply special handling for
24863 * math/libm-test.inc (print_float, issignaling_test): New
24865 (check_float_internal): Add issignaling checks.
24866 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24867 default definition.
24868 * sysdeps/powerpc/math-tests.h: New file.
24869 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24871 * math/test-snan.c (TEST_FUNC): Likewise.
24873 2013-03-30 David S. Miller <davem@davemloft.net>
24875 * po/de.po: Update from translation team.
24877 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24880 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24881 imaginary part less than 1.0 and real part less than 0.5
24883 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24884 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24885 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24886 (cacos_test): Add more tests.
24887 (casin_test): Likewise.
24888 (casinh_test): Likewise.
24889 * sysdeps/i386/fpu/libm-test-ulps: Update.
24890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24892 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24894 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24895 ONE with its value.
24897 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24898 (__pow_mp): Replace ONE and MONE with their values.
24899 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24902 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24903 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24906 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24908 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24909 (__pow_mp): Replace ZERO and MZERO with their values.
24910 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24912 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24914 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24915 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24918 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24920 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24922 2013-03-28 Roland McGrath <roland@hack.frob.com>
24924 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24925 Declare with __attribute__ ((weak)).
24926 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24927 Call __call_tls_dtors only if it's not NULL.
24929 2013-03-28 Roland McGrath <roland@hack.frob.com>
24931 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24932 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24933 magic __ehdr_start linker symbol if it's defined.
24934 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24935 them up here if it was already done.
24937 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24938 (_dl_aux_init): Use const in cast when setting it.
24939 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24940 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24941 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24943 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24945 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24946 * csu/libc-tls.c: Nor here.
24947 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24949 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24950 (__libc_message): Never call vsyslog.
24952 2013-03-28 Alan Modra <amodra@gmail.com>
24954 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24956 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24959 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24966 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24969 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24970 Don't add gid passed as argument.
24972 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24974 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24977 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24978 imaginary part between 1.0 and 1.5 and real part less than 0.5
24980 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24981 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24982 * math/libm-test.inc (cacos_test): Add more tests.
24983 (casin_test): Likewise.
24984 (casinh_test): Likewise.
24985 * sysdeps/i386/fpu/libm-test-ulps: Update.
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24988 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24990 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24993 (denorm): Likewise.
24994 (__dbl_mp): Likewise.
24995 (add_magnitudes): Likewise.
24996 (sub_magnitudes): Likewise.
25004 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25006 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25007 (__dubcos): Likewise.
25008 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25009 (__ieee754_acos): Likewise.
25010 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25011 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25012 (__exp1): Likewise.
25013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25016 (my_log2): Likewise.
25017 (checkint): Likewise.
25018 * sysdeps/ieee754/dbl-64/e_remainder.c
25019 (__ieee754_remainder): Likewise.
25020 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25022 (bsloww): Likewise.
25023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25025 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25026 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25027 MANTISSA_STORE_T to store computations on mantissa. Use
25028 macros for rounding and division.
25029 (denorm): Likewise.
25030 (__dbl_mp): Likewise.
25031 (add_magnitudes): Likewise.
25032 (sub_magnitudes): Likewise.
25035 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25036 powers of two in terms of TWOPOW macro.
25037 (mp_no): Make type of mantissa as MANTISSA_T.
25038 [!RADIXI]: Define RADIXI.
25039 [!TWO52]: Define TWO52.
25040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25042 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25044 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25045 llroundl symbol when building for PPC32.
25047 2013-03-24 Mark H Weaver <mhw@netris.org>
25049 * manual/arith.texi (Normalization Functions): Fix prototypes for
25050 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25052 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25055 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25056 high value to check if expl overflow.
25057 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25058 to check for underflow and overflow.
25059 * math/libm-test.inc: Add exp test.
25061 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25064 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25067 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25072 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25074 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25075 wrap blocks consisting of several statements.
25077 * sysdeps/generic/math-tests.h: New file.
25078 * sysdeps/i386/fpu/math-tests.h: Likewise.
25079 * math/test-snan.c: Include it.
25080 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25082 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25085 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25086 (__ieee754_j0l): Do not improve calculations using cos of twice
25087 input for inputs above LDBL_MAX / 2.0L.
25088 (__ieee754_y0l): Likewise.
25089 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25090 (__ieee754_j1l): Do not improve calculations using cos of twice
25091 input for inputs above LDBL_MAX / 2.0L.
25092 (__ieee754_y1l): Likewise.
25093 * math/libm-test.inc (j0_test): Add another test.
25094 (j1_test): Likewise.
25095 (y0_test): Likewise.
25096 (y1_test): Likewise.
25097 * sysdeps/i386/fpu/libm-test-ulps: Update.
25099 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25101 * Rules ($(objpfx)bench-%.c): Include code from a C source
25104 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25107 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25108 imaginary part 1.0 and real part less than 0.5 specially.
25109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25111 * math/libm-test.inc (cacos_test): Add more tests.
25112 (casin_test): Likewise.
25113 (casinh_test): Likewise.
25114 * sysdeps/i386/fpu/libm-test-ulps: Update.
25115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25117 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25120 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25122 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25124 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25125 * config.make.in (config-cflags-sse4): Remove variable.
25126 (config-cflags-avx): Likewise.
25127 (config-cflags-sse2avx): Likewise.
25128 (config-cflags-novzeroupper): Likewise.
25129 (config-asflags-i686): Likewise.
25130 (have-mfma4): Likewise.
25131 (have-as-vis3): Likewise.
25133 * configure.in (MIG): Do not AC_SUBST.
25134 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25135 (libc_cv_cc_sse4): Do not AC_SUBST.
25136 (libc_cv_cc_avx): Likewise.
25137 (libc_cv_cc_sse2avx): Likewise.
25138 (libc_cv_cc_novzeroupper): Likewise.
25139 (libc_cv_cc_fma4): Likewise.
25140 (libc_cv_as_i686): Likewise.
25141 (libc_cv_sparc_as_vis3): Likewise.
25142 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25144 (config-asflags-i686): Likewise.
25145 (config-cflags-avx): Likewise.
25146 (config-cflags-sse2avx): Likewise.
25147 (have-mfma4): Likewise.
25148 (config-cflags-novzeroupper): Likewise.
25149 * sysdeps/mach/configure.in (MIG): Likewise.
25150 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25151 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25153 (config-cflags-avx): Likewise.
25154 (config-cflags-sse2avx): Likewise.
25155 (have-mfma4): Likewise.
25156 (config-cflags-novzeroupper): Likewise.
25157 * configure: Regenerated.
25158 * sysdeps/i386/configure: Likewise.
25159 * sysdeps/mach/configure: Likewise.
25160 * sysdeps/sparc/configure: Likewise.
25161 * sysdeps/x86_64/configure: Likewise.
25163 2013-03-20 Roland McGrath <roland@hack.frob.com>
25166 * locale/programs/localedef.c (options): Put N_ translation marker
25167 on argument names, not just descriptions.
25169 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25171 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25173 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25176 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25178 2013-03-19 Roland McGrath <roland@hack.frob.com>
25180 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25181 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25182 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25183 [!BEFORE_ABORT] (before_abort): New function.
25184 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25185 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25186 (writev_for_fatal): New function.
25187 (WRITEV_FOR_FATAL): New macro; call that.
25188 (backtrace_and_maps): New function.
25189 (BEFORE_ABORT): New macro; call that.
25190 (struct str_list): Type removed.
25191 (__libc_message, __libc_fatal): Functions removed.
25192 Include <sysdeps/posix/libc_fatal.c> instead.
25194 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25196 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25198 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25201 2013-03-19 Andreas Schwab <schwab@suse.de>
25203 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25204 * sysdeps/gnu/configure: Regenerate.
25206 * configure.in: Substitute libc_cv_rtlddir.
25207 * configure: Regenerate.
25208 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25209 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25210 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25211 * elf/Makefile (install-others, CFLAGS-interp.c)
25212 (ldso_install, common-ldd-rewrite): Likewise.
25213 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25214 $(inst_slibdir)/$(rtld-installed-name).
25215 * scripts/rellns-sh: Add -p option.
25216 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25219 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25221 * manual/nptl.texi: Renamed to ...
25222 * manual/threads.texi: ... this.
25223 * manual/Makefile (chapters): Update.
25225 2013-03-18 Roland McGrath <roland@hack.frob.com>
25228 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25229 on argument names, not just descriptions.
25230 * malloc/memusagestat.c (options): Likewise.
25231 * nss/getent.c (options): Likewise.
25233 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25236 * iconv/iconv_prog.c (options): Put N_ translation marker
25237 on argument names, not just descriptions.
25238 * iconv/iconvconfig.c (options): Likewise.
25240 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25242 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25243 implementation which is faster on all x86_64 architectures.
25244 Tested on AMD, Intel Nehalem, SNB, IVB.
25245 * sysdeps/x86_64/strnlen.S: Likewise.
25247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25248 Remove all multiarch strlen and strnlen versions.
25249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25250 Remove strlen and strnlen related parts.
25252 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25253 Inline strlen part.
25254 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25256 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25257 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25258 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25259 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25260 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25261 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25263 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25265 * manual/memory.texi (Malloc Tunable Parameters):
25266 Sort parameters alphabetically. Add comments for missing entries.
25268 2013-03-17 David S. Miller <davem@davemloft.net>
25270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25272 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25275 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25276 for arguments at most half maximum finite value.
25277 * math/libm-test.inc (j0_test): Add more tests.
25278 (j1_test): Likewise.
25279 (y0_test): Likewise.
25280 (y1_test): Likewise.
25281 * sysdeps/i386/fpu/libm-test-ulps: Update.
25282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25286 1 / x and functions P and Q for arguments above 0x1p256L.
25287 (__ieee754_y0l): Likewise.
25288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25289 (__ieee754_y1l): Likewise.
25290 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25291 (j1_test): Likewise.
25292 (y0_test): Likewise.
25293 (y1_test): Likewise.
25295 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25297 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25300 2013-03-15 Roland McGrath <roland@hack.frob.com>
25302 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25303 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25304 zero since it's initialized to EXEC_PAGESIZE.
25306 * sysdeps/unix/sysv/linux/ldsodefs.h
25307 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25308 * sysdeps/generic/ldsodefs.h: ... here.
25310 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25312 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25314 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25316 * math/test-snan.c: Renamed from
25317 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25318 * math/Makefile (tests): Add test-snan.
25319 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25322 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25323 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25325 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25326 __builtin_nan family of functions.
25327 * math/libm-test.inc (initialize): Initialize qnan_value with
25328 __builtin_nan family of functions.
25329 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25331 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25333 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25334 storage class. Initialize qNaN_var and sNaN_var with
25335 __builtin_nan and __builtin_nans families of functions,
25338 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25339 (sqrt_test): Remove duplicate test with qNaN input.
25340 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25341 (round_test, signbit_test, significand_test): Note missing +/-Inf
25342 as well as qNaN tests.
25344 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25345 qNaN_var. Fix a few strings, too.
25346 * math/libm-test.inc (nan_value): Rename to qnan_value.
25347 * math/gen-libm-test.pl (%beautify): Adjust to that.
25348 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25349 * math/test-misc.c (main): Likewise.
25350 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25351 to __qnan_bytes, and __qnan_union, respectively.
25352 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25354 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25355 and lqnanval, respectively.
25356 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25357 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25358 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25359 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25361 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25362 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25365 * math/test-misc.c (main): Fix copy'n'pastos.
25366 * misc/tst-efgcvt.c (special): Likewise.
25368 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25369 Remove declarations.
25371 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25373 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25374 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25375 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25376 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25378 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25381 macro to return vdso values correctly in IFUNC implementations.
25382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25383 Optimization by using IFUNC.
25385 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25386 Richard Henderson <rth@redhat.com>
25387 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25389 * Makefile.in (bench): New target.
25390 * NEWS: Mention the benchmark framework.
25391 * Rules (bench): Likewise.
25392 (binaries-bench): Generate binaries for functions to
25394 * benchtests/Makefile: New makefile for benchmark tests.
25395 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25397 * benchtests/exp-inputs: New input file for EXP function.
25398 * benchtests/pow-inputs: New input file for POW function.
25399 * scripts/bench.pl: New script to generate source files for
25400 benchmark programs.
25402 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25404 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25405 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25406 computations on mantissa. Use macros for rounding and
25408 (denorm): Likewise.
25409 (__dbl_mp): Likewise.
25410 (add_magnitudes): Likewise.
25411 (sub_magnitudes): Likewise.
25414 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25415 powers of two in terms of TWOPOW macro.
25416 (mp_no): Make type of mantissa as MANTISSA_T.
25417 [!RADIXI]: Define RADIXI.
25418 [!TWO52]: Define TWO52.
25419 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25421 * manual/nptl.texi (cindex): Modify threads to pthreads.
25423 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25425 * sysdeps/x86_64/preconfigure: Regenerated.
25427 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25430 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25432 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25433 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25435 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25436 * math/libm-test.inc (j0_test): Do not allow one spurious
25437 underflow exception.
25438 (y1_test): Likewise.
25440 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25442 * manual/Makefile (chapters): Add nptl.
25443 * manual/debug.texi (Debugging Support): Add link to Threads
25445 * manual/nptl.texi: New file.
25447 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25449 2013-03-14 Petr Baudis <pasky@ucw.cz>
25451 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25452 for non-NULL pointer before the memory validity test. Pointed
25453 out by Holger Brunck <holger.brunck@keymile.com>.
25455 2013-03-13 Andreas Schwab <schwab@suse.de>
25457 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25460 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25462 * timezone/zic.c: Update from tzcode 2013b.
25464 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25466 * manual/install.texi (Configuring and compiling):
25467 Mention i686 and i586.
25468 * INSTALL: Regenerate.
25470 2013-03-12 Roland McGrath <roland@hack.frob.com>
25472 * sysdeps/init_array/elf-init.c: New file.
25474 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25475 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25477 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25478 __gmon_start__ as global, but as static with a .preinit_array pointer.
25479 * sysdeps/init_array/gmon-start.c: New file. Use that.
25480 * sysdeps/init_array/crti.S: New file, empty except for comments.
25481 * sysdeps/init_array/crtn.S: Likewise.
25483 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25485 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25488 Remove Prefer_SSE_for_memop.
25489 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25490 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25491 HAS_PREFER_SSE_FOR_MEMOP.
25492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25495 Remove bzero, memset ifunc support.
25496 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25497 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25498 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25499 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25501 2013-03-11 Andreas Schwab <schwab@suse.de>
25504 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25507 (GLIBC_2.16): Remove pthread_atfork.
25509 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25511 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25512 (ptestcases.h): Likewise.
25514 2013-03-08 Roland McGrath <roland@hack.frob.com>
25516 * Makeconfig ($(common-objpfx)config.status): Depend on
25517 sysdeps/*/preconfigure{,.in} too.
25519 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25521 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25522 (__free_hook): Use void * instead of __malloc_ptr_t.
25523 (__malloc_hook): Likewise.
25524 (__realloc_hook): Likewise.
25525 (__memalign_hook): Likewise.
25526 (__after_morecore_hook): Likewise.
25527 * malloc/arena.c (save_malloc_hook): Likewise.
25528 (save_free_hook): Likewise.
25529 * malloc/hooks.c (malloc_hook_ini): Likewise.
25530 (realloc_hook_ini): Likewise.
25531 (memalign_hook_ini): Likewise.
25532 * malloc/malloc.c (malloc_hook_ini): Likewise.
25533 (realloc_hook_ini): Likewise.
25534 (memalign_hook_ini): Likewise.
25535 (__free_hook): Likewise.
25536 (__malloc_hook): Likewise.
25537 (__realloc_hook): Likewise.
25538 (__memalign_hook): Likewise.
25539 (__libc_malloc): Likewise.
25540 (__libc_free): Likewise.
25541 (__libc_realloc): Likewise.
25542 (__libc_memalign): Likewise.
25543 (__libc_valloc): Likewise.
25544 (__libc_pvalloc): Likewise.
25545 (__libc_calloc): Likewise.
25546 (__posix_memalign): Likewise.
25547 * malloc/morecore.c (__sbrk): Likewise.
25548 (__default_morecore): Likewise.
25550 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25552 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25553 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25554 __malloc_ptrdiff_t.
25556 * malloc/malloc.h (__malloc_size_t): Remove macro.
25557 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25559 (old_memalign_hook): Likewise.
25560 (old_realloc_hook): Likewise.
25561 (struct hdr): Likewise.
25563 (mallochook): Likewise.
25564 (memalignhook): Likewise.
25565 (reallochook): Likewise.
25566 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25567 (tr_old_realloc_hook): Likewise.
25568 (tr_old_memalign_hook): Likewise.
25569 (tr_mallochook): Likewise.
25570 (tr_reallochook): Likewise.
25571 (tr_memalignhook): Likewise.
25573 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25576 default_ldbl_pack and using as default implementation.
25577 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25579 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25580 redundant definition.
25581 (ldbl_insert_mantissa): Likewise.
25582 (ldbl_canonicalize): Likewise.
25583 (ldbl_nearbyint): Likewise.
25584 (ldbl_pack): Rename to ldbl_pack_ppc.
25585 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25586 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25587 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25589 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25592 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25594 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25597 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25598 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25600 2013-03-07 Andreas Jaeger <aj@suse.de>
25602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25605 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25607 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25608 Include mpa.h and declare __MPEXP.
25609 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25611 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25612 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25613 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25614 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25615 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25617 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25618 (__slowpow): Use long double EXPL and LOGL functions to
25620 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25621 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25623 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25624 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25625 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25628 intermediate variable to calculate exponent.
25630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25634 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25635 [!NO__SQR]: Define __sqr.
25636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25637 and NO__SQR. Remove all code except __mul and __sqr. Include
25638 sysdeps/ieee754/dbl-64/mpa.c.
25639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25642 * posix/Makefile (tests): Add tst-pathconf.
25643 * posix/tst-pathconf.c: New test case.
25644 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25648 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25650 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25652 2013-03-06 Andreas Jaeger <aj@suse.de>
25654 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25655 definition via __MAP_ANONYMOUS.
25657 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25658 it's not part of Linux headers.
25660 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25661 (MAP_HUGE_MASK): Define.
25663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25665 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25668 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25669 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25671 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25674 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25676 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25677 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25678 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25679 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25680 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25681 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25683 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25686 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25687 Handle f2fs and efivarfs.
25689 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25692 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25693 (EFIVARFS_MAGIC): Add.
25694 (F2FS_LINK_MAX): Add.
25696 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25698 * stdio-common/vfprintf.c: Replace __builtin_expect with
25701 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25704 * sysdeps/generic/bp-sym.h: Remove file.
25705 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25706 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25707 <bp-sym.h> and <bp-asm.h>.
25708 (__longjmp): Don't use BP_SYM.
25709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25711 (memcpy): Don't use BP_SYM.
25712 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25713 <bp-sym.h> and <bp-asm.h>.
25714 (memcpy): Don't use BP_SYM.
25715 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25717 (memcpy): Don't use BP_SYM.
25718 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25720 (memset): Don't use BP_SYM.
25721 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25722 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25723 (__bzero): Don't use BP_SYM.
25724 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25725 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25726 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25727 <bp-sym.h> and <bp-asm.h>.
25728 (memcmp): Don't use BP_SYM. Remove comment about bounded
25730 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25731 <bp-sym.h> and <bp-asm.h>.
25732 (memcpy): Don't use BP_SYM.
25733 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25734 <bp-sym.h> and <bp-asm.h>.
25735 (memset): Don't use BP_SYM.
25736 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25737 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25738 (__bzero): Don't use BP_SYM.
25739 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25740 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25741 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25742 <bp-sym.h> and <bp-asm.h>.
25743 (strncmp): Don't use BP_SYM. Remove comment about bounded
25745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25746 <bp-sym.h> and <bp-asm.h>.
25747 (memcpy): Don't use BP_SYM.
25748 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25749 <bp-sym.h> and <bp-asm.h>.
25750 (memset): Don't use BP_SYM.
25751 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25752 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25753 (__bzero): Don't use BP_SYM.
25754 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25755 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25757 <bp-sym.h> and <bp-asm.h>.
25758 (__memchr): Don't use BP_SYM.
25759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25760 <bp-sym.h> and <bp-asm.h>.
25761 (memcmp): Don't use BP_SYM. Remove comment about bounded
25763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25764 <bp-sym.h> and <bp-asm.h>.
25765 (memcpy): Don't use BP_SYM.
25766 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25767 <bp-sym.h> and <bp-asm.h>.
25768 (__mempcpy): Don't use BP_SYM.
25769 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25770 <bp-sym.h> and <bp-asm.h>.
25771 (__memrchr): Don't use BP_SYM.
25772 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25773 <bp-sym.h> and <bp-asm.h>.
25774 (memset): Don't use BP_SYM.
25775 (__bzero): Likewise.
25776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25777 <bp-sym.h> and <bp-asm.h>.
25778 (__rawmemchr): Don't use BP_SYM.
25779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25780 <bp-sym.h> and <bp-asm.h>.
25781 (__STRCMP): Don't use BP_SYM.
25782 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25783 <bp-sym.h> and <bp-asm.h>.
25784 (strchr): Don't use BP_SYM.
25785 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25786 <bp-sym.h> and <bp-asm.h>.
25787 (__strchrnul): Don't use BP_SYM.
25788 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25789 <bp-sym.h> and <bp-asm.h>.
25790 (strlen): Don't use BP_SYM.
25791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25792 <bp-sym.h> and <bp-asm.h>.
25793 (strncmp): Don't use BP_SYM. Remove comment about bounded
25795 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25796 <bp-sym.h> and <bp-asm.h>.
25797 (__strnlen): Don't use BP_SYM.
25798 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25799 <bp-sym.h> and <bp-asm.h>.
25800 (__GI__setjmp): Don't use BP_SYM.
25801 (_setjmp): Likewise.
25802 (__sigsetjmp): Likewise.
25803 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25804 (L(start_addresses)): Don't use BP_SYM.
25805 (_start): Likewise.
25806 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25808 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25809 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25812 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25814 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25815 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25816 about bounded pointers.
25817 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25818 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25819 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25821 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25822 about bounded pointers. Remove GKM FIXME comments.
25823 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25824 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25826 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25827 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25828 Remove GKM FIXME comments.
25829 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25830 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25831 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25833 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25834 about bounded pointers. Remove GKM FIXME comment.
25835 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25837 (strncmp): Don't use BP_SYM. Remove comment about bounded
25839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25840 <bp-sym.h> and <bp-asm.h>.
25841 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25843 <bp-sym.h> and <bp-asm.h>.
25844 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25847 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25849 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25852 2013-03-05 David S. Miller <davem@davemloft.net>
25854 * po/es.po: Update from translation team.
25856 2013-03-05 Andreas Jaeger <aj@suse.de>
25858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25859 <bits/mman-linux.h>.
25860 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25862 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25863 <bits/mman-linux.h> to end of file.
25864 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25866 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25867 <bits/mman-linux.h> to end of file.
25868 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25871 <bits/mman-linux.h> to end of file.
25873 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25874 (MCL_CURRENT, MCL_FUTURE): Define here.
25876 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25879 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25881 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25883 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25886 fourth parameter needed for rt_sigprocmask syscall.
25887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25888 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25889 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25890 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25891 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25892 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25894 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25897 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25898 comment about bounded pointers.
25899 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25900 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25902 2013-03-04 Andreas Jaeger <aj@suse.de>
25904 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25905 common definitions.
25907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25908 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25909 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25914 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25918 __ieee754_sqrl instead of __sqrl.
25920 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25922 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25923 * sysdeps/powerpc/fpu_control.h: ... here.
25924 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25925 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25926 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25927 * sysdeps/powerpc/bits/mathinline.h: ... here.
25929 2013-03-01 Roland McGrath <roland@hack.frob.com>
25931 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25932 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25933 to just [NEED_DL_SYSINFO_DSO].
25934 * elf/dl-support.c: Likewise.
25935 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25936 * elf/rtld.c (dl_main): Likewise.
25937 * elf/setup-vdso.h (setup_vdso): Likewise.
25938 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25939 * sysdeps/unix/sysv/linux/dl-sysdep.c
25940 (_dl_discover_osversion): Likewise.
25942 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25944 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25945 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25947 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 * NEWS: Mention libm performance improvements and non-x86 PI
25952 * csu/libc-start.c (__pthread_initialize_minimal): Change
25953 function arguments.
25954 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25956 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25959 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25960 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25961 <bp-sym.h> and <bp-asm.h>.
25962 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25965 (memcpy): Don't use BP_SYM.
25966 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25968 (__mpn_add_n): Don't use BP_SYM.
25969 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25970 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25972 (__mpn_addmul_1): Don't use BP_SYM.
25973 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25974 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25976 (_setjmp): Don't use BP_SYM.
25977 (__novmx_setjmp): Likewise.
25978 (__GI__setjmp): Likewise.
25979 (__vmx_setjmp): Likewise.
25980 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25982 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25983 (__bzero): Don't use BP_SYM.
25984 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25985 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25986 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25987 <bp-sym.h> and <bp-asm.h>.
25988 (memcpy): Don't use BP_SYM.
25989 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25990 <bp-sym.h> and <bp-asm.h>.
25991 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25992 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25993 <bp-sym.h> and <bp-asm.h>.
25994 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25995 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25997 (__mpn_lshift): Don't use BP_SYM.
25998 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25999 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26001 (memset): Don't use BP_SYM.
26002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26004 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26006 (__mpn_mul_1): Don't use BP_SYM.
26007 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26008 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26009 <bp-sym.h> and <bp-asm.h>.
26010 (memcmp): Don't use BP_SYM.
26011 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26012 <bp-sym.h> and <bp-asm.h>.
26013 (memcpy): Don't use BP_SYM.
26014 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26015 <bp-sym.h> and <bp-asm.h>.
26016 (memset): Don't use BP_SYM.
26017 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26018 <bp-sym.h> and <bp-asm.h>.
26019 (strncmp): Don't use BP_SYM.
26020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26021 <bp-sym.h> and <bp-asm.h>.
26022 (memcpy): Don't use BP_SYM.
26023 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26024 <bp-sym.h> and <bp-asm.h>.
26025 (memset): Don't use BP_SYM.
26026 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26027 <bp-sym.h> and <bp-asm.h>.
26028 (__memchr): Don't use BP_SYM.
26029 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26030 <bp-sym.h> and <bp-asm.h>.
26031 (memcmp): Don't use BP_SYM.
26032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26033 <bp-sym.h> and <bp-asm.h>.
26034 (memcpy): Don't use BP_SYM.
26035 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26036 <bp-sym.h> and <bp-asm.h>.
26037 (__mempcpy): Don't use BP_SYM.
26038 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26039 <bp-sym.h> and <bp-asm.h>.
26040 (__memrchr): Don't use BP_SYM.
26041 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26042 <bp-sym.h> and <bp-asm.h>.
26043 (memset): Don't use BP_SYM.
26044 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26045 <bp-sym.h> and <bp-asm.h>.
26046 (__rawmemchr): Don't use BP_SYM.
26047 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26048 <bp-sym.h> and <bp-asm.h>.
26049 (__STRCMP): Don't use BP_SYM.
26050 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26051 <bp-sym.h> and <bp-asm.h>.
26052 (strchr): Don't use BP_SYM.
26053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26054 <bp-sym.h> and <bp-asm.h>.
26055 (__strchrnul): Don't use BP_SYM.
26056 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26057 <bp-sym.h> and <bp-asm.h>.
26058 (strlen): Don't use BP_SYM.
26059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26060 <bp-sym.h> and <bp-asm.h>.
26061 (strncmp): Don't use BP_SYM.
26062 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26063 <bp-sym.h> and <bp-asm.h>.
26064 (__strnlen): Don't use BP_SYM.
26065 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26067 (__mpn_rshift): Don't use BP_SYM.
26068 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26069 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26070 <bp-sym.h> and <bp-asm.h>.
26071 (__sigsetjmp): Don't use BP_SYM.
26072 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26073 (L(start_addresses)): Don't use BP_SYM.
26074 (_start): Likewise.
26075 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26077 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26078 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26079 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26080 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26082 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26083 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26084 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26085 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26087 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26089 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26090 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26092 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26094 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26095 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26096 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26098 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26100 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26102 (strncmp): Don't use BP_SYM,
26103 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26105 (__mpn_sub_n): Don't use BP_SYM.
26106 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26107 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26109 (__mpn_submul_1): Don't use BP_SYM.
26110 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26112 <bp-sym.h> and <bp-asm.h>.
26113 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26115 <bp-sym.h> and <bp-asm.h>.
26116 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26119 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26122 Use ZK to minimize writes to Z.
26123 (sub_magnitudes): Simplify code a bit.
26124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26125 Use ZK to minimize writes to Z.
26126 (sub_magnitudes): Simplify code a bit.
26128 2013-02-27 Roland McGrath <roland@hack.frob.com>
26130 * csu/gmon-start.c: Add special exception to license text.
26132 2013-02-27 Richard Henderson <rth@redhat.com>
26134 * scripts/config.guess: Update from config.git.
26135 * scripts/config.sub: Likewise.
26137 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26139 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26141 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26143 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26145 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26147 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26149 2013-02-26 Roland McGrath <roland@hack.frob.com>
26151 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26152 [$(build-shared = yes].
26154 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26156 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26157 (__mul): Reduce iterations for calculating mantissa.
26159 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26161 (__mpranred): Likewise.
26164 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26165 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26167 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26169 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26170 Define __attribute__.
26172 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26174 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26176 * posix/regex_internal.h (__attribute): Remove.
26177 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26178 (re_string_context_at): Likewise.
26179 (bitset_not): Use __attribute__ and mark function as possibly
26181 (bitset_merge): Likewise.
26182 (bitset_mask): Likewise.
26183 (re_string_char_size_at): Likewise.
26184 (re_string_wchar_at): Likewise.
26185 (re_string_elem_size_at): Likewise.
26187 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26189 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26193 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26197 (denorm): Likewise.
26198 (__dbl_mp): Likewise.
26199 (add_magnitudes): Likewise.
26200 (sub_magnitudes): Likewise.
26204 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26207 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26210 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26214 up changes with default code.
26215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26218 2013-02-24 Allan McRae <allan@archlinux.org>
26220 * manual/socket.texi (The Internet Namespace): Order menu items
26221 to match that in the file.
26223 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26224 node listing of the info page menu.
26226 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26229 * sysdeps/i386/bp-asm.h: Remove file.
26230 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26231 (PARMS): Do not use macros from bp-asm.h.
26235 (__mpn_add_n): Do not use BP_SYM
26236 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26238 (PARMS): Do not use macros from bp-asm.h.
26241 (__mpn_addmul_1): Do not use BP_SYM
26242 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26244 (PARMS): Do not use macros from bp-asm.h.
26245 (SIGMSK): Likewise.
26246 (_setjmp): Likewise. Do not use BP_SYM.
26247 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26249 (PARMS): Do not use macros from bp-asm.h.
26250 (SIGMSK): Likewise.
26251 (setjmp): Likewise. Do not use BP_SYM.
26252 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26254 (PARMS): Do not use macros from bp-asm.h.
26255 (__frexp): Do not use BP_SYM.
26257 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26259 (PARMS): Do not use macros from bp-asm.h.
26260 (__frexpf): Do not use BP_SYM.
26261 (frexpf): Likewise.
26262 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26264 (PARMS): Do not use macros from bp-asm.h.
26265 (__frexpl): Do not use BP_SYM.
26266 (frexpl): Likewise.
26267 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26269 (PARMS): Do not use macros from bp-asm.h.
26270 (__remquo): Do not use BP_SYM.
26271 (remquo): Likewise.
26272 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26274 (PARMS): Do not use macros from bp-asm.h.
26275 (__remquof): Do not use BP_SYM.
26276 (remquof): Likewise.
26277 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26279 (PARMS): Do not use macros from bp-asm.h.
26280 (__remquol): Do not use BP_SYM.
26281 (remquol): Likewise.
26282 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26284 (PARMS): Do not use macros from bp-asm.h.
26287 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26288 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26290 (PARMS): Do not use macros from bp-asm.h.
26291 (strlen): Do not use BP_SYM.
26292 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26294 (PARMS): Do not use macros from bp-asm.h.
26298 (__mpn_add_n): Do not use BP_SYM.
26299 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26301 (PARMS): Do not use macros from bp-asm.h.
26304 (__mpn_addmul_1): Do not use BP_SYM.
26305 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26308 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26310 (PARMS): Do not use macros from bp-asm.h.
26313 (__mpn_lshift): Do not use BP_SYM.
26314 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26316 (PARMS): Do not use macros from bp-asm.h.
26320 (memcpy): Likewise. Do not use BP_SYM.
26321 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26322 libc_hidden_def and weak_alias.
26323 (mempcpy): Do not use BP_SYM in weak_alias.
26324 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26326 (PARMS): Do not use macros from bp-asm.h.
26329 [!BZERO_P] (CHR): Likewise.
26330 (memset): Likewise. Do not use BP_SYM.
26331 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26333 (PARMS): Do not use macros from bp-asm.h.
26336 (__mpn_mul_1): Do not use BP_SYM.
26337 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26339 (PARMS): Do not use macros from bp-asm.h.
26342 (__mpn_rshift): Do not use BP_SYM.
26343 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26345 (PARMS): Do not use macros from bp-asm.h.
26348 (strchr): Likewise. Do not use BP_SYM.
26349 (index): Do not use BP_SYM in weak_alias.
26350 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26352 (PARMS): Do not use macros from bp-asm.h.
26355 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26356 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26358 (PARMS): Do not use macros from bp-asm.h.
26359 (strlen): Do not use BP_SYM.
26360 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26362 (PARMS): Do not use macros from bp-asm.h.
26366 (__mpn_sub_n): Do not use BP_SYM.
26367 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26369 (PARMS): Do not use macros from bp-asm.h.
26372 (__mpn_submul_1): Do not use BP_SYM.
26373 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26375 (PARMS): Do not use macros from bp-asm.h.
26379 (__mpn_add_n): Do not use BP_SYM.
26380 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26383 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26385 (PARMS): Do not use macros from bp-asm.h.
26388 (memcmp): Do not use BP_SYM.
26389 (bcmp): Do not use BP_SYM in weak_alias.
26390 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26392 (PARMS): Do not use macros from bp-asm.h.
26396 (memcpy): Likewise. Do not use BP_SYM.
26397 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26399 (PARMS): Do not use macros from bp-asm.h.
26403 (memmove): Likewise. Do not use BP_SYM.
26404 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26406 (PARMS): Do not use macros from bp-asm.h.
26410 (__mempcpy): Likewise. Do not use BP_SYM.
26411 (mempcpy): Do not use BP_SYM in weak_alias.
26412 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26414 (PARMS): Do not use macros from bp-asm.h.
26417 [!BZERO_P] (CHR): Likewise.
26418 (memset): Likewise. Do not use BP_SYM.
26419 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26421 (PARMS): Do not use macros from bp-asm.h.
26423 (strcmp): Do not use BP_SYM.
26424 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26426 (PARMS): Do not use macros from bp-asm.h.
26429 [USE_AS_STRTOK_R] (SAVE): Likewise.
26430 (FUNCTION): Likewise. Do not use BP_SYM.
26431 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26433 (strtok_r): Likewise.
26434 (__GI___strtok_r): Likewise.
26435 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26436 (PARMS): Do not use macros from bp-asm.h.
26439 (__mpn_lshift): Do not use BP_SYM.
26440 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26441 (PARMS): Do not use macros from bp-asm.h.
26444 (__memchr): Do not use BP_SYM.
26445 (memchr): Do not use BP_SYM in weak_alias.
26446 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26447 (PARMS): Do not use macros from bp-asm.h.
26450 (memcmp): Do not use BP_SYM.
26451 (bcmp): Do not use BP_SYM in weak_alias.
26452 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26453 (PARMS): Do not use macros from bp-asm.h.
26456 (__mpn_mul_1): Do not use BP_SYM.
26457 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26459 (PARMS): Do not use macros from bp-asm.h.
26462 (__rawmemchr): Do not use BP_SYM.
26463 (rawmemchr): Do not use BP_SYM in weak_alias.
26464 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26465 (PARMS): Do not use macros from bp-asm.h.
26468 (__mpn_rshift): Do not use BP_SYM.
26469 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26470 (PARMS): Do not use macros from bp-asm.h.
26471 (SIGMSK): Likewise.
26472 (__sigsetjmp): Likewise. Do not use BP_SYM.
26473 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26474 (_start): Do not use BP_SYM.
26475 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26476 (PARMS): Do not use macros from bp-asm.h.
26479 (__stpcpy): Likewise. Do not use BP_SYM.
26480 (stpcpy): Do not use BP_SYM in weak_alias.
26481 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26483 (PARMS): Do not use macros from bp-asm.h.
26487 (__stpncpy): Likewise. Do not use BP_SYM.
26488 (stpncpy): Do not use BP_SYM in weak_alias.
26489 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26490 (PARMS): Do not use macros from bp-asm.h.
26493 (strchr): Likewise. Do not use BP_SYM.
26494 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26496 (PARMS): Do not use macros from bp-asm.h.
26499 (__strchrnul): Likewise. Do not use BP_SYM.
26500 (strchrnul): Do not use BP_SYM in weak_alias.
26501 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26503 (PARMS): Do not use macros from bp-asm.h.
26505 (strcspn): Do not use BP_SYM.
26506 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26508 (PARMS): Do not use macros from bp-asm.h.
26511 (strpbrk): Likewise. Do not use BP_SYM.
26512 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26514 (PARMS): Do not use macros from bp-asm.h.
26517 (strrchr): Likewise. Do not use BP_SYM.
26518 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26519 (PARMS): Do not use macros from bp-asm.h.
26521 (strspn): Do not use BP_SYM.
26522 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26523 (PARMS): Do not use macros from bp-asm.h.
26527 (FUNCTION): Likewise. Do not use BP_SYM.
26528 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26530 (strtok_r): Likewise.
26531 (__GI___strtok_r): Likewise.
26532 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26533 (PARMS): Do not use macros from bp-asm.h.
26537 (__mpn_sub_n): Do not use BP_SYM.
26538 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26540 (PARMS): Do not use macros from bp-asm.h.
26543 (__mpn_submul_1): Do not use BP_SYM.
26544 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26546 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26548 (PARMS): Do not use macros from bp-asm.h.
26553 (__clone): Do not use BP_SYM.
26554 (clone): Do not use BP_SYM in weak_alias.
26555 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26557 (PARMS): Do not use macros from bp-asm.h.
26559 (__mmap64): Do not use BP_SYM.
26560 (mmap64): Do not use BP_SYM in weak_alias.
26561 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26562 <bp-sym.h> and <bp-asm.h>.
26563 (PARMS): Do not use macros from bp-asm.h.
26564 (__posix_fadvise64_l64): Do not use BP_SYM.
26565 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26566 (PARMS): Do not use macros from bp-asm.h.
26568 (semtimedop): Do not use BP_SYM.
26569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26572 2013-02-21 Allan McRae <allan@archlinux.org>
26574 * manual/message.texi (Charset conversion in gettext):
26575 Move @end statement to beginning of line.
26577 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26584 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26585 (denorm): Likewise.
26586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26589 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26591 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26592 tail-call to the resolved function if pltexit isn't needed.
26594 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26597 or Y being zero as being unlikely.
26598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26601 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26603 * manual/nss.texi (System Databases and Name Service Switch):
26604 Remove frobnicate @pxref.
26606 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26608 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26609 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26611 2013-02-20 Petr Machata <pmachata@redhat.com>
26613 * elf/elf.h (R_ARM_TARGET1): New macro.
26614 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26615 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26616 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26617 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26618 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26619 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26620 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26621 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26622 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26623 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26624 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26625 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26626 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26627 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26628 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26629 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26630 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26631 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26632 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26633 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26634 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26635 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26636 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26637 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26638 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26639 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26640 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26641 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26642 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26643 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26644 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26645 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26646 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26647 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26648 (R_ARM_THM_GOT_BREL12): Likewise.
26649 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26650 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26651 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26652 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26653 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26654 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26655 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26656 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26657 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26659 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26661 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26662 __attribute_used__ to __attribute__ ((unused)).
26664 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26666 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26669 comment formatting.
26670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26672 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26675 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26677 (ENTER): Remove both macro definitions.
26679 (CHECK_BOUNDS_LOW): Likewise.
26680 (CHECK_BOUNDS_HIGH): Likewise.
26681 (CHECK_BOUNDS_BOTH): Likewise.
26682 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26683 (RETURN_BOUNDED_POINTER): Likewise.
26684 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26685 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26686 (POP_ERRNO_LOCATION_RETURN): Likewise.
26687 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26688 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26689 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26691 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26692 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26693 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26694 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26695 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26696 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26697 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26698 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26699 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26700 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26701 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26702 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26703 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26704 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26706 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26707 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26709 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26710 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26711 * sysdeps/i386/i586/memset.S (memset): Likewise.
26712 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26713 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26714 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26716 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26717 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26718 Change uses of L(2) to L(out).
26719 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26720 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26721 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26722 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26723 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26725 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26726 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26728 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26729 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26730 (RETURN): Do not use macro LEAVE.
26731 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26732 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26733 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26734 * sysdeps/i386/i686/memset.S (memset): Likewise.
26735 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26736 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26737 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26738 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26740 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26741 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26742 L(1_2) and L(1_3) into L(1).
26743 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26744 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26745 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26746 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26747 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26748 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26749 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26750 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26751 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26753 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26754 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26755 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26756 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26757 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26758 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26759 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26760 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26761 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26762 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26763 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26764 * sysdeps/i386/strspn.S (strspn): Likewise.
26765 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26767 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26768 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26769 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26770 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26771 L(1_3) into L(1_1).
26772 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26773 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26774 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26776 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26778 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26780 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26783 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26785 * math/atest-exp.c (exp_mpn): Remove ROUND.
26786 * math/atest-exp2.c (exp_mpn): Likewise.
26787 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26789 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26790 * stdlib/tst-tls-atexit-lib.c: Likewise.
26791 * stdlib/tst-tls-atexit.c: Likewise.
26793 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26795 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26796 and __attribute_alloc_size__.
26798 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26800 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26801 __attribute_alloc_size__.
26802 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26803 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26805 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26807 * include/programs/xmalloc.h: New file.
26808 * catgets/gencat.c: Include it.
26809 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26810 * elf/pldd.c: Likewise.
26811 * iconv/iconv_charmap.c: Likewise.
26812 * iconv/iconvconfig.c: Likewise.
26813 * iconv/strtab.c: Likewise.
26814 * locale/programs/locale.c: Likewise.
26815 * locale/programs/localedef.h: Likewise.
26816 * locale/programs/simple-hash.c: Likewise.
26817 * nscd/nscd.h: Likewise.
26818 * nss/makedb.c: Likewise.
26819 * sysdeps/generic/ldconfig.h: Likewise.
26821 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26823 * Versions.def: Add GLIBC_2.18.
26824 * include/link.h (struct link_map): New member l_tls_dtor_count.
26825 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26826 (__call_tls_dtors): Likewise.
26827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26828 __cxa_thread_atexit_impl.
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26845 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26846 (tests): Add test case tst-tls-atexit.
26847 (modules-names): Add shared library for tst-tls-atexit.
26848 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26849 (GLIBC_PRIVATE): Add __call_tls_dtors.
26850 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26852 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26853 * stdlib/tst-tls-atexit.c: New test case.
26854 * stdlib/tst-tls-atexit-lib.c: New test case.
26856 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26858 * elf/Versions (ld): Add _dl_find_dso_for_object.
26859 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26860 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26861 (dl_open_worker): Use _dl_find_dso_for_object.
26862 * elf/dl-sym.c (do_sym): Likewise.
26863 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26865 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26867 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26868 Syntactic changes only.
26869 (_dl_runtime_profile): Do a tail-call to the resolved function.
26871 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26874 * sysdeps/x86_64/bp-asm.h: Remove file.
26875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26876 <bp-sym.h> and <bp-asm.h>.
26877 (__clone): Do not use BP_SYM.
26878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26879 <bp-sym.h> and <bp-asm.h>.
26880 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26881 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26883 (_setjmp): Do not use BP_SYM.
26884 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26886 (setjmp): Do not use BP_SYM.
26887 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26889 (mempcpy): Do not use BP_SYM in weak_alias.
26890 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26892 (strchr): Do not use BP_SYM.
26893 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26895 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26896 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26897 (_start): Do not use BP_SYM.
26898 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26900 (strcat): Do not use BP_SYM.
26901 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26903 (STRCMP): Do not use BP_SYM.
26904 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26906 (STRCPY): Do not use BP_SYM.
26907 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26909 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26911 (FUNCTION): Do not use BP_SYM.
26912 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26914 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26916 2013-02-17 Andreas Jaeger <aj@suse.de>
26918 * time/Versions: Sort entries.
26919 * string/Versions: Likewise.
26920 * resolv/Versions: Likewise.
26921 * posix/Versions: Likewise.
26922 * iconv/Versions: Likewise.
26923 * elf/Versions: Likewise.
26924 * wcsmbs/Versions: Likewise.
26926 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26929 loop termination condition.
26931 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26932 variable to calculate EZ.
26935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26936 the lower precision input.
26938 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26941 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26942 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26943 (run-via-rtld-prefix): Do not handle %-bp tests.
26944 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26945 (all-object-suffixes): Remove .ob.
26946 (bppfx): Remove variable.
26947 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26948 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26949 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26950 [$(build-bounded) = yes] (libtype.ob): Likewise.
26951 * Makerules (elide-routines.ob): Remove variable.
26952 (do-tests-clean): Do not handle *-bp.out.
26953 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26954 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26955 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26956 (tests): Do not include $(tests-bp.out).
26957 (xtests): Do not include $(xtests-bp.out).
26958 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26959 [$(build-bounded) = yes] ($(addprefix
26960 $(objpfx),$(binaries-bounded))): Remove rule.
26961 ($(objpfx)%-bp.out): Remove rule.
26962 * config.make.in (build-bounded): Remove variable.
26963 * crypt/Makefile [$(build-bounded) = yes]
26964 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26965 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26966 append to variable.
26967 [$(build-bounded) = yes] (install-lib): Likewise.
26968 [$(build-bounded) = yes] (generated): Likewise.
26969 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26971 * intl/Makefile [$(build-bounded) = yes]
26972 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26973 * math/Makefile [$(build-bounded) = yes]
26974 ($(tests:%=$(objpfx)%-bp): Likewise.
26975 * misc/Makefile [$(build-bounded) = yes]
26976 ($(objpfx)tst-tsearch-bp): Likewise.
26977 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26978 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26980 * string/Makefile (o-objects.ob): Remove variable.
26981 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26982 (CFLAGS-.ob): Remove variable.
26983 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26984 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26985 both definitions of variable.
26986 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26987 (ASFLAGS-.ob): Remove variable.
26989 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26992 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26993 Remove __BOUNDED_POINTERS__ from condition.
26994 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26995 * string/bits/string2.h [!__NO_STRING_INLINES &&
26996 !__BOUNDED_POINTERS__]: Likewise.
26997 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26999 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27000 Remove conditional code.
27001 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27002 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27003 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27007 * csu/libc-start.c: Do not include <bp-sym.h>.
27008 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27009 * elf/dl-open.c: Do not include <bp-sym.h>.
27010 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27011 * math/fegetenv.c: Do not include <bp-sym.h>.
27012 (fegetenv): Do not use BP_SYM in versioned symbols.
27013 * nptl/sysdeps/pthread/bits/libc-lockP.h
27014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27017 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27019 (__pthread_mutex_destroy): Likewise.
27020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27021 (__pthread_mutex_lock): Likewise.
27022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27023 (__pthread_mutex_trylock): Likewise.
27024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27025 (__pthread_mutex_unlock): Likewise.
27026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27027 (__pthread_mutexattr_init): Likewise.
27028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27029 (__pthread_mutexattr_destroy): Likewise.
27030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27031 (__pthread_mutexattr_settype): Likewise.
27032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27033 (__pthread_rwlock_init): Likewise.
27034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27035 (__pthread_rwlock_destroy): Likewise.
27036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27037 (__pthread_rwlock_rdlock): Likewise.
27038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27039 (__pthread_rwlock_tryrdlock): Likewise.
27040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27041 (__pthread_rwlock_wrlock): Likewise.
27042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27043 (__pthread_rwlock_trywrlock): Likewise.
27044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27045 (__pthread_rwlock_unlock): Likewise.
27046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27047 (__pthread_key_create): Likewise.
27048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27049 (__pthread_setspecific): Likewise.
27050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27051 (__pthread_getspecific): Likewise.
27052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27055 (_pthread_cleanup_push_defer): Likewise.
27056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27057 (_pthread_cleanup_pop_restore): Likewise.
27058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27059 (pthread_setcancelstate): Likewise.
27060 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27062 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27063 (memchr): Do not use BP_SYM in weak_alias.
27064 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27065 (fegetenv): Do not use BP_SYM in versioned symbols.
27066 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27067 (fesetenv): Do not use BP_SYM in versioned symbols.
27068 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27069 (feupdateenv): Do not use BP_SYM in versioned symbols.
27070 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27071 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27072 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27073 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27074 (open64): Do not use BP_SYM in weak_alias.
27075 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27076 (fegetenv): Do not use BP_SYM in versioned symbols.
27077 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27078 (fesetenv): Do not use BP_SYM in versioned symbols.
27079 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27080 (feupdateenv): Do not use BP_SYM in versioned symbols.
27081 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27082 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27083 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27084 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27085 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27086 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27087 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27089 (__libc_start_main): Do not use BP_SYM.
27091 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27094 redundant return line.
27096 (denorm): Likewise.
27097 (dbl_mp): Likewise.
27098 (sub_magnitudes): Likewise.
27104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27106 (denorm): Likewise.
27107 (dbl_mp): Likewise.
27108 (sub_magnitudes): Likewise.
27115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27118 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27121 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27122 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27124 of __mul for squares.
27125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27129 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27132 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27135 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27137 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27138 prototype or function definition. Rename ubp_* variables and
27139 parameters. Remove argv definitions conditional on
27140 [__BOUNDED_POINTERS__].
27141 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27142 * elf/dl-runtime.c (_dl_fixup): Likewise.
27143 * include/set-hooks.h (RUN_HOOK): Likewise.
27144 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27146 * string/strcpy.c (strcpy): Do not use __unbounded.
27147 * sysdeps/generic/frame.h (struct layout): Likewise.
27148 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27149 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27150 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27151 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27152 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27153 (__backtrace): Likewise.
27154 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27156 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27157 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27158 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27160 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27161 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27162 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27163 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27164 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27165 Do not use __unbounded.
27166 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27167 Rename __unboundedrlimits parameter to rlimits in prototype.
27168 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27169 Do not use __unbounded.
27170 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27171 not use __ptrvalue.
27172 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27173 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27174 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27176 __ptrvalue or __unbounded.
27177 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27178 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27180 (__new_msgctl): Do not use __ptrvalue.
27181 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27183 (__libc_msgrcv): Do not use __ptrvalue.
27184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27185 startup_info): Do not use __unbounded.
27186 (__libc_start_main): Likewise. Rename ubp_* variables and
27187 parameters. Remove argv definitions conditional on
27188 [__BOUNDED_POINTERS__].
27189 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27191 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27193 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27195 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27197 (__new_shmctl): Do not use __ptrvalue.
27198 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27199 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27201 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27203 (__libc_sigaction): Likewise.
27204 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27207 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27209 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27211 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27213 * string/mempcpy.c: Implement by calling memcpy.
27215 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27223 values in the mantissa.
27225 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27226 minimize writes to Z.
27227 (sub_magnitudes): Simplify code a bit.
27229 2013-02-12 Roland McGrath <roland@hack.frob.com>
27231 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27232 from the message. The linker prefixes all warnings with that already.
27234 2013-02-12 Andreas Schwab <schwab@suse.de>
27237 * posix/regexec.c (extend_buffers): Add parameter min_len.
27238 (check_matching): Pass minimum needed length.
27239 (clean_state_log_if_needed): Likewise.
27240 (get_subexp): Likewise.
27241 * posix/Makefile (tests): Add bug-regex34.
27242 (bug-regex34-ENV): Define.
27243 * posix/bug-regex34.c: New file.
27246 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27247 elements compare against the byte sequence of it, not its name.
27248 * posix/Makefile (tests): Add bug-regex35.
27249 (bug-regex35-ENV): Define.
27250 * posix/bug-regex35.c: New file.
27252 2013-02-11 Tom de Vries <tom@codesourcery.com>
27254 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27256 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27257 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27258 (CHECK_EOL): Add undef.
27260 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27262 * bits/stdlib-bsearch.h: New file.
27263 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27264 * stdlib/stdlib.h: Likewise.
27266 2013-02-11 Roland McGrath <roland@hack.frob.com>
27268 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27269 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27271 * manual/search.texi (Array Search Function): Add missing const in
27273 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27274 declaration to use rlim_t.
27275 (Basic Scheduling Functions): Remove erroneous const from
27276 sched_getparam prototype. Remove erroneous * from
27277 sched_get_priority_max and sched_get_priority_min prototypes.
27278 (Resource Usage): Fix summary @comment on vtimes to refer to
27279 sys/vtimes.h rather than vtimes.h.
27280 Add missing *s in vtimes prototype.
27281 (Limits on Resources): Fix ulimit prototype to return long int.
27282 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27283 prototypes to use long int rather than double.
27284 (BSD Random): Fix initstate and setstate to use char *, not void *.
27285 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27286 prototype to make second argument 'struct aiocb64 *const[]'.
27287 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27288 (Status of AIO Operations): Remove erroneous const in aio_return and
27289 aio_return64 prototypes.
27290 (Synchronizing I/O): Fix sync prototype to return void.
27291 * manual/startup.texi (Suboptions): Remove an erroneous const in
27292 getsubopt prototype.
27293 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27294 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27295 use size_t rather than int.
27296 (Scanning All Users): Likewise for getpwent_r.
27297 (Setting Groups): Add missing const to setgroups prototype.
27298 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27299 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27300 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27301 'const void *' rather than 'const char *'.
27302 (Host Address Functions): Likewise for inet_ntop.
27303 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27304 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27305 ssize_t for return value.
27306 (Sending Data): Likewise for send, sendto, sendmsg.
27307 (Socket Option Functions): Add a missing const in setsockopt prototype.
27308 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27309 use wchar_t for the argument.
27310 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27311 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27313 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27314 double/float/long double for second argument.
27315 Fix return types of significand, significandf, significandl.
27316 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27317 argument in fchmod prototype.
27318 (File Owner): Use uid_t and gid_t in fchown prototype.
27319 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27320 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27321 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27322 use 'const struct dirent **' as argument types to CMP function pointer
27324 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27325 (File Times): Fix summary magic @comment for struct utimbuf and utime
27326 to refer to utime.h, not time.h.
27327 * manual/string.texi (Argz Functions): Add missing const in
27328 argz_extract and argz_next prototypes.
27329 (Finding Tokens in a String): Likewise for basename.
27330 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27331 (Copying and Concatenation): Fix typo in wmemmove prototype.
27332 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27333 (Signal Stack): Remove erroneous const in sigstack prototype.
27334 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27336 (Simple Calendar Time): Likewise for stime.
27337 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27339 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27340 say sys/sysctl.h instead.
27341 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27342 and vsyslog prototypes.
27344 2013-02-11 Tom de Vries <tom@codesourcery.com>
27346 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27349 2013-02-11 Roland McGrath <roland@hack.frob.com>
27351 * misc/sys/mman.h: Fix typo in mremap comment.
27353 2013-02-08 Roland McGrath <roland@hack.frob.com>
27355 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27356 the '\0' terminator.
27358 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27361 * debug/segfault.c: Don't include <bp-checks.h>.
27362 * sysdeps/generic/bp-checks.h: Remove file.
27363 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27364 (__GETDENTS): Don't use CHECK_N.
27365 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27366 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27367 (__getgroups): Don't use CHECK_N.
27368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27369 (setgroups): Don't use CHECK_N.
27370 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27371 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27372 (__libc_msgrcv): Don't use CHECK_N.
27373 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27374 (__libc_msgsnd): Don't use CHECK_N.
27375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27377 (__libc_pread): Don't use CHECK_N.
27378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27379 include <bp-checks.h>.
27380 (__libc_pread64): Don't use CHECK_N.
27381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27382 include <bp-checks.h>.
27383 (__libc_pwrite): Don't use CHECK_N.
27384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27385 include <bp-checks.h>.
27386 (__libc_pwrite64): Don't use CHECK_N.
27387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27389 (__libc_pread): Don't use CHECK_N.
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27391 include <bp-checks.h>.
27392 (__libc_pread64): Don't use CHECK_N.
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27394 include <bp-checks.h>.
27395 (__libc_pwrite): Don't use CHECK_N.
27396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27397 include <bp-checks.h>.
27398 (__libc_pwrite64): Don't use CHECK_N.
27399 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27400 (do_pread): Don't use CHECK_N.
27401 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27402 (do_pread64): Don't use CHECK_N.
27403 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27404 (do_pwrite): Don't use CHECK_N.
27405 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27406 (do_pwrite64): Don't use CHECK_N.
27407 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27408 (__libc_readv): Don't use CHECK_N.
27409 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27410 (semop): Don't use CHECK_N.
27411 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27413 (semtimedop): Don't use CHECK_N.
27414 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27415 (__libc_pread): Don't use CHECK_N.
27416 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27418 (__libc_pread64): Don't use CHECK_N.
27419 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27421 (__libc_pwrite): Don't use CHECK_N.
27422 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27424 (__libc_pwrite64): Don't use CHECK_N.
27425 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27427 (__libc_msgrcv): Don't use CHECK_N.
27428 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27429 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27430 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27431 (__libc_writev): Don't use CHECK_N.
27433 2013-02-08 Roland McGrath <roland@hack.frob.com>
27435 * string/strcpy.c: Removed unused variable.
27437 * Makeconfig (+sysdep-includes): Define with := rather than =.
27438 Use an existing include/ subdir of each sysdeps dir before it.
27440 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27442 * nscd/connection.c (register_traced_file): Comment function.
27443 [HAVE_INOTIFY] (union __inev): Define.
27444 [HAVE_INOTIFY] (inotify_check_files): New function.
27445 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27446 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27448 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27450 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27452 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27453 loaded if not already and that a failure is permanent.
27455 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27458 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27459 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27461 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27464 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27465 (CHECK_1_NULL_OK): Likewise.
27466 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27467 (__fxstat): Do not use CHECK_1.
27468 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27470 (___fxstat64): Do not use CHECK_1.
27471 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27473 (__fxstatat): Do not use CHECK_1.
27474 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27476 (__fxstatat64): Do not use CHECK_1.
27477 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27479 (__fxstat): Do not use CHECK_1.
27480 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27482 (__fxstatat): Do not use CHECK_1.
27483 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27485 (__getresgid): Do not use CHECK_1.
27486 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27488 (__getresuid): Do not use CHECK_1.
27489 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27491 (__lxstat): Do not use CHECK_1.
27492 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27494 (__old_msgctl): Do not use CHECK_1.
27495 (__new_msgctl): Likewise.
27496 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27498 (__new_setrlimit): Do not use CHECK_1.
27499 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27501 (__old_shmctl): Do not use CHECK_1.
27502 (__new_shmctl): Likewise.
27503 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27505 (__xstat): Do not use CHECK_1.
27506 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27507 (__lxstat): Do not use CHECK_1.
27508 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27510 (___lxstat64): Do not use CHECK_1.
27511 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27512 (__old_msgctl): Do not use CHECK_1.
27513 (__new_msgctl): Likewise.
27514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27516 (__gettimeofday): Do not use CHECK_1.
27517 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27518 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27519 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27521 (__gettimeofday): Do not use CHECK_1.
27522 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27523 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27524 (__new_shmctl): Do not use CHECK_1.
27525 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27527 (do_sigtimedwait): Do not use CHECK_1.
27528 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27530 (do_sigwaitinfo): Do not use CHECK_1.
27531 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27533 (msgctl): Do not use CHECK_1.
27534 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27536 (shmctl): Do not use CHECK_1.
27537 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27538 (ustat): Do not use CHECK_1.
27539 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27541 (__fxstat): Do not use CHECK_1.
27542 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27544 (__fxstatat): Do not use CHECK_1.
27545 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27547 (__lxstat): Do not use CHECK_1.
27548 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27550 (__xstat): Do not use CHECK_1.
27551 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27552 (__xstat): Do not use CHECK_1.
27553 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27554 (___xstat64): Do not use CHECK_1.
27557 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27559 (CHECK_BOUNDS_HIGH): Likewise.
27560 * string/strcpy.c: Do not include <bp-checks.h>.
27561 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27563 2013-02-07 Roland McGrath <roland@hack.frob.com>
27565 * nscd/nscd-client.h (__nscd_drop_map_ref):
27566 Add __attribute__ ((unused)).
27567 * nis/nss-nisplus.h (niserr2nss): Likewise.
27569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27570 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27572 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27573 Remove inline keyword.
27574 * include/rounding-mode.h (round_away): Likewise.
27575 * libio/wfileops.c (adjust_wide_data): Likewise.
27576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27577 (__m128i_strloadu_tolower): Likewise.
27578 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27579 (__m128i_strloadu_tolower): Likewise.
27580 * time/mktime.c (ydhms_diff): Likewise.
27581 * locale/elem-hash.h (elem_hash): Likewise.
27582 * locale/setlocale.c (setdata): Likewise.
27583 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27584 (re_string_wchar_at): Likewise.
27585 (bitset_not, bitset_merge, bitset_mask): Likewise.
27586 [!(__GNUC__ > 3)] (inline): Remove macro.
27587 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27588 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27589 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27590 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27591 * string/memcmp.c (memcmp_bytes): Likewise.
27592 * locale/programs/locarchive.c (compute_hashval): Likewise.
27593 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27594 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27595 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27596 * nss/getent.c (print_rpc, print_protocols): Likewise.
27597 (print_passwd, print_group, print_aliases): Likewise.
27598 * nis/nss-nisplus.h (niserr2nss): Likewise.
27599 * nscd/connections.c (restart_p): Likewise.
27600 Change return type to bool.
27602 2013-02-05 Roland McGrath <roland@hack.frob.com>
27604 * Makeconfig (all-Depend-files): Add existing
27605 $(sorted-subdirs:=/Depend) files.
27606 (all-subdirs): Remove nss.
27607 * sysdeps/unix/inet/Subdirs: Add it here instead.
27608 * hesiod/Depend: New file.
27610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27611 instead of calling alloca.
27613 * io/lseek.c (__lseek): Rename to __libc_lseek.
27614 Define __lseek as an alias.
27616 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27618 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27620 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27621 else clause and remove check for non-standard endianness.
27623 2013-02-04 David S. Miller <davem@davemloft.net>
27625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27627 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27630 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27631 (__ubp_memchr): Remove prototype.
27632 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27633 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27634 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27635 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27636 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27638 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27639 (__ubp_memchr): Likewise.
27640 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27641 (__ubp_memchr): Likewise.
27642 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27643 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27644 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27645 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27647 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27648 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27649 (__getcwd): Do not use CHECK_STRING.
27650 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27652 (__real_chown): Do not use CHECK_STRING.
27653 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27655 (fchownat): Do not use CHECK_STRING.
27656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27658 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27660 (__lchown): Do not use CHECK_STRING.
27661 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27662 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27663 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27664 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27666 include <bp-checks.h>.
27667 (truncate64): Do not use CHECK_STRING.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27670 (__real_chown): Do not use CHECK_STRING.
27671 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27673 (__lchown): Do not use CHECK_STRING.
27674 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27676 (__chown): Do not use CHECK_STRING.
27677 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27679 (truncate64): Do not use CHECK_STRING.
27680 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27682 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27683 (__xmknod): Do not use CHECK_STRING.
27684 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27686 (__xmknodat): Do not use CHECK_STRING.
27687 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27688 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27690 2013-02-04 Andreas Schwab <schwab@suse.de>
27693 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27694 * include/netdb.h: Likewise for h_errno.
27695 * elf/tst-stackguard1.c: Include <tls.h>.
27697 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27699 * elf/link.h (struct link_map): Extend the l_addr comment.
27700 * include/link.h (struct link_map): Likewise.
27702 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27705 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27706 (BOUNDED_1): Remove macro.
27707 * debug/backtrace.c: Don't include <bp-checks.h>.
27708 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27709 (__backtrace): Likewise.
27710 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27712 (__backtrace): Don't use BOUNDED_1.
27713 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27715 (__backtrace): Don't use BOUNDED_1.
27716 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27717 (__backtrace): Don't use BOUNDED_1.
27718 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27719 (shmat): Don't use BOUNDED_N.
27721 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27724 * sysdeps/generic/bp-start.h: Remove file.
27725 * csu/libc-start.c: Don't include <bp-start.h>.
27726 (LIBC_START_MAIN): Set up __environ directly instead of using
27727 INIT_ARGV_and_ENVIRON.
27728 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27732 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27734 (CHECK_FCNTL): Likewise.
27735 (CHECK_N_PAGES): Likewise.
27738 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27740 (CHECK_SIGSET_NULL_OK): Likewise.
27741 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27743 (sigpending): Don't use CHECK_SIGSET.
27744 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27746 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27747 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27749 (do_sigsuspend): Don't use CHECK_SIGSET.
27750 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27752 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27753 (do_sigwait): Don't use CHECK_SIGSET.
27754 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27757 include <bp-checks.h>.
27758 (sigpending): Don't use CHECK_SIGSET.
27759 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27760 include <bp-checks.h>.
27761 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27762 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27764 (sigpending): Don't use CHECK_SIGSET.
27765 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27770 * sysdeps/generic/bp-semctl.h: Remove file.
27771 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27772 <bp-checks.h> and <bp-semctl.h>.
27773 (__old_semctl): Don't use CHECK_SEMCTL.
27774 (__new_semctl): Likewise.
27775 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27777 (__old_semctl): Don't use CHECK_SEMCTL.
27778 (__new_semctl): Likewise.
27779 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27780 <bp-checks.h> and <bp-semctl.h>.
27781 (__old_semctl): Don't use CHECK_SEMCTL.
27782 (__new_semctl): Likewise.
27783 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27784 <bp-checks.h> and <bp-semctl.h>.
27785 (semctl): Don't use CHECK_SEMCTL.
27788 * Makerules (elide-bp-thunks): Remove variable.
27789 (elide-routines.oS): Don't use $(elide-bp-thunks).
27790 (elide-routines.os): Likewise.
27791 (elide-routines.o): Likewise.
27792 (elide-routines.op): Likewise.
27793 (elide-routines.og): Likewise.
27794 (objects): Don't use $(bp-thunks).
27795 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27797 (common-generated): Do not add s-proto-bp.d.
27798 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27801 Do not generate makefile rules for bounded-pointer thunks.
27802 * sysdeps/generic/bp-thunks.h: Remove file.
27803 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27804 * sysdeps/unix/s-proto-bp.S: Likewise.
27807 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27808 parts of result separately when argument is not close to line from
27809 -i to i and one part of argument is small.
27810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27812 * math/libm-test.inc (cacos_test): Add more tests.
27813 (casin_test): Likewise.
27814 (casinh_test): Likewise.
27815 * sysdeps/i386/fpu/libm-test-ulps: Update.
27816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27818 2013-01-31 David S. Miller <davem@davemloft.net>
27820 * po/de.po: Update from translation team.
27822 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27824 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27826 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27828 * configure.in (_AC_PROG_CC_C89): New definition.
27829 * configure: Regenerate.
27831 * configure.in (AC_PROG_CPP): New definition.
27832 * configure: Regenerate.
27834 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27836 * debug/tst-backtrace.h: New file.
27837 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27838 (ret): Remove variable.
27840 (FAIL): Remove macro.
27841 (NO_INLINE): Likewise.
27842 (fn1): Use match function instead of strstr.
27843 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27844 (ret): Remove variable.
27846 (FAIL): Remove macro.
27847 (NO_INLINE): Likewise.
27848 (fn): Use match function instead of strstr.
27849 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27850 (ret): Remove variable.
27852 (FAIL): Remove macro.
27853 (NO_INLINE): Likewise.
27854 (handle_signal): Use match function instead of strstr.
27855 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27856 (ret): Remove variable.
27858 (FAIL): Remove macro.
27859 (NO_INLINE): Likewise.
27860 (handle_signal): Use match function instead of strstr.
27862 2013-01-23 Roland McGrath <roland@hack.frob.com>
27864 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27866 2013-01-23 David S. Miller <davem@davemloft.net>
27868 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27869 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27870 argument of CAS if possible.
27871 * sysdeps/sparc/sparc64/bits/atomic.h
27872 (__arch_compare_and_exchange_val_32_acq): Likewise.
27873 (__arch_compare_and_exchange_val_64_acq): Likewise.
27875 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27877 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27878 * sysdeps/posix/ulimit.c: ... this.
27879 Include <limits.h>.
27880 * sysdeps/unix/bsd/ulimit.c: Remove file.
27882 2013-01-23 Adam Conrad <adconrad@0c3.net>
27884 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27885 (LDFLAGS-tst-array5): Likewise.
27887 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27890 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27891 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27892 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27893 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27895 2013-01-21 David S. Miller <davem@davemloft.net>
27897 * sysdeps/sparc/backtrace.c: New file.
27898 * sysdeps/sparc/sparc32/backtrace.h: New file.
27899 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27900 * sysdeps/sparc/sparc64/backtrace.h: New file.
27901 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27902 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27905 2013-01-21 Andreas Schwab <schwab@suse.de>
27908 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27911 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27917 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27918 Mark Mitchell <mark@codesourcery.com>
27919 Tom de Vries <tom@codesourcery.com>
27920 Paul Pluzhnikov <ppluzhnikov@google.com>
27922 * debug/tst-backtrace2.c: New file.
27923 * debug/tst-backtrace3.c: Likewise.
27924 * debug/tst-backtrace4.c: Likewise.
27925 * debug/tst-backtrace5.c: Likewise.
27926 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27927 (CFLAGS-tst-backtrace3.c): Likewise.
27928 (CFLAGS-tst-backtrace4.c): Likewise.
27929 (CFLAGS-tst-backtrace5.c): Likewise.
27930 (LDFLAGS-tst-backtrace2): Likewise.
27931 (LDFLAGS-tst-backtrace3): Likewise.
27932 (LDFLAGS-tst-backtrace4): Likewise.
27933 (LDFLAGS-tst-backtrace5): Likewise.
27934 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27935 tst-backtrace4 and tst-backtrace5.
27937 2013-01-18 Anton Blanchard <anton@samba.org>
27938 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27940 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27941 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27943 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27945 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27946 "+r" and remove output regs list as redundant. Add explicit inline
27947 asm to specify register of return val to work around compiler codegen
27948 bug. Remove (int) cast on return value. Add return type parameter to
27949 use in macro so that this macro does not truncate return value for
27951 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27952 pass to INTERNAL_VSYSCALL_NCS.
27953 (INLINE_VSYSCALL): Add 'long int' as return type to
27954 INTERNAL_VSYSCALL_NCS macro invocation.
27955 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27956 INTERNAL_VSYSCALL_NCS macro invocation.
27957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27959 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27962 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27963 Fix application of SIMD FP exception mask.
27965 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27966 mp_no from a power of two.
27967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27968 __mpexp_twomm1. Use __pow_mp.
27970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27973 2013-01-17 David S. Miller <davem@davemloft.net>
27975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27977 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27980 * include/complex.h: Condition contents on [!_COMPLEX_H].
27981 (__kernel_casinhf): New prototype.
27982 (__kernel_casinh): Likewise.
27983 (__kernel_casinhl): Likewise.
27984 * math/Makefile (libm_calls): Add k_casinh.
27985 * math/k_casinh.c: New file.
27986 * math/k_casinhf.c: Likewise.
27987 * math/k_casinhl.c: Likewise.
27988 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27989 finite nonzero arguments.
27990 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27991 finite nonzero arguments.
27992 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27993 finite nonzero arguments.
27994 * math/s_casinh.c: Do not include <float.h>.
27995 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27996 * math/s_casinhf.c: Do not include <float.h>.
27997 (__casinhf): Move code for finite nonzero arguments to
27999 * math/s_casinhl.c: Do not include <float.h>.
28000 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28002 (__casinhl): Move code for finite nonzero arguments to
28004 * math/libm-test.inc (cacos_test): Add more tests.
28005 * sysdeps/i386/fpu/libm-test-ulps: Update.
28006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28008 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28010 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28011 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28012 [!HAVE_MREMAP]: Remove [defined linux] case.
28013 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28015 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28017 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28019 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28021 * elf/elf.h (R_386_SIZE32): New relocation.
28022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28024 (elf_machine_rela): Likewise.
28025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28026 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28028 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28030 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28031 (FP_FAST_FMA): Do not define.
28032 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28033 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28034 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28035 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28036 !_SOFT_FLOAT]: Likewise.
28037 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28040 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28041 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28042 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28044 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28045 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28048 2013-01-16 Andreas Schwab <schwab@suse.de>
28051 * include/stdlib.h (__mktemp): Add declaration.
28052 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28053 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28055 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28057 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28059 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28060 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28061 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28063 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28064 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28068 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28069 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28072 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28073 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28075 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28077 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28079 2013-01-15 David S. Miller <davem@davemloft.net>
28081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28082 trunc{,f} to libm-sysdep_routes.
28083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28094 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28095 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28097 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28098 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28101 nearbyint{,f} to libm-sysdep_routes.
28102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28118 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28119 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28120 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28122 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28123 libc_feholdexcept and libc_fesetenv.
28125 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28127 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28129 2013-01-14 David S. Miller <davem@davemloft.net>
28131 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28132 (SPARC_ASM_VIS2_IFUNC): Likewise.
28133 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28135 use of 'siam' instruction.
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28169 routines to libm-sysdep_routines.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28173 fdim/fdimf to libm-sysdep_routines.
28174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28182 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28183 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28184 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28187 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28189 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28190 to optimize copies.
28192 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28197 local variable MPTWO.
28198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28201 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28203 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28206 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28208 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28210 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28212 * manual/pattern.texi (glob_t): Document gl_flags.
28213 (glob64_t): Likewise.
28215 2013-01-11 David S. Miller <davem@davemloft.net>
28217 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28218 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28219 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28220 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28221 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28222 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28223 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28224 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28225 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28226 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28227 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28228 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28229 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28231 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28232 sparc V9 rather than using V8 code.
28233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28238 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28241 2013-01-11 Roland McGrath <roland@hack.frob.com>
28243 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28244 not in the main loop.
28245 * configure: Regenerated.
28247 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28249 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28250 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28252 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28253 [!__GLIBC_HAVE_LONG_LONG] case.
28254 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28255 condition to just #else.
28256 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28257 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28258 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28259 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28261 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28262 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28263 #elif condition to just #else.
28264 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28265 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28266 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28267 #elif condition to just #else.
28269 2013-01-11 Steve Ellcey <sellcey@mips.com>
28271 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28272 (EF_MIPS_ARCH_64): Fix value.
28273 (EF_MIPS_ARCH_32R2): New.
28274 (EF_MIPS_ARCH_64R2): New.
28276 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28278 * Makeconfig (+link-pie-before-libc): New.
28279 (+link-pie-after-libc): Likewise.
28280 (+link-pie-tests): Likewise.
28281 (+link-pie): Rewritten.
28282 (link-before-libc): Remove $(config-LDFLAGS).
28283 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28284 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28285 (config-LDFLAGS): Renamed to ...
28286 (rtld-LDFLAGS): This.
28287 (rtld-tests-LDFLAGS): New macro.
28288 (link-libc-rpath-link): Likewise.
28289 (link-libc-tests-rpath-link): Likewise.
28290 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28291 (link-libc): Prepand $(link-libc-rpath-link).
28292 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28293 (test-program-prefix): New macro.
28294 (test-via-rtld-prefix): Likewise.
28295 (test-program-cmd): Likewise.
28296 (host-test-program-cmd): Likewise.
28297 * Makefile ($(common-objpfx)testrun.sh): Replace
28298 $(run-program-prefix) with $(test-program-prefix).
28299 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28301 ($(common-objpfx)shlib.lds): Likewise.
28302 (build-module-helper): Likewise.
28303 ($(common-objpfx)format.lds): Likewise.
28304 * Rules (binaries-pie-tests): New.
28305 (binaries-pie-notests): Likewise.
28306 (binaries-pie): Rewritten.
28307 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28308 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28309 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28310 (make-test-out): Replace $(host-built-program-cmd) with
28311 $(host-test-program-cmd).
28312 * config.make.in (build-hardcoded-path-in-tests): New variable.
28313 * configure.in (--enable-hardcoded-path-in-tests): New configure
28315 (hardcoded_path_in_tests): New AC_SUBST.
28316 * configure: Regenerated.
28317 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28318 $(built-program-cmd) with $(test-program-cmd).
28319 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28320 (test_program_cmd): This.
28321 * elf/Makefile ($(objpfx)order.out): Run test with
28322 $(test-program-prefix).
28323 ($(objpfx)order2.out): Likewise.
28324 ($(objpfx)tst-initorder.out): Likewise.
28325 ($(objpfx)tst-initorder2.out): Likewise.
28326 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28327 $(test-program-cmd).
28328 ($(objpfx)tst-array1-static.out): Likewise.
28329 ($(objpfx)tst-array2.out): Likewise.
28330 ($(objpfx)tst-array3.out): Likewise.
28331 ($(objpfx)tst-array4.out): Likewise.
28332 ($(objpfx)tst-array5.out): Likewise.
28333 ($(objpfx)tst-array5-static.out): Likewise.
28334 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28335 $(test-program-cmd).
28336 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28337 $(run-program-prefix) with $(test-program-prefix).
28338 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28339 (test_program_prefix): This.
28340 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28341 $(run-program-prefix) with $(test-program-prefix).
28342 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28343 (test_program_prefix): This.
28344 * iconvdata/tst-tables.sh: Likewise.
28345 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28346 $(run-program-prefix) with $(test-program-prefix).
28347 ($(objpfx)tst-translit.out): Likewise.
28348 ($(objpfx)tst-gettext2.out): Likewise.
28349 ($(objpfx)tst-gettext4.out): Likewise.
28350 ($(objpfx)tst-gettext6.out): Likewise.
28351 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28352 (test_program_prefix): This.
28353 * intl/tst-gettext2.sh: Likewise.
28354 * intl/tst-gettext4.sh Likewise.
28355 * intl/tst-gettext6.sh: Likewise.
28356 * intl/tst-translit.sh: Likewise.
28357 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28358 with $(test-program-cmd).
28359 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28360 $(run-program-prefix) with $(test-program-prefix).
28361 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28362 (test_program_prefix): This.
28363 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28364 $(run-program-prefix) with $(test-program-prefix).
28365 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28366 (test_program_prefix): This.
28367 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28368 * posix/Makefile ($(objpfx)globtest.out): Replace
28369 $(run-via-rtld-prefix) and $(test-wrapper) with
28370 $(test-program-prefix) and $(test-via-rtld-prefix).
28371 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28372 $(test-program-prefix).
28373 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28374 $(host-test-program-cmd).
28375 (tst-spawn-ARGS): Likewise.
28376 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28377 $(test-program-prefix).
28378 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28379 (test_via_rtld_prefix): This.
28380 (test_wrapper): Renamed to ...
28381 (test_program_prefix): This.
28382 (run_program_prefix): Replaced by test_program_prefix.
28383 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28384 (test_program_prefix): This.
28385 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28386 with $(host-test-program-cmd).
28387 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28388 $(run-program-prefix) with $(test-program-prefix).
28389 ($(objpfx)tst-printf.out): Likewise.
28390 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28391 $(test-program-cmd).
28392 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28393 (test_program_prefix): This.
28394 * stdio-common/tst-unbputc.sh: Likewise.
28395 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28396 $(run-program-prefix) with $(test-program-prefix).
28397 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28398 (test_program_prefix): This.
28399 * string/Makefile ($(objpfx)tst-svc.out): Replace
28400 $(built-program-cmd) with $(test-program-cmd).
28402 2013-01-11 Andreas Jaeger <aj@suse.de>
28405 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28406 value. Sync with Linux 3.7.
28408 2013-01-10 David S. Miller <davem@davemloft.net>
28410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28411 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28412 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28414 2013-01-10 Roland McGrath <roland@hack.frob.com>
28416 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28418 * configure: Regenerated.
28420 2013-01-10 David S. Miller <davem@davemloft.net>
28422 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28423 sparc V9 rather than using V8 code.
28424 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28425 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28427 2013-01-10 Roland McGrath <roland@hack.frob.com>
28429 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28430 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28431 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28432 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28433 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28434 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28435 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28436 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28437 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28438 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28439 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28440 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28441 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28442 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28443 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28444 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28445 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28446 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28447 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28448 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28449 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28450 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28451 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28452 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28453 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28454 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28455 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28457 2013-01-10 David S. Miller <davem@davemloft.net>
28459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28461 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28463 * posix/Makefile (tests-static): New variable.
28464 (tests): Add $(tests-static).
28465 (tst-exec-static-ARGS): New variable.
28466 (tst-spawn-static-ARGS): Likewise.
28467 * posix/tst-exec-static.c: New file.
28468 * posix/tst-spawn-static.c: Likewise.
28469 * posix/tst-exec.c: Support run directly.
28470 * posix/tst-spawn.c: Likewise.
28472 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28474 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28476 * math/bits/mathcalls.h (llrint): Likewise.
28477 (llround): Likewise.
28478 * stdlib/stdlib.h (struct drand48_data): Likewise.
28479 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28480 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28481 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28483 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28485 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28486 (elf_greg_t): Likewise.
28487 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28488 (__jmp_buf): Likewise.
28489 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28491 (llrint): Likewise, for all definitions.
28492 (llrintl): Likewise.
28494 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28495 Remove [__GNUC__] condition.
28496 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28497 condition to just [__USE_ISOC99].
28498 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28500 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28503 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28504 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28506 (_POSIX_V6_ILP32_OFF32): Likewise.
28507 (_XBS5_ILP32_OFF32): Likewise.
28508 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28509 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28511 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28513 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28516 doubles __mpexp_twomm1. Adjust usage.
28517 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28520 2013-01-10 Andreas Schwab <schwab@suse.de>
28523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28524 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28526 2013-01-09 David S. Miller <davem@davemloft.net>
28529 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28530 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28531 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28532 (TCP_FASTOPEN): Define.
28533 (tcp_repair_opt): New structure.
28534 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28536 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28537 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28538 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28539 (tcp_cookie_transactions): New structure.
28541 2013-01-09 Anton Blanchard <anton@samba.org>
28543 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28544 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28548 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28550 * include/features.h (__USE_ANSI): Remove.
28552 2013-01-09 Roland McGrath <roland@hack.frob.com>
28554 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28556 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28558 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28560 * sysdeps/s390/fpu/libm-test-ulps: Update.
28562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28564 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28568 (denorm): Likewise.
28569 (__mp_dbl): Likewise.
28570 (__dbl_mp): Likewise.
28571 (add_magnitudes): Likewise.
28572 (sub_magnitudes): Likewise.
28578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28582 (denorm): Likewise.
28583 (__mp_dbl): Likewise.
28584 (__dbl_mp): Likewise.
28585 (add_magnitudes): Likewise.
28586 (sub_magnitudes): Likewise.
28592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28596 (denorm): Likewise.
28597 (__mp_dbl): Likewise.
28598 (__dbl_mp): Likewise.
28599 (add_magnitudes): Likewise.
28600 (sub_magnitudes): Likewise.
28607 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28609 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28610 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28611 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28612 2 && __USE_EXTERN_INLINES]: Likewise.
28614 2013-01-08 Andreas Jaeger <aj@suse.de>
28617 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28619 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28620 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28622 2013-01-07 Anton Blanchard <anton@samba.org>
28624 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28625 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28626 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28627 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28628 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28629 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28630 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28631 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28633 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28636 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28641 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28642 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28645 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28647 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28648 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28649 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28650 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28651 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28653 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28654 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28657 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28658 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28659 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28660 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28662 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28666 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28668 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28670 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28671 (__MALLOC_PMT): Likewise.
28672 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28673 [__GNUC__], only on [_LIBC].
28674 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28675 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28676 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28677 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28678 forward declaration.
28679 (realloc_hook_ini): Likewise.
28680 (memalign_hook_ini): Likewise.
28681 (__libc_memalign): Do not use __MALLOC_PMT in variable
28683 (__libc_valloc): Likewise.
28684 (__libc_pvalloc): Likewise.
28685 (__libc_calloc): Likewise.
28686 (__posix_memalign): Likewise.
28689 * math/s_casinh.c: Include <float.h>.
28690 (__casinh): Do not do computation with squaring and square root
28691 for large arguments.
28692 * math/s_casinhf.c: Include <float.h>.
28693 (__casinhf): Do not do computation with squaring and square root
28694 for large arguments.
28695 * math/s_casinhl.c: Include <float.h>.
28696 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28697 (__casinhl): Do not do computation with squaring and square root
28698 for large arguments.
28699 * math/libm-test.inc (casin_test): Add more tests.
28700 (casinh_test): Likewise.
28701 * sysdeps/i386/fpu/libm-test-ulps: Update.
28702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28704 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28706 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28707 (__x86_64_raw_data_cache_size): Likewise.
28708 (__x86_64_data_cache_size_half): Likewise.
28709 (__x86_64_raw_data_cache_size_half): Likewise.
28710 (__x86_64_shared_cache_size): Likewise.
28711 (__x86_64_raw_shared_cache_size): Likewise.
28712 (__x86_64_shared_cache_size_half): Likewise.
28713 (__x86_64_raw_shared_cache_size_half): Likewise.
28714 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28716 (__x86_data_cache_size): This.
28717 (__x86_64_raw_data_cache_size): Renamed to ...
28718 (__x86_raw_data_cache_size): This.
28719 (__x86_64_data_cache_size_half): Renamed to ...
28720 (__x86_data_cache_size_half): This.
28721 (__x86_64_raw_data_cache_size_half): Renamed to ...
28722 (__x86_raw_data_cache_size_half): This.
28723 (__x86_64_shared_cache_size): Renamed to ...
28724 (__x86_shared_cache_size): This.
28725 (__x86_64_raw_shared_cache_size): Renamed to ...
28726 (__x86_raw_shared_cache_size): This.
28727 (__x86_64_shared_cache_size_half): Renamed to ...
28728 (__x86_shared_cache_size_half): This.
28729 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28730 (__x86_raw_shared_cache_size_half): This.
28731 * sysdeps/x86_64/memcpy.S: Updated.
28732 * sysdeps/x86_64/memset.S: Likewise.
28733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28737 2013-01-04 David S. Miller <davem@davemloft.net>
28739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28741 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28743 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28744 1 to avoid redefinition warning.
28745 (__USE_GNU): Don't define.
28746 (init_signaling_nan): Protoize.
28748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28750 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28752 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28754 (__cpymn): Likewise.
28755 (norm): Remove commented code.
28756 (denorm): Likewise.
28757 (__mp_dbl): Likewise.
28759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28760 (__cpymn): Likewise.
28761 (norm): Remove commented code.
28762 (denorm): Likewise.
28763 (__mp_dbl): Likewise.
28766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28767 mp_no value for 1.0 and 2.0.
28768 (norm): Use RADIXI instead of radixi.d.
28769 (denorm): Likewise.
28770 (__mul): Use 0.0 instead of zero.d.
28771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28772 mp_no value for 1.0 and 2.0.
28773 (norm): Use RADIXI instead of radixi.d.
28774 (denorm): Likewise.
28775 (__mul): Use 0.0 instead of zero.d.
28777 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28780 * math/s_casinh.c (__casinh): Reduce finite argument to first
28781 quadrant then set signs of results at the end.
28782 * math/s_casinhf.c (__casinhf): Likewise.
28783 * math/s_casinhl.c (__casinhl): Likewise.
28784 * math/libm-test.inc (casin_test): Add more tests.
28785 (casinh_test): Likewise.
28786 * sysdeps/i386/fpu/libm-test-ulps: Update.
28787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28789 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28791 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28793 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28795 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28797 (denorm): Likewise.
28798 (__mp_dbl): Likewise.
28801 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28802 and adjust the header comment.
28804 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28805 variable name from declaration.
28807 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28810 Initialize COMMON_CPUID_INDEX_7 element.
28811 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28812 (CPUID_RTM): Likewise.
28813 (HAS_RTM): Likewise.
28814 (COMMON_CPUID_INDEX_7): New enum.
28816 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28819 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28820 size is zero, record memory as freed.
28822 2013-01-03 Andreas Jaeger <aj@suse.de>
28824 * po/ia.po: Add new Interlingua translation.
28826 2012-01-03 Allan McRae <allan@archlinux.org>
28828 * locale/programs/localedef.c: Fix description of '--posix' flag.
28830 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28832 * NEWS: Update dates in second copyright notice.
28833 * README: Update copyright dates in example.
28834 * manual/libc.texinfo: Update copyright dates.
28835 * scripts/test-installation.pl: Update copyright date in --version
28838 * hurd/ctty-input.c: Fix copyright notice formatting.
28839 * hurd/ctty-output.c: Likewise.
28840 * hurd/dtable.c: Likewise.
28841 * hurd/hurd-raise.c: Likewise.
28842 * hurd/hurdprio.c: Likewise.
28843 * hurd/msgportdemux.c: Likewise.
28844 * misc/sys/file.h: Likewise.
28845 * misc/sys/ioctl.h: Likewise.
28846 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28847 * sysdeps/mach/hurd/chdir.c: Likewise.
28848 * sysdeps/mach/hurd/fchdir.c: Likewise.
28849 * sysdeps/mach/hurd/rename.c: Likewise.
28850 * sysdeps/mach/hurd/rmdir.c: Likewise.
28851 * sysdeps/mach/hurd/seekdir.c: Likewise.
28852 * sysdeps/mach/hurd/setsid.c: Likewise.
28853 * sysdeps/posix/wait3.c: Likewise.
28855 * All files with FSF copyright notices: Update copyright dates
28856 using scripts/update-copyrights.
28857 * intl/plural.c: Regenerated.
28858 * locale/programs/charmap-kw.h: Likewise.
28859 * locale/programs/locfile-kw.h: Likewise.
28861 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28866 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28867 calculation loop and add branch prediction.
28869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28870 check access beyond bounds of m1np.
28872 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28874 (__inv): Remove local variable MPTWO to use the global
28876 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28879 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28880 MP3HALFS static const.
28882 2013-01-01 David S. Miller <davem@davemloft.net>
28884 * po/ca.po: Update from translation team.
28886 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28888 * scripts/update-copyrights: New file.
28889 * Makeconfig: Reformat copyright notice.
28890 * ctype/ctype.h: Likewise.
28891 * debug/swprintf_chk.c: Likewise.
28892 * elf/dl-cache.c: Likewise.
28893 * elf/dl-debug.c: Likewise.
28894 * elf/dl-object.c: Likewise.
28895 * grp/initgroups.c: Likewise.
28896 * hurd/Makefile: Likewise.
28897 * hurd/hurd/signal.h: Likewise.
28898 * hurd/hurdfault.c: Likewise.
28899 * hurd/hurdioctl.c: Likewise.
28900 * hurd/hurdlookup.c: Likewise.
28901 * hurd/intr-msg.c: Likewise.
28902 * iconv/gconv_open.c: Likewise.
28903 * libio/swprintf.c: Likewise.
28904 * locale/lc-ctype.c: Likewise.
28905 * locale/nl_langinfo.c: Likewise.
28906 * mach/Machrules: Likewise.
28907 * mach/Makefile: Likewise.
28908 * malloc/obstack.h: Likewise.
28909 * manual/Makefile: Likewise.
28910 * manual/tsort.awk: Likewise.
28911 * misc/bits/stab.def: Likewise.
28912 * nis/nis_print_group_entry.c: Likewise.
28913 * nis/nis_table.c: Likewise.
28914 * nis/nss_compat/compat-pwd.c: Likewise.
28915 * nis/nss_compat/compat-spwd.c: Likewise.
28916 * po/Makefile: Likewise.
28917 * posix/fnmatch.c: Likewise.
28918 * posix/regex.h: Likewise.
28919 * resolv/Makefile: Likewise.
28920 * resolv/nss_dns/dns-network.c: Likewise.
28921 * resolv/res_hconf.c: Likewise.
28922 * scripts/gen-sorted.awk: Likewise.
28923 * soft-fp/soft-fp.h: Likewise.
28924 * stdio-common/printf.h: Likewise.
28925 * stdlib/monetary.h: Likewise.
28926 * stdlib/random.c: Likewise.
28927 * stdlib/random_r.c: Likewise.
28928 * sysdeps/generic/Makefile: Likewise.
28929 * sysdeps/gnu/Makefile: Likewise.
28930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28937 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28944 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28946 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28958 * sysdeps/mach/hurd/errnos.awk: Likewise.
28959 * sysdeps/mach/hurd/fork.c: Likewise.
28960 * sysdeps/mach/hurd/getcwd.c: Likewise.
28961 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28962 * sysdeps/mach/hurd/mmap.c: Likewise.
28963 * sysdeps/mach/hurd/utimes.c: Likewise.
28964 * sysdeps/mach/hurd/xmknod.c: Likewise.
28965 * sysdeps/posix/profil.c: Likewise.
28966 * sysdeps/posix/readdir_r.c: Likewise.
28967 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28968 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28969 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28970 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28976 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28977 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28978 * sysdeps/pthread/lio_listio.c: Likewise.
28979 * sysdeps/sparc/dl-procinfo.h: Likewise.
28980 * sysdeps/unix/i386/sysdep.S: Likewise.
28981 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28982 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28983 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28984 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28986 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28987 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28988 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28989 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28990 * sysdeps/wordsize-32/divdi3.c: Likewise.
28991 * time/sys/time.h: Likewise.
28992 * wcsmbs/Makefile: Likewise.
28994 2013-01-01 David S. Miller <davem@davemloft.net>
28996 * po/fr.po: Update from translation team.
28998 * catgets/gencat.c: Update copyright year.
28999 * csu/version.c: Likewise.
29000 * debug/catchsegv.sh: Likewise.
29001 * debug/pcprofiledump.c: Likewise.
29002 * debug/xtrace.sh: Likewise.
29003 * elf/ldconfig.c: Likewise.
29004 * elf/ldd.bash.in: Likewise.
29005 * elf/pldd.c: Likewise.
29006 * elf/sotruss.ksh: Likewise.
29007 * elf/sprof.c: Likewise.
29008 * iconv/iconv_prog.c: Likewise.
29009 * iconv/iconvconfig.c: Likewise.
29010 * locale/programs/locale.c: Likewise.
29011 * locale/programs/localedef.c: Likewise.
29012 * login/programs/pt_chown.c: Likewise.
29013 * malloc/memusage.sh: Likewise.
29014 * malloc/memusagestat.c: Likewise.
29015 * malloc/mtrace.pl: Likewise.
29016 * nscd/nscd.c: Likewise.
29017 * nss/getent.c: Likewise.
29018 * nss/makedb.c: Likewise.
29019 * posix/getconf.c: Likewise.
29021 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29023 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29026 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29028 * math/bits/mathcalls.h (modf): Use __nonnull.
29030 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29032 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29033 (split): Use macro CN instead of the bare value.
29034 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29037 instead of the bare value.
29038 (power1): Likewise.
29040 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29046 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29048 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29050 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29051 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29053 2012-12-28 Andreas Jaeger <aj@suse.de>
29055 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29056 values are from Linux 3.7.
29058 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29059 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29061 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29063 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29068 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29069 variables with preprocessor constants.
29070 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29071 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29072 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29074 2012-12-27 Bruno Haible <bruno@clisp.org>
29077 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29080 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29083 and use variable directly.
29084 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29086 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29088 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29091 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29093 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29094 include directive. Remove local variable MPONE.
29095 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29096 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29099 2012-12-25 David S. Miller <davem@davemloft.net>
29101 * version.h (RELEASE): Set to "development".
29102 (VERSION): Set to "2.17.90".
29103 * NEWS: Add 2.18 section.
29105 2012-12-21 David S. Miller <davem@davemloft.net>
29107 * po/hr.po: Update from translation team.
29109 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29111 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29113 2012-12-19 Steve Ellcey <sellcey@mips.com>
29115 * NEWS: Mention new memcpy for MIPS.
29117 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29119 * manual/contrib.texi (Contributors): Spelling correction.
29121 2012-12-15 David S. Miller <davem@davemloft.net>
29123 * po/ru.po: Update from translation team.
29125 2012-12-13 David S. Miller <davem@davemloft.net>
29127 * NEWS: Mention IFUNC testsuite enhancements.
29129 * po/pl.po: Update from translation team.
29130 * po/bg.po: Likewise.
29132 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29133 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29135 2012-12-11 David S. Miller <davem@davemloft.net>
29137 * po/sv.po: Update from translation team.
29139 * po/vi.po: Update from translation team.
29141 * po/cs.po: Update from translation team.
29143 * po/de.po: Update from translation team.
29144 * po/eo.po: Likewise.
29145 * po/nl.po: Likewise.
29147 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29150 * manual/argp.texi (Argp Helper Functions): Move node to follow
29151 Argp Parsing State.
29154 * manual/conf.texi (Limits on File System Capacity): Mention if
29155 terminating null is included in the max size.
29157 2012-12-10 Andreas Jaeger <aj@suse.de>
29159 * po/cs.po: Update from translation team.
29161 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29163 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29164 void pointer and cast to uintptr_t.
29165 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29167 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29168 * sysdeps/s390/s390-64/memset.S: Likewise.
29170 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29173 * menual/message.texi (Message Translation): Fix typos.
29174 (Helper programs for gettext): Likewise.
29176 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29179 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29182 2012-12-07 David S. Miller <davem@davemloft.net>
29184 * po/libc.pot: Update.
29186 2012-12-07 Richard Henderson <rth@redhat.com>
29189 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29190 normal/normal case to before the switch.
29191 (_FP_DIV): Likewise.
29193 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29194 Mike Frysinger <vapier@gentoo.org>
29196 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29197 check for __NR_fadvise64_64.
29199 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29201 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29202 0, not just to plain "0" as a statement.
29203 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29206 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29208 * NEWS: Use sourceware.org in Bugzilla URL.
29210 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29213 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29215 * stdio-common/tst-put-error.c (do_test): Add newline to the
29216 padded test to ensure flush.
29218 2012-12-05 Jeff Law <law@redhat.com>
29220 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29222 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29224 * README: Don't refer to ports add-on as distributed separately.
29225 Mention AArch64 in list of systems supported in the ports add-on.
29227 * LICENSES: Add more non-FSF copyright and license notices.
29229 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29234 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29235 10000 as width of padded output.
29237 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29239 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29241 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29242 variable LX with __attribute__ ((unused)).
29243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29245 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29247 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29248 with __attribute__ ((unused)).
29250 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29252 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29254 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29256 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29257 (CFLAGS-nldbl-acos.c): New variable.
29258 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29259 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29260 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29261 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29262 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29263 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29264 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29265 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29266 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29267 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29268 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29269 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29270 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29271 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29272 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29273 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29274 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29275 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29276 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29277 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29278 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29279 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29280 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29281 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29282 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29283 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29284 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29285 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29286 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29287 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29288 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29289 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29290 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29291 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29292 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29293 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29294 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29295 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29296 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29297 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29298 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29299 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29300 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29301 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29302 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29303 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29304 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29305 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29306 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29307 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29308 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29309 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29310 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29311 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29312 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29313 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29314 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29315 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29316 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29317 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29318 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29319 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29320 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29321 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29322 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29323 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29324 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29325 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29326 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29327 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29328 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29329 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29330 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29331 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29332 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29333 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29334 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29335 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29336 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29337 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29338 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29339 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29340 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29341 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29342 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29343 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29344 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29345 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29346 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29347 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29348 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29349 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29350 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29351 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29352 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29353 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29354 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29357 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29360 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29361 whole low double instead of just low 47 bits when splitting values
29364 2012-12-03 Allan McRae <allan@archlinux.org>
29366 * manual/stdio.texi (Predefined Printf Handlers): Remove
29367 @hsep and @vsep usage.
29369 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29371 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29372 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29374 2012-12-03 Jeff Law <law@redhat.com>
29376 * time/sys/time.h (settimeofday): Do not mark TV argument
29379 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29381 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29382 when currently writing and seek to current position when not.
29383 * libio/Makefile (tests): Remove bug-fclose1.
29384 * libio/bug-fclose1.c: Delete.
29386 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29388 * manual/arith.texi (feenableexcept): Fix typo.
29389 (fedisableexcept): Likewise.
29391 2012-11-30 Roland McGrath <roland@hack.frob.com>
29393 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29394 second, differently-typed declaration, rather than a cast.
29396 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29398 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29399 * include/rpc/svc.h: ... here.
29401 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29404 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29405 depending n and resplen2 to catch cases where answer
29408 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29410 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29411 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29413 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29415 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29417 2012-11-29 Roland McGrath <roland@hack.frob.com>
29419 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29421 2012-11-28 Jeff Law <law@redhat.com>
29424 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29425 dataset_temporary. Track alloca usage into alloca_used.
29426 If dataset is large allocate and release it via malloc/free.
29428 2012-06-04 Florian Weimer <fweimer@redhat.com>
29431 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29433 2012-11-28 David S. Miller <davem@davemloft.net>
29435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29437 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29440 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29441 of pi/2 rounded to nearest to 64 bits.
29442 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29443 nearest to 64 bits.
29444 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29447 2012-11-28 Jeff Law <law@redhat.com>
29448 Martin Osvald <mosvald@redhat.com>
29451 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29452 * sunrpc/svc.c: Include time.h.
29453 (__svc_accept_failed): New function.
29454 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29455 any reason other than EINTR, call __svc_accept_failed.
29456 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29457 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29459 2012-11-28 Andreas Schwab <schwab@suse.de>
29461 * scripts/abilist.awk: Also handle indirect functions in .opd
29464 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29467 * sysdeps/x86/fpu/powl_helper.c: New file.
29468 * sysdeps/x86/fpu/Makefile: Likewise.
29469 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29471 (__ieee754_powl): Use __powl_helper for finite arguments except
29472 integer exponents below 8.
29473 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29475 (__ieee754_powl): Use __powl_helper for finite arguments except
29476 integer exponents below 8.
29477 * math/libm-test.inc (pow_test): Add more tests and enable some
29478 previously disabled tests.
29479 * sysdeps/i386/fpu/libm-test-ulps: Update.
29480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29482 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29483 Carlos O'Donell <carlos_odonell@mentor.com>
29485 * nss/makedb.c (is_prime): Assert that input is odd and greater
29486 than 4. Note that fact in a comment too.
29487 (next_prime): Add 4 to input.
29489 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29492 * libio/Makefile (tests): Add test case tst-fwrite-error.
29493 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29494 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29495 * libio/tst-fwrite-error.c: New test case.
29497 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29499 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29500 before casting to void *.
29501 * include/libc-internal.h (__pointer_type): New macro.
29502 (__integer_if_pointer_type_sub): Likewise.
29503 (__integer_if_pointer_type): Likewise.
29504 (cast_to_integer): Likewise.
29505 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29506 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29507 before casting to atomic64_t.
29508 (atomic_exchange_acq): Likewise.
29509 (__arch_exchange_and_add_body): Likewise.
29510 (__arch_add_body): Likewise.
29511 (atomic_add_negative): Likewise.
29512 (atomic_add_zero): Likewise.
29514 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29516 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29517 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29518 (add_fdes): Likewise.
29519 (linear_search_fdes): Likewise.
29520 (binary_search_unencoded_fdes): Likewise.
29522 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29524 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29526 2012-11-24 Adam Conrad <adconrad@0c3.net>
29528 * configure.in: Autodetect C++ header directories.
29529 * configure: Regenerated.
29531 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29533 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29535 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29539 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29541 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29542 LDBL_MANT_DIG == 106]: Disable some tests.
29543 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29545 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29550 input for small inputs. Return +/- pi/2 for large inputs.
29551 * math/libm-test.inc (atan_test): Add more tests.
29553 * sysdeps/generic/unwind-dw2-fde-glibc.c
29554 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29555 __attribute__ ((unused)).
29558 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29559 x * y if x and y are nonzero and z is zero.
29562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29563 nonzero exponents with absolute value below 0x1p-117 to +/-
29567 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29568 up arguments below 2**-450, not just those below 2**-500.
29569 * math/libm-test.inc (hypot_test): Add another test.
29572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29573 Return a+b for ratio over 2**120, not 2**60.
29574 * math/libm-test.inc (hypot_test): Add another test.
29576 * math/libm-test.inc (clog_test): Use
29577 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29578 (clog10_test): Likewise.
29581 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29583 2012-11-22 Andreas Schwab <schwab@suse.de>
29585 * sysdeps/i386/fpu/libm-test-ulps: Update.
29587 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29589 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29590 printf output with newline.
29592 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29595 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29596 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29597 -z nodlopen, -z initfirst and -z execstack support.
29598 * configure: Regenerated.
29600 * elf/elf.h (DF_1_NODIRECT): New macro.
29601 (DF_1_IGNMULDEF): Likewise.
29602 (DF_1_NOKSYMS): Likewise.
29603 (DF_1_NOHDR): Likewise.
29604 (DF_1_EDITED): Likewise.
29605 (DF_1_NORELOC): Likewise.
29606 (DF_1_SYMINTPOSE): Likewise.
29607 (DF_1_GLOBAUDIT): Likewise.
29608 (DF_1_SINGLETON): Likewise.
29609 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29610 DT_1_SUPPORTED_MASK bits.
29611 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29613 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29615 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29617 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29619 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29622 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29623 (sendmmsg): Move declarations...
29624 * socket/sys/socket.h: ... here.
29625 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29626 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29628 * socket/recvmmsg.c: ... this new file.
29629 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29630 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29631 definition of __sendmmsg hidden.
29632 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29633 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29634 Move ENOSYS stub into and include it from...
29635 * socket/sendmmsg.c: ... this new file.
29636 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29637 (sysdep_routines): Move recvmmsg and sendmmsg...
29638 * socket/Makefile (routines): ... here.
29639 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29640 (GLIBC_PRIVATE): Add __sendmmsg.
29641 * include/sys/socket.h (__sendmmsg): Add declarations.
29642 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29645 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29648 variable I1 with __attribute__ ((unused)).
29649 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29651 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29653 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29654 DUMMY variables with __attribute__ ((unused)).
29656 * bits/byteswap.h: Include <bits/types.h>.
29657 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29659 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29661 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29662 string_t. Do not manually set errno.
29663 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29664 length with __strnlen. Make sure to both set errno and return it on
29667 2012-11-19 David S. Miller <davem@davemloft.net>
29669 With help from Joseph Myers.
29670 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29671 very large arguments properly.
29672 * math/libm-test.inc (atan_test): New tests.
29673 (atan2_test): New tests.
29674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29677 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29680 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29683 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29684 [POSIX] (EADDRNOTAVAIL): Likewise.
29685 [POSIX] (EAFNOSUPPORT): Likewise.
29686 [POSIX] (EALREADY): Likewise.
29687 [POSIX] (ECONNABORTED): Likewise.
29688 [POSIX] (ECONNREFUSED): Likewise.
29689 [POSIX] (ECONNRESET): Likewise.
29690 [POSIX] (EDESTADDRREQ): Likewise.
29691 [POSIX] (EDQUOT): Likewise.
29692 [POSIX] (EHOSTUNREACH): Likewise.
29693 [POSIX] (EIDRM): Likewise.
29694 [POSIX] (EISCONN): Likewise.
29695 [POSIX] (ELOOP): Likewise.
29696 [POSIX] (EMULTIHOP): Likewise.
29697 [POSIX] (ENETDOWN): Likewise.
29698 [POSIX] (ENETUNREACH): Likewise.
29699 [POSIX] (ENOBUFS): Likewise.
29700 [POSIX] (ENODATA): Likewise.
29701 [POSIX] (ENOLINK): Likewise.
29702 [POSIX] (ENOMSG): Likewise.
29703 [POSIX] (ENOPROTOOPT): Likewise.
29704 [POSIX] (ENOSR): Likewise.
29705 [POSIX] (ENOSTR): Likewise.
29706 [POSIX] (ENOTCONN): Likewise.
29707 [POSIX] (ENOTSOCK): Likewise.
29708 [POSIX] (EOPNOTSUPP): Likewise.
29709 [POSIX] (EOVERFLOW): Likewise.
29710 [POSIX] (EPROTO): Likewise.
29711 [POSIX] (EPROTONOSUPPORT): Likewise.
29712 [POSIX] (EPROTOTYPE): Likewise.
29713 [POSIX] (ESTALE): Likewise.
29714 [POSIX] (ETIME): Likewise.
29715 [POSIX] (ETXTBSY): Likewise.
29716 [POSIX] (EWOULDBLOCK): Likewise.
29717 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29718 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29719 [POSIX] (SEEK_CUR): Likewise.
29720 [POSIX] (SEEK_END): Likewise.
29721 [POSIX || UNIX98] (mode_t): Do not require.
29722 [POSIX] (off_t): Likewise.
29723 [POSIX] (pid_t): Likewise.
29724 [POSIX] (sys/stat.h): Do not allow header.
29725 [POSIX] (unistd.h): Likewise.
29726 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29727 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29728 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29729 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29731 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29732 sigevent): Specify elements.
29733 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29735 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29736 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29738 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29739 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29740 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29741 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29742 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29743 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29744 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29745 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29746 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29747 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29748 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29749 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29750 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29751 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29755 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29757 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29759 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29762 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29763 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29764 Specify lower bound on value.
29765 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29766 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29767 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29768 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29769 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29770 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29771 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29772 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29774 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29776 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29777 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29778 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29779 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29780 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29781 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29782 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29783 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29784 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29785 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29786 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29787 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29788 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29789 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29790 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29791 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29793 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29795 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29796 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29797 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29799 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29800 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29803 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29804 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29805 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29806 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29807 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29808 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29814 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29815 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29816 specify as optional.
29817 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29820 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29821 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29822 [XPG3] (NL_LANGMAX): Likewise.
29823 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29824 [POSIX || XPG3] (NL_NMAX): Likewise.
29825 [POSIX || XPG3] (NL_SETMAX): Likewise.
29826 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29827 [XPG3] (NZERO): Likewise.
29828 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29829 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29830 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29831 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29832 (REG_ERANGE): Expect.
29833 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29835 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29836 Use (void) in prototype.
29837 [POSIX] (*_t): Allow.
29838 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29839 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29840 (WRDE_BADVAL): Expect.
29842 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29844 [XPG3 || XPG4] (O_RSYNC): Likewise.
29845 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29847 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29848 [XPG3 || XPG4] (sigqueue): Likewise.
29849 [XPG3 || XPG4] (sigtimedwait): Likewise.
29850 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29851 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29852 [XPG3 || XPG4] (vsnprintf): Likewise.
29853 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29855 [XPG3 || XPG4] (blksize_t): Likewise.
29856 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29858 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29859 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29860 [XPG3 || XPG4] (struct itimerspec): Likewise.
29861 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29862 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29863 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29864 [XPG3 || XPG4] (clockid_t): Likewise.
29865 [XPG3 || XPG4] (timer_t): Likewise.
29866 [XPG3 || XPG4] (clock_getres): Likewise.
29867 [XPG3 || XPG4] (clock_gettime): Likewise.
29868 [XPG3 || XPG4] (clock_settime): Likewise.
29869 [XPG3 || XPG4] (nanosleep): Likewise.
29870 [XPG3 || XPG4] (timer_create): Likewise.
29871 [XPG3 || XPG4] (timer_delete): Likewise.
29872 [XPG3 || XPG4] (timer_gettime): Likewise.
29873 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29874 [XPG3 || XPG4] (timer_settime): Likewise.
29875 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29876 [XPG3 || XPG4] (getlogin_r): Likewise.
29877 [XPG3 || XPG4] (pread): Likewise.
29878 [XPG3 || XPG4] (pthread_atfork): Likewise.
29879 [XPG3 || XPG4] (pwrite): Likewise.
29882 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29885 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29887 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29888 finalizing MALLSTREAM.
29890 * sysdeps/mach/hurd/syncfs.c: New file.
29892 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29895 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29896 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29898 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29899 (_nss_dns_gethostbyname4_r): Likewise.
29900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29901 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29903 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29906 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29908 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29910 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29911 * elf/cache.c (print_entry): Print ",AArch64" for
29914 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29915 * elf/cache.c (print_entry): Print ",hard-float" for
29918 2012-11-18 David S. Miller <davem@davemloft.net>
29920 With help from Joseph Myers.
29921 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29923 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29925 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29926 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29928 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29929 * math/libm-test.inc (y0_test): New tests.
29930 (y1_test): New tests.
29931 * sysdeps/i386/fpu/libm-test-ulps: Update.
29932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29935 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29937 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29939 * configure: Regenerated.
29941 2012-11-17 David S. Miller <davem@davemloft.net>
29944 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29945 nonzero exponents with absolute value below 0x1p-128 to +/-
29948 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29950 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29952 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29954 * posix/getconf-speclist.c: New file.
29955 * posix/posix-envs.def: Likewise.
29956 * posix/confstr.c (START_ENV_GROUP): New macro.
29957 (END_ENV_GROUP): Likewise.
29958 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29959 (KNOWN_PRESENT_ENV_STRING): Likewise.
29960 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29961 (UNKNOWN_ENVIRONMENT): Likewise.
29962 (confstr): Include posix-envs.def instead of handling
29963 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29964 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29965 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29966 (END_ENV_GROUP): Likewise.
29967 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29968 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29969 (UNKNOWN_ENVIRONMENT): Likewise.
29970 (__sysconf): Include posix-envs.def instead of handling associated
29971 cases directly here.
29972 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29973 preprocessing getconf-speclist.c rather than running getconf or
29974 generating empty file.
29976 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29978 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29980 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29983 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29985 2012-11-16 David S. Miller <davem@davemloft.net>
29987 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29988 smaller than LDBL_EPSILON/2.0L, just return xm1.
29990 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29992 * elf/tst-array1.c (init): Set constructor priority to 1000.
29993 (fini): Set destructor priority to 1000.
29994 * elf/tst-array2dep.c: Likewise.
29996 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29999 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30000 (_IO_new_file_xsputn): Also return EOF if none of the input
30001 data was written when overflow failed.
30002 * libio/iopadn.c (_IO_padn): Likewise.
30003 * libio/iowpadn.c (_IO_wpadn): Likewise.
30004 * stdio-common/tst-put-error.c: Add copyright notice.
30005 (do_test): Add case for printing padded string.
30006 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30007 _IO_padn returned error.
30008 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30009 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30012 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30014 * libio/libioP.h: Add comment note that the references to C++
30015 bits are now obsolete.
30017 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30019 * math/libm-test.inc (check_complex): Use asprintf.
30021 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30023 * debug/pcprofiledump.c (print_version): Update copyright year.
30024 * malloc/memusagestat.c (print_version): Likewise.
30026 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30029 * elf/Makefile (tests): Add tst-audit8.
30030 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30031 ($(objpfx)tst-audit8.out): New target.
30032 (tst-audit8-ENV): New variable.
30033 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30034 audit if l_reloc_result is NULL.
30035 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30036 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30037 * elf/tst-audit8.c: New file.
30039 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30041 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30042 * misc/Makefile (CFLAGS-select.c): Define.
30043 * posix/Makefile (CFLAGS-pause.c): Define.
30045 2012-11-13 David S. Miller <davem@davemloft.net>
30047 * crypt/Makefile: Move test targets after toplevel Rules
30048 inclusion. Grab any necessary sysdep routines when linking.
30049 * crypt/md5.c (md5_process_block): Remove define, we will always
30050 name it __md5_process_block.
30051 (md5_finish_ctx): Update md5_process_block call.
30052 (md5_stream): Likewise.
30053 (md5_process_bytes): Likewise.
30054 (md5_process_block): Rename to __md5_process_block and move to ...
30055 * crypt/md5-block.c: ... here.
30056 * crypt/sha256.c (sha256_process_block): Move to ...
30057 * crypt/sha256-block.c: ... here.
30058 * crypt/sha512.c (sha512_process_block): Move to ...
30059 * crypt/sha512-block.c: ... here.
30060 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30062 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30063 * sysdeps/sparc/sparc64/multiarch/Makefile
30064 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30066 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30069 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30070 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30071 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30072 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30073 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30074 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30075 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30076 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30082 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30084 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30086 * timezone/tzselect.ksh: Update from tzcode git revision
30087 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30088 * timezone/zdump.c: Likewise.
30089 * timezone/zic.c: Likewise.
30090 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30091 in TZVERSION setting, not $(PKGVERSION).
30092 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30093 REPORT_BUGS_TO settings.
30096 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30099 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30101 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30102 detection to immediately after _FP_ROUND().
30103 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30106 2012-11-11 David S. Miller <davem@davemloft.net>
30108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30110 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30111 __close rather than their public counterparts.
30113 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30115 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30117 [UNIX98] (sem_timedwait): Do not expect.
30118 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30119 [XPG4 || UNIX98] (sockatmark): Do not expect.
30120 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30121 (clock_getcpuclockid): Do not expect.
30122 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30123 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30125 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30126 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30127 [UNIX98] (vwscanf): Likewise.
30128 [UNIX98] (vswscanf): Likewise.
30130 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30132 * timezone/version.h: Remove file.
30133 * timezone/README: Do not refer to version.h.
30134 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30135 $(objpfx)version.h.
30136 ($(objpfx)zdump.o): Likewise.
30137 ($(objpfx)version.h): New target.
30139 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30141 * timezone/README: Don't mention modification to tzselect.ksh.
30142 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30143 work on unmodified tzselect.ksh. Substitute version numbers in
30146 * Makefile (format-me): Remove.
30147 (INSTALL): Adjust indentation. Use commands directly instead of
30148 using $(format-me).
30150 * aclocal.m4 (ACX_PKGVERSION): New macro.
30151 (ACX_BUGURL): Likewise.
30152 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30153 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30154 (REPORT_BUGS_TO): Likewise.
30155 * configure: Regenerated.
30156 * config.h.in (PKGVERSION): New macro.
30157 (REPORT_BUGS_TO): Likewise.
30158 * config.make.in (PKGVERSION): New variable.
30159 (PKGVERSION_TEXI): Likewise.
30160 (REPORT_BUGS_TO): Likewise.
30161 (REPORT_BUGS_TEXI): Likewise.
30162 * Makefile (format-me): Use -I$(common-objpfx)manual.
30163 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30164 ($(common-objpfx)manual/%): New target.
30165 (manual/%): Remove target.
30166 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30167 (print_version): Use PKGVERSION.
30168 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30169 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30170 and REPORT_BUGS_TO.
30171 ($(objpfx)xtrace): Likewise.
30172 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30173 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30174 (print_version): Use PKGVERSION.
30175 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30176 (do_version): Use PKGVERSION.
30177 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30179 (common-ldd-rewrite): Likewise.
30180 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30181 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30182 (print_version): Use PKGVERSION.
30183 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30184 * elf/pldd.c (argp_program_bug_address): Remove variable.
30185 (more_help): New function.
30186 (argp): Use more_help.
30187 (print_version): Use PKGVERSION.
30188 * elf/sln.c (main): Use PKGVERSION.
30189 (usage): Use REPORT_BUGS_TO.
30190 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30191 (top level): Use PKGVERSION.
30192 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30193 (print_version): Use PKGVERSION.
30194 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30195 (print_version): Use PKGVERSION.
30196 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30197 (print_version): Use PKGVERSION.
30198 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30199 (print_version): Use PKGVERSION.
30200 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30201 (print_version): Use PKGVERSION.
30202 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30203 (print_version): Use PKGVERSION.
30204 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30206 ($(objpfx)memusage): Likewise.
30207 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30208 (do_version): Use PKGVERSION.
30209 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30210 (print_version): Use PKGVERSION.
30211 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30212 ($PKGVERSION): New variable.
30213 ($REPORT_BUGS_TO): Likewise.
30214 (usage): Use $REPORT_BUGS_TO.
30215 (top level): Use $PKGVERSION.
30216 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30217 ($(objpfx)pkgvers.texi): New rule.
30218 ($(objpfx)stamp-pkgvers): Likewise.
30219 * manual/install.texi: Include pkgvers.texi.
30220 (--with-pkgversion): Document new configure option.
30221 (--with-bugurl): Likewise.
30222 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30223 than necessarily for this particular distribution. Use
30224 REPORT_BUGS_TO for where to report bugs.
30225 * INSTALL: Regenerated.
30226 * manual/libc.texinfo: Include pkgvers.texi.
30227 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30228 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30229 (print_version): Use PKGVERSION.
30230 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30231 (print_version): Use PKGVERSION.
30232 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30233 (print_version): Use PKGVERSION.
30234 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30235 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30237 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30238 (print_version): Use PKGVERSION.
30239 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30240 (print_version): Use PKGVERSION.
30241 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30244 * timezone/checktab.awk: Update from tzcode 2012i.
30245 * timezone/ialloc.c: Likewise.
30246 * timezone/private.h: Likewise.
30247 * timezone/scheck.c: Likewise.
30248 * timezone/tzfile.h: Likewise.
30249 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30250 (TZVERSION): Hardcode tzcode version number.
30251 * timezone/zdump.c: Update from tzcode 2012i.
30252 * timezone/zic.c: Likewise.
30253 * timezone/version.h: New file.
30254 * timezone/README: Describe version.h. Update upstream location.
30257 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30258 (mktemp): Enable declaration.
30259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30276 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30277 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30278 for copies of such integer values.
30279 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30280 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30282 2012-11-09 Andreas Jaeger <aj@suse.de>
30284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30285 definitions and declarations that are provided by
30286 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30288 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30290 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30291 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30292 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30295 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30297 * elf/elf.h: Update comment before AArch64 relocations.
30299 2012-11-07 David S. Miller <davem@davemloft.net>
30301 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30302 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30303 (__start_context): Declare.
30304 (__makecontext_ret): Delete.
30305 (__makecontext): Hook up __start_context instead of
30307 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30308 (sysdep_routines): Add __start_context when in stdlib.
30310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30312 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30313 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30314 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30316 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30317 (READELF): New variable. Use it instead of hardcoded "readelf".
30319 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30321 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30322 * sysdeps/x86/Makefile: Here.
30323 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30324 * sysdeps/x86/tst-xmmymm.sh: This.
30326 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30328 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30330 [UNIX98] (pthread_barrier_t): Do not expect.
30331 [UNIX98] (pthread_barrierattr_t): Likewise.
30332 [UNIX98] (pthread_spinlock_t): Likewise.
30333 [UNIX98] (pthread_barrier_destroy): Likewise.
30334 [UNIX98] (pthread_barrier_init): Likewise.
30335 [UNIX98] (pthread_barrier_wait): Likewise.
30336 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30337 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30338 [UNIX98] (pthread_barrierattr_init): Likewise.
30339 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30340 [UNIX98] (pthread_getcpuclockid): Likewise.
30341 [UNIX98] (pthread_mutex_timedlock): Likewise.
30342 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30343 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30344 [UNIX98] (pthread_sigmask): Likewise.
30345 [UNIX98] (pthread_spin_destroy): Likewise.
30346 [UNIX98] (pthread_spin_init): Likewise.
30347 [UNIX98] (pthread_spin_lock): Likewise.
30348 [UNIX98] (pthread_spin_trylock): Likewise.
30349 [UNIX98] (pthread_spin_unlock): Likewise.
30350 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30352 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30353 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30354 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30355 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30356 [XPG3 || XPG4] (pthread_key_t): Likewise.
30357 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30358 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30359 [XPG3 || XPG4] (pthread_once_t): Likewise.
30360 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30361 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30362 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30363 [XPG3 || XPG4] (pthread_t): Likewise.
30365 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30367 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30369 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30370 Change function return type to int.
30372 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30373 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30374 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30375 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30376 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30377 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30378 [!POSIX] (posix_madvise): Likewise.
30379 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30381 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30382 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30383 (mode_t): Likewise.
30384 (posix_mem_offset): Likewise.
30385 (posix_typed_mem_get_info): Likewise.
30386 (posix_typed_mem_open): Likewise.
30388 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30389 Change condition to [XOPEN2K8].
30391 * conform/conformtest.pl: Preprocess allow-header data with -x c
30392 instead of from stdin.
30393 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30394 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30395 [C99-based standards] (cerfc): Likewise.
30396 [C99-based standards] (cexp2): Likewise.
30397 [C99-based standards] (cexpm1): Likewise.
30398 [C99-based standards] (clog10): Likewise.
30399 [C99-based standards] (clog1p): Likewise.
30400 [C99-based standards] (clog2): Likewise.
30401 [C99-based standards] (clgamma): Likewise.
30402 [C99-based standards] (ctgamma): Likewise.
30403 [C99-based standards] (cerff): Likewise.
30404 [C99-based standards] (cerfcf): Likewise.
30405 [C99-based standards] (cexp2f): Likewise.
30406 [C99-based standards] (cexpm1f): Likewise.
30407 [C99-based standards] (clog10f): Likewise.
30408 [C99-based standards] (clog1pf): Likewise.
30409 [C99-based standards] (clog2f): Likewise.
30410 [C99-based standards] (clgammaf): Likewise.
30411 [C99-based standards] (ctgammaf): Likewise.
30412 [C99-based standards] (cerfl): Likewise.
30413 [C99-based standards] (cerfcl): Likewise.
30414 [C99-based standards] (cexp2l): Likewise.
30415 [C99-based standards] (cexpm1l): Likewise.
30416 [C99-based standards] (clog10l): Likewise.
30417 [C99-based standards] (clog1pl): Likewise.
30418 [C99-based standards] (clog2l): Likewise.
30419 [C99-based standards] (clgammal): Likewise.
30420 [C99-based standards] (ctgammal): Likewise.
30421 * conform/data/inttypes.h-data [C99-based standards]: Include
30422 stdint.h-data. Remove all expectations for stdint.h contents.
30423 [C99-based standards] (PRI*): Do not allow.
30424 [C99-based standards] (SCN*): Likewise.
30425 [C99-based standards] (*_t): Likewise.
30426 [C99-based-standards] (PRId8): Expect macro.
30427 [C99-based-standards] (PRIi8): Likewise.
30428 [C99-based-standards] (PRIo8): Likewise.
30429 [C99-based-standards] (PRIu8): Likewise.
30430 [C99-based-standards] (PRIx8): Likewise.
30431 [C99-based-standards] (PRIX8): Likewise.
30432 [C99-based-standards] (SCNd8): Likewise.
30433 [C99-based-standards] (SCNi8): Likewise.
30434 [C99-based-standards] (SCNo8): Likewise.
30435 [C99-based-standards] (SCNu8): Likewise.
30436 [C99-based-standards] (SCNx8): Likewise.
30437 [C99-based-standards] (PRIdLEAST8): Likewise.
30438 [C99-based-standards] (PRIiLEAST8): Likewise.
30439 [C99-based-standards] (PRIoLEAST8): Likewise.
30440 [C99-based-standards] (PRIuLEAST8): Likewise.
30441 [C99-based-standards] (PRIxLEAST8): Likewise.
30442 [C99-based-standards] (PRIXLEAST8): Likewise.
30443 [C99-based-standards] (SCNdLEAST8): Likewise.
30444 [C99-based-standards] (SCNiLEAST8): Likewise.
30445 [C99-based-standards] (SCNoLEAST8): Likewise.
30446 [C99-based-standards] (SCNuLEAST8): Likewise.
30447 [C99-based-standards] (SCNxLEAST8): Likewise.
30448 [C99-based-standards] (PRIdFAST8): Likewise.
30449 [C99-based-standards] (PRIiFAST8): Likewise.
30450 [C99-based-standards] (PRIoFAST8): Likewise.
30451 [C99-based-standards] (PRIuFAST8): Likewise.
30452 [C99-based-standards] (PRIxFAST8): Likewise.
30453 [C99-based-standards] (PRIXFAST8): Likewise.
30454 [C99-based-standards] (SCNdFAST8): Likewise.
30455 [C99-based-standards] (SCNiFAST8): Likewise.
30456 [C99-based-standards] (SCNoFAST8): Likewise.
30457 [C99-based-standards] (SCNuFAST8): Likewise.
30458 [C99-based-standards] (SCNxFAST8): Likewise.
30459 [C99-based-standards] (PRId16): Likewise.
30460 [C99-based-standards] (PRIi16): Likewise.
30461 [C99-based-standards] (PRIo16): Likewise.
30462 [C99-based-standards] (PRIu16): Likewise.
30463 [C99-based-standards] (PRIx16): Likewise.
30464 [C99-based-standards] (PRIX16): Likewise.
30465 [C99-based-standards] (SCNd16): Likewise.
30466 [C99-based-standards] (SCNi16): Likewise.
30467 [C99-based-standards] (SCNo16): Likewise.
30468 [C99-based-standards] (SCNu16): Likewise.
30469 [C99-based-standards] (SCNx16): Likewise.
30470 [C99-based-standards] (PRIdLEAST16): Likewise.
30471 [C99-based-standards] (PRIiLEAST16): Likewise.
30472 [C99-based-standards] (PRIoLEAST16): Likewise.
30473 [C99-based-standards] (PRIuLEAST16): Likewise.
30474 [C99-based-standards] (PRIxLEAST16): Likewise.
30475 [C99-based-standards] (PRIXLEAST16): Likewise.
30476 [C99-based-standards] (SCNdLEAST16): Likewise.
30477 [C99-based-standards] (SCNiLEAST16): Likewise.
30478 [C99-based-standards] (SCNoLEAST16): Likewise.
30479 [C99-based-standards] (SCNuLEAST16): Likewise.
30480 [C99-based-standards] (SCNxLEAST16): Likewise.
30481 [C99-based-standards] (PRIdFAST16): Likewise.
30482 [C99-based-standards] (PRIiFAST16): Likewise.
30483 [C99-based-standards] (PRIoFAST16): Likewise.
30484 [C99-based-standards] (PRIuFAST16): Likewise.
30485 [C99-based-standards] (PRIxFAST16): Likewise.
30486 [C99-based-standards] (PRIXFAST16): Likewise.
30487 [C99-based-standards] (SCNdFAST16): Likewise.
30488 [C99-based-standards] (SCNiFAST16): Likewise.
30489 [C99-based-standards] (SCNoFAST16): Likewise.
30490 [C99-based-standards] (SCNuFAST16): Likewise.
30491 [C99-based-standards] (SCNxFAST16): Likewise.
30492 [C99-based-standards] (PRId32): Likewise.
30493 [C99-based-standards] (PRIi32): Likewise.
30494 [C99-based-standards] (PRIo32): Likewise.
30495 [C99-based-standards] (PRIu32): Likewise.
30496 [C99-based-standards] (PRIx32): Likewise.
30497 [C99-based-standards] (PRIX32): Likewise.
30498 [C99-based-standards] (SCNd32): Likewise.
30499 [C99-based-standards] (SCNi32): Likewise.
30500 [C99-based-standards] (SCNo32): Likewise.
30501 [C99-based-standards] (SCNu32): Likewise.
30502 [C99-based-standards] (SCNx32): Likewise.
30503 [C99-based-standards] (PRIdLEAST32): Likewise.
30504 [C99-based-standards] (PRIiLEAST32): Likewise.
30505 [C99-based-standards] (PRIoLEAST32): Likewise.
30506 [C99-based-standards] (PRIuLEAST32): Likewise.
30507 [C99-based-standards] (PRIxLEAST32): Likewise.
30508 [C99-based-standards] (PRIXLEAST32): Likewise.
30509 [C99-based-standards] (SCNdLEAST32): Likewise.
30510 [C99-based-standards] (SCNiLEAST32): Likewise.
30511 [C99-based-standards] (SCNoLEAST32): Likewise.
30512 [C99-based-standards] (SCNuLEAST32): Likewise.
30513 [C99-based-standards] (SCNxLEAST32): Likewise.
30514 [C99-based-standards] (PRIdFAST32): Likewise.
30515 [C99-based-standards] (PRIiFAST32): Likewise.
30516 [C99-based-standards] (PRIoFAST32): Likewise.
30517 [C99-based-standards] (PRIuFAST32): Likewise.
30518 [C99-based-standards] (PRIxFAST32): Likewise.
30519 [C99-based-standards] (PRIXFAST32): Likewise.
30520 [C99-based-standards] (SCNdFAST32): Likewise.
30521 [C99-based-standards] (SCNiFAST32): Likewise.
30522 [C99-based-standards] (SCNoFAST32): Likewise.
30523 [C99-based-standards] (SCNuFAST32): Likewise.
30524 [C99-based-standards] (SCNxFAST32): Likewise.
30525 [C99-based-standards] (PRId64): Likewise.
30526 [C99-based-standards] (PRIi64): Likewise.
30527 [C99-based-standards] (PRIo64): Likewise.
30528 [C99-based-standards] (PRIu64): Likewise.
30529 [C99-based-standards] (PRIx64): Likewise.
30530 [C99-based-standards] (PRIX64): Likewise.
30531 [C99-based-standards] (SCNd64): Likewise.
30532 [C99-based-standards] (SCNi64): Likewise.
30533 [C99-based-standards] (SCNo64): Likewise.
30534 [C99-based-standards] (SCNu64): Likewise.
30535 [C99-based-standards] (SCNx64): Likewise.
30536 [C99-based-standards] (PRIdLEAST64): Likewise.
30537 [C99-based-standards] (PRIiLEAST64): Likewise.
30538 [C99-based-standards] (PRIoLEAST64): Likewise.
30539 [C99-based-standards] (PRIuLEAST64): Likewise.
30540 [C99-based-standards] (PRIxLEAST64): Likewise.
30541 [C99-based-standards] (PRIXLEAST64): Likewise.
30542 [C99-based-standards] (SCNdLEAST64): Likewise.
30543 [C99-based-standards] (SCNiLEAST64): Likewise.
30544 [C99-based-standards] (SCNoLEAST64): Likewise.
30545 [C99-based-standards] (SCNuLEAST64): Likewise.
30546 [C99-based-standards] (SCNxLEAST64): Likewise.
30547 [C99-based-standards] (PRIdFAST64): Likewise.
30548 [C99-based-standards] (PRIiFAST64): Likewise.
30549 [C99-based-standards] (PRIoFAST64): Likewise.
30550 [C99-based-standards] (PRIuFAST64): Likewise.
30551 [C99-based-standards] (PRIxFAST64): Likewise.
30552 [C99-based-standards] (PRIXFAST64): Likewise.
30553 [C99-based-standards] (SCNdFAST64): Likewise.
30554 [C99-based-standards] (SCNiFAST64): Likewise.
30555 [C99-based-standards] (SCNoFAST64): Likewise.
30556 [C99-based-standards] (SCNuFAST64): Likewise.
30557 [C99-based-standards] (SCNxFAST64): Likewise.
30558 [C99-based-standards] (PRIdMAX): Likewise.
30559 [C99-based-standards] (PRIiMAX): Likewise.
30560 [C99-based-standards] (PRIoMAX): Likewise.
30561 [C99-based-standards] (PRIuMAX): Likewise.
30562 [C99-based-standards] (PRIxMAX): Likewise.
30563 [C99-based-standards] (PRIXMAX): Likewise.
30564 [C99-based-standards] (SCNdMAX): Likewise.
30565 [C99-based-standards] (SCNiMAX): Likewise.
30566 [C99-based-standards] (SCNoMAX): Likewise.
30567 [C99-based-standards] (SCNuMAX): Likewise.
30568 [C99-based-standards] (SCNxMAX): Likewise.
30569 [C99-based-standards] (PRIdPTR): Likewise.
30570 [C99-based-standards] (PRIiPTR): Likewise.
30571 [C99-based-standards] (PRIoPTR): Likewise.
30572 [C99-based-standards] (PRIuPTR): Likewise.
30573 [C99-based-standards] (PRIxPTR): Likewise.
30574 [C99-based-standards] (PRIXPTR): Likewise.
30575 [C99-based-standards] (SCNdPTR): Likewise.
30576 [C99-based-standards] (SCNiPTR): Likewise.
30577 [C99-based-standards] (SCNoPTR): Likewise.
30578 [C99-based-standards] (SCNuPTR): Likewise.
30579 [C99-based-standards] (SCNxPTR): Likewise.
30580 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30582 * conform/data/stdint.h-data: Update comments to clarify
30584 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30586 [C99-based standards] (INT8_MAX): Likewise.
30587 [C99-based standards] (INT16_MIN): Likewise.
30588 [C99-based standards] (INT16_MAX): Likewise.
30589 [C99-based standards] (INT32_MIN): Likewise.
30590 [C99-based standards] (INT32_MAX): Likewise.
30591 [C99-based standards] (INT64_MIN): Likewise.
30592 [C99-based standards] (INT64_MAX): Likewise.
30593 [C99-based standards] (UINT8_MAX): Likewise.
30594 [C99-based standards] (UINT16_MAX): Likewise.
30595 [C99-based standards] (UINT32_MAX): Likewise.
30596 [C99-based standards] (UINT64_MAX): Likewise.
30597 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30598 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30599 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30600 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30601 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30602 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30603 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30604 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30605 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30606 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30607 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30608 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30609 [C99-based standards] (INT_FAST8_MIN): Likewise.
30610 [C99-based standards] (INT_FAST8_MAX): Likewise.
30611 [C99-based standards] (INT_FAST16_MIN): Likewise.
30612 [C99-based standards] (INT_FAST16_MAX): Likewise.
30613 [C99-based standards] (INT_FAST32_MIN): Likewise.
30614 [C99-based standards] (INT_FAST32_MAX): Likewise.
30615 [C99-based standards] (INT_FAST64_MIN): Likewise.
30616 [C99-based standards] (INT_FAST64_MAX): Likewise.
30617 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30618 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30619 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30620 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30621 [C99-based standards] (INTPTR_MIN): Likewise.
30622 [C99-based standards] (INTPTR_MAX): Likewise.
30623 [C99-based standards] (UINTPTR_MAX): Likewise.
30624 [C99-based standards] (INTMAX_MIN): Likewise.
30625 [C99-based standards] (INTMAX_MAX): Likewise.
30626 [C99-based standards] (UINTMAX_MAX): Likewise.
30627 [C99-based standards] (PTRDIFF_MIN): Likewise.
30628 [C99-based standards] (PTRDIFF_MAX): Likewise.
30629 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30630 [C99-based standards] (SIZE_MAX): Likewise.
30631 [C99-based standards] (WCHAR_MAX): Likewise.
30632 [C99-based standards] (WINT_MAX): Likewise.
30633 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30634 constraint on value.
30635 [C99-based standards] (WCHAR_MIN): Likewise.
30636 [C99-based standards] (WINT_MIN): Likewise.
30637 [C99-based standards] (*_t): Allow.
30638 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30639 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30640 Include math.h-data and complex.h-data. Remove all expectations
30641 of math.h and complex.h contents.
30642 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30644 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30645 (struct tm): Expect tag.
30646 [C99-based-standards] (wcstof): Expect function.
30647 [C99-based-standards] (wcstold): Likewise.
30648 [C99-based-standards] (wcstoll): Likewise.
30649 [C99-based-standards] (wcstoull): Likewise.
30650 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30651 macro-int-constant. Specify type.
30652 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30653 constraint on value.
30654 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30656 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30658 [ISO C standards]: Do not allow headers.
30659 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30660 wcs[abcdefghijklmnopqrstuvwxyz]*.
30661 [ISO C standards] (*_t): Do not allow.
30662 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30664 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30665 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30667 [ISO C standards]: Do not allow headers.
30668 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30669 is[abcdefghijklmnopqrstuvwxyz]*.
30670 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30671 to[abcdefghijklmnopqrstuvwxyz]*.
30672 [ISO C standards] (*_t): Do not allow.
30673 * conform/data/stdalign.h-data: New file.
30674 * conform/data/stdbool.h-data: Likewise.
30675 * conform/data/stdnoreturn.h-data: Likewise.
30677 2012-11-07 Roland McGrath <roland@hack.frob.com>
30680 * manual/filesys.texi (Directory Entries): Typo fix.
30681 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30683 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30685 * elf/elf.h (EM_AARCH64): New macro.
30686 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30687 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30688 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30689 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30690 (R_AARCH64_TLSDESC): Likewise.
30691 (NT_ARM_TLS): Likewise.
30692 (NT_ARM_HW_BREAK): Likewise.
30693 (NT_ARM_HW_WATCH): Likewise.
30695 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30698 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30699 (__ieee754_powl): Saturate nonzero exponents with absolute value
30700 below 0x1p-79 to +/- 0x1p-79.
30701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30702 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30703 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30704 nonzero exponents with absolute value below 0x1p-32 to +/-
30706 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30707 (__ieee754_powl): Saturate nonzero exponents with absolute value
30708 below 0x1p-79 to +/- 0x1p-79.
30709 * math/libm-test.inc (pow_test): Add more tests.
30711 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30713 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30714 _dl_s390_cap_flags with kernel. Increase string length.
30715 (_dl_s390_platforms): Add z196 and zEC12.
30717 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30719 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30720 Change XOPEN21K to XOPEN2K.
30722 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30724 * string/memmove.c: Use memcpy when possible.
30726 2012-11-06 Andreas Jaeger <aj@suse.de>
30728 * po/eo.po: Update from translation team.
30730 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30734 exponent and small x and y exponents, scale x or y up. Increase
30735 by 2 the exponent used in scaling up.
30736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30738 * math/libm-test.inc (fma_test): Add more tests.
30739 (fma_test_towardzero): Likewise.
30740 (fma_test_downward): Likewise.
30741 (fma_test_upward): Likewise.
30743 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30746 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30750 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30751 namespace for names of struct fields.
30752 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30754 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30755 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30757 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30760 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30762 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30764 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30768 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30771 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30775 definitely overflow as x * y not x * y + z.
30776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30778 * math/libm-test.inc (fma_test): Add more tests.
30779 (fma_test_towardzero): Likewise.
30780 (fma_test_downward): Likewise.
30781 (fma_test_upward): Likewise.
30783 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30787 * include/stub-tag.h: Remove file.
30788 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30790 * manual/maint.texi (Porting): Don't reference it.
30791 * Makerules ($(objpfx)stubs): Likewise.
30792 * dirent/closedir.c: Don't include <stub-tag.h>.
30793 * dirent/dirfd.c: Likewise.
30794 * dirent/fdopendir.c: Likewise.
30795 * dirent/getdents.c: Likewise.
30796 * dirent/getdents64.c: Likewise.
30797 * dirent/opendir.c: Likewise.
30798 * dirent/readdir.c: Likewise.
30799 * dirent/readdir64.c: Likewise.
30800 * dirent/readdir64_r.c: Likewise.
30801 * dirent/readdir_r.c: Likewise.
30802 * dirent/rewinddir.c: Likewise.
30803 * dirent/seekdir.c: Likewise.
30804 * dirent/telldir.c: Likewise.
30805 * gmon/profil.c: Likewise.
30806 * grp/setgroups.c: Likewise.
30807 * inet/if_index.c: Likewise.
30808 * io/access.c: Likewise.
30809 * io/chdir.c: Likewise.
30810 * io/chmod.c: Likewise.
30811 * io/chown.c: Likewise.
30812 * io/close.c: Likewise.
30813 * io/dup.c: Likewise.
30814 * io/dup2.c: Likewise.
30815 * io/dup3.c: Likewise.
30816 * io/euidaccess.c: Likewise.
30817 * io/faccessat.c: Likewise.
30818 * io/fchdir.c: Likewise.
30819 * io/fchmod.c: Likewise.
30820 * io/fchmodat.c: Likewise.
30821 * io/fchown.c: Likewise.
30822 * io/fchownat.c: Likewise.
30823 * io/fcntl.c: Likewise.
30824 * io/flock.c: Likewise.
30825 * io/fstatfs.c: Likewise.
30826 * io/fstatfs64.c: Likewise.
30827 * io/fstatvfs.c: Likewise.
30828 * io/fstatvfs64.c: Likewise.
30829 * io/futimens.c: Likewise.
30830 * io/fxstat.c: Likewise.
30831 * io/fxstat64.c: Likewise.
30832 * io/fxstatat.c: Likewise.
30833 * io/fxstatat64.c: Likewise.
30834 * io/getcwd.c: Likewise.
30835 * io/isatty.c: Likewise.
30836 * io/lchmod.c: Likewise.
30837 * io/lchown.c: Likewise.
30838 * io/link.c: Likewise.
30839 * io/linkat.c: Likewise.
30840 * io/lseek.c: Likewise.
30841 * io/lseek64.c: Likewise.
30842 * io/lxstat64.c: Likewise.
30843 * io/mkdir.c: Likewise.
30844 * io/mkdirat.c: Likewise.
30845 * io/mkfifo.c: Likewise.
30846 * io/mkfifoat.c: Likewise.
30847 * io/open.c: Likewise.
30848 * io/open64.c: Likewise.
30849 * io/openat.c: Likewise.
30850 * io/openat64.c: Likewise.
30851 * io/pipe.c: Likewise.
30852 * io/pipe2.c: Likewise.
30853 * io/poll.c: Likewise.
30854 * io/posix_fadvise.c: Likewise.
30855 * io/posix_fadvise64.c: Likewise.
30856 * io/posix_fallocate.c: Likewise.
30857 * io/posix_fallocate64.c: Likewise.
30858 * io/read.c: Likewise.
30859 * io/readlink.c: Likewise.
30860 * io/readlinkat.c: Likewise.
30861 * io/rmdir.c: Likewise.
30862 * io/sendfile.c: Likewise.
30863 * io/sendfile64.c: Likewise.
30864 * io/statfs.c: Likewise.
30865 * io/statfs64.c: Likewise.
30866 * io/statvfs.c: Likewise.
30867 * io/statvfs64.c: Likewise.
30868 * io/symlink.c: Likewise.
30869 * io/symlinkat.c: Likewise.
30870 * io/ttyname.c: Likewise.
30871 * io/ttyname_r.c: Likewise.
30872 * io/umask.c: Likewise.
30873 * io/unlink.c: Likewise.
30874 * io/unlinkat.c: Likewise.
30875 * io/utime.c: Likewise.
30876 * io/utimensat.c: Likewise.
30877 * io/write.c: Likewise.
30878 * io/xmknod.c: Likewise.
30879 * io/xmknodat.c: Likewise.
30880 * io/xstat.c: Likewise.
30881 * io/xstat64.c: Likewise.
30882 * login/getpt.c: Likewise.
30883 * login/grantpt.c: Likewise.
30884 * login/unlockpt.c: Likewise.
30885 * math/e_acoshl.c: Likewise.
30886 * math/e_acosl.c: Likewise.
30887 * math/e_asinl.c: Likewise.
30888 * math/e_atan2l.c: Likewise.
30889 * math/e_atanhl.c: Likewise.
30890 * math/e_coshl.c: Likewise.
30891 * math/e_expl.c: Likewise.
30892 * math/e_fmodl.c: Likewise.
30893 * math/e_gammal_r.c: Likewise.
30894 * math/e_hypotl.c: Likewise.
30895 * math/e_j0l.c: Likewise.
30896 * math/e_j1l.c: Likewise.
30897 * math/e_jnl.c: Likewise.
30898 * math/e_lgammal_r.c: Likewise.
30899 * math/e_log10l.c: Likewise.
30900 * math/e_log2l.c: Likewise.
30901 * math/e_logl.c: Likewise.
30902 * math/e_powl.c: Likewise.
30903 * math/e_rem_pio2l.c: Likewise.
30904 * math/e_sinhl.c: Likewise.
30905 * math/e_sqrtl.c: Likewise.
30906 * math/fclrexcpt.c: Likewise.
30907 * math/fedisblxcpt.c: Likewise.
30908 * math/feenablxcpt.c: Likewise.
30909 * math/fegetenv.c: Likewise.
30910 * math/fegetexcept.c: Likewise.
30911 * math/fegetround.c: Likewise.
30912 * math/feholdexcpt.c: Likewise.
30913 * math/fesetenv.c: Likewise.
30914 * math/fesetround.c: Likewise.
30915 * math/feupdateenv.c: Likewise.
30916 * math/fgetexcptflg.c: Likewise.
30917 * math/fraiseexcpt.c: Likewise.
30918 * math/fsetexcptflg.c: Likewise.
30919 * math/ftestexcept.c: Likewise.
30920 * math/k_cosl.c: Likewise.
30921 * math/k_rem_pio2l.c: Likewise.
30922 * math/k_sinl.c: Likewise.
30923 * math/k_tanl.c: Likewise.
30924 * math/s_asinhl.c: Likewise.
30925 * math/s_atanl.c: Likewise.
30926 * math/s_cbrtl.c: Likewise.
30927 * math/s_erfl.c: Likewise.
30928 * math/s_expm1l.c: Likewise.
30929 * math/s_log1pl.c: Likewise.
30930 * math/s_tanhl.c: Likewise.
30931 * misc/acct.c: Likewise.
30932 * misc/brk.c: Likewise.
30933 * misc/chflags.c: Likewise.
30934 * misc/chroot.c: Likewise.
30935 * misc/fchflags.c: Likewise.
30936 * misc/fgetxattr.c: Likewise.
30937 * misc/flistxattr.c: Likewise.
30938 * misc/fremovexattr.c: Likewise.
30939 * misc/fsetxattr.c: Likewise.
30940 * misc/fsync.c: Likewise.
30941 * misc/ftruncate.c: Likewise.
30942 * misc/futimes.c: Likewise.
30943 * misc/futimesat.c: Likewise.
30944 * misc/getdomain.c: Likewise.
30945 * misc/getdtsz.c: Likewise.
30946 * misc/gethostid.c: Likewise.
30947 * misc/gethostname.c: Likewise.
30948 * misc/getloadavg.c: Likewise.
30949 * misc/getpagesize.c: Likewise.
30950 * misc/getsysstats.c: Likewise.
30951 * misc/getxattr.c: Likewise.
30952 * misc/gtty.c: Likewise.
30953 * misc/ioctl.c: Likewise.
30954 * misc/lgetxattr.c: Likewise.
30955 * misc/listxattr.c: Likewise.
30956 * misc/llistxattr.c: Likewise.
30957 * misc/lremovexattr.c: Likewise.
30958 * misc/lsetxattr.c: Likewise.
30959 * misc/lutimes.c: Likewise.
30960 * misc/madvise.c: Likewise.
30961 * misc/mincore.c: Likewise.
30962 * misc/mlock.c: Likewise.
30963 * misc/mlockall.c: Likewise.
30964 * misc/mmap.c: Likewise.
30965 * misc/mprotect.c: Likewise.
30966 * misc/msync.c: Likewise.
30967 * misc/munlock.c: Likewise.
30968 * misc/munlockall.c: Likewise.
30969 * misc/munmap.c: Likewise.
30970 * misc/preadv.c: Likewise.
30971 * misc/preadv64.c: Likewise.
30972 * misc/ptrace.c: Likewise.
30973 * misc/pwritev.c: Likewise.
30974 * misc/pwritev64.c: Likewise.
30975 * misc/readv.c: Likewise.
30976 * misc/reboot.c: Likewise.
30977 * misc/remap_file_pages.c: Likewise.
30978 * misc/removexattr.c: Likewise.
30979 * misc/revoke.c: Likewise.
30980 * misc/select.c: Likewise.
30981 * misc/setdomain.c: Likewise.
30982 * misc/setegid.c: Likewise.
30983 * misc/seteuid.c: Likewise.
30984 * misc/sethostid.c: Likewise.
30985 * misc/sethostname.c: Likewise.
30986 * misc/setregid.c: Likewise.
30987 * misc/setreuid.c: Likewise.
30988 * misc/setxattr.c: Likewise.
30989 * misc/sstk.c: Likewise.
30990 * misc/stty.c: Likewise.
30991 * misc/swapoff.c: Likewise.
30992 * misc/swapon.c: Likewise.
30993 * misc/sync.c: Likewise.
30994 * misc/syncfs.c: Likewise.
30995 * misc/syscall.c: Likewise.
30996 * misc/truncate.c: Likewise.
30997 * misc/ualarm.c: Likewise.
30998 * misc/usleep.c: Likewise.
30999 * misc/ustat.c: Likewise.
31000 * misc/utimes.c: Likewise.
31001 * misc/vhangup.c: Likewise.
31002 * misc/writev.c: Likewise.
31003 * posix/_exit.c: Likewise.
31004 * posix/alarm.c: Likewise.
31005 * posix/execve.c: Likewise.
31006 * posix/fexecve.c: Likewise.
31007 * posix/fork.c: Likewise.
31008 * posix/fpathconf.c: Likewise.
31009 * posix/getaddrinfo.c: Likewise.
31010 * posix/getegid.c: Likewise.
31011 * posix/geteuid.c: Likewise.
31012 * posix/getgid.c: Likewise.
31013 * posix/getgroups.c: Likewise.
31014 * posix/getlogin.c: Likewise.
31015 * posix/getlogin_r.c: Likewise.
31016 * posix/getpgid.c: Likewise.
31017 * posix/getpid.c: Likewise.
31018 * posix/getppid.c: Likewise.
31019 * posix/getresgid.c: Likewise.
31020 * posix/getresuid.c: Likewise.
31021 * posix/getsid.c: Likewise.
31022 * posix/getuid.c: Likewise.
31023 * posix/glob64.c: Likewise.
31024 * posix/nanosleep.c: Likewise.
31025 * posix/pathconf.c: Likewise.
31026 * posix/pause.c: Likewise.
31027 * posix/posix_madvise.c: Likewise.
31028 * posix/pread.c: Likewise.
31029 * posix/pread64.c: Likewise.
31030 * posix/pwrite.c: Likewise.
31031 * posix/pwrite64.c: Likewise.
31032 * posix/sched_getaffinity.c: Likewise.
31033 * posix/sched_getp.c: Likewise.
31034 * posix/sched_gets.c: Likewise.
31035 * posix/sched_primax.c: Likewise.
31036 * posix/sched_primin.c: Likewise.
31037 * posix/sched_rr_gi.c: Likewise.
31038 * posix/sched_setaffinity.c: Likewise.
31039 * posix/sched_setp.c: Likewise.
31040 * posix/sched_sets.c: Likewise.
31041 * posix/sched_yield.c: Likewise.
31042 * posix/setgid.c: Likewise.
31043 * posix/setlogin.c: Likewise.
31044 * posix/setpgid.c: Likewise.
31045 * posix/setresgid.c: Likewise.
31046 * posix/setresuid.c: Likewise.
31047 * posix/setsid.c: Likewise.
31048 * posix/setuid.c: Likewise.
31049 * posix/sleep.c: Likewise.
31050 * posix/spawni.c: Likewise.
31051 * posix/sysconf.c: Likewise.
31052 * posix/times.c: Likewise.
31053 * posix/wait.c: Likewise.
31054 * posix/wait3.c: Likewise.
31055 * posix/wait4.c: Likewise.
31056 * posix/waitpid.c: Likewise.
31057 * resolv/gai_sigqueue.c: Likewise.
31058 * resource/getpriority.c: Likewise.
31059 * resource/getrlimit.c: Likewise.
31060 * resource/getrusage.c: Likewise.
31061 * resource/nice.c: Likewise.
31062 * resource/setpriority.c: Likewise.
31063 * resource/setrlimit.c: Likewise.
31064 * resource/ulimit.c: Likewise.
31065 * rt/aio_cancel.c: Likewise.
31066 * rt/aio_fsync.c: Likewise.
31067 * rt/aio_read.c: Likewise.
31068 * rt/aio_sigqueue.c: Likewise.
31069 * rt/aio_suspend.c: Likewise.
31070 * rt/aio_write.c: Likewise.
31071 * rt/clock_getres.c: Likewise.
31072 * rt/clock_gettime.c: Likewise.
31073 * rt/clock_nanosleep.c: Likewise.
31074 * rt/clock_settime.c: Likewise.
31075 * rt/lio_listio.c: Likewise.
31076 * rt/mq_close.c: Likewise.
31077 * rt/mq_getattr.c: Likewise.
31078 * rt/mq_notify.c: Likewise.
31079 * rt/mq_open.c: Likewise.
31080 * rt/mq_receive.c: Likewise.
31081 * rt/mq_send.c: Likewise.
31082 * rt/mq_setattr.c: Likewise.
31083 * rt/mq_timedreceive.c: Likewise.
31084 * rt/mq_timedsend.c: Likewise.
31085 * rt/mq_unlink.c: Likewise.
31086 * rt/shm_open.c: Likewise.
31087 * rt/shm_unlink.c: Likewise.
31088 * rt/timer_create.c: Likewise.
31089 * rt/timer_delete.c: Likewise.
31090 * rt/timer_getoverr.c: Likewise.
31091 * rt/timer_gettime.c: Likewise.
31092 * rt/timer_settime.c: Likewise.
31093 * setjmp/__longjmp.c: Likewise.
31094 * setjmp/setjmp.c: Likewise.
31095 * signal/kill.c: Likewise.
31096 * signal/killpg.c: Likewise.
31097 * signal/raise.c: Likewise.
31098 * signal/sigaction.c: Likewise.
31099 * signal/sigaltstack.c: Likewise.
31100 * signal/sigblock.c: Likewise.
31101 * signal/sigignore.c: Likewise.
31102 * signal/sigintr.c: Likewise.
31103 * signal/signal.c: Likewise.
31104 * signal/sigpause.c: Likewise.
31105 * signal/sigpending.c: Likewise.
31106 * signal/sigqueue.c: Likewise.
31107 * signal/sigreturn.c: Likewise.
31108 * signal/sigset.c: Likewise.
31109 * signal/sigsetmask.c: Likewise.
31110 * signal/sigstack.c: Likewise.
31111 * signal/sigsuspend.c: Likewise.
31112 * signal/sigtimedwait.c: Likewise.
31113 * signal/sigvec.c: Likewise.
31114 * signal/sigwait.c: Likewise.
31115 * signal/sigwaitinfo.c: Likewise.
31116 * signal/sysv_signal.c: Likewise.
31117 * socket/accept.c: Likewise.
31118 * socket/accept4.c: Likewise.
31119 * socket/bind.c: Likewise.
31120 * socket/connect.c: Likewise.
31121 * socket/getpeername.c: Likewise.
31122 * socket/getsockname.c: Likewise.
31123 * socket/getsockopt.c: Likewise.
31124 * socket/isfdtype.c: Likewise.
31125 * socket/listen.c: Likewise.
31126 * socket/recv.c: Likewise.
31127 * socket/recvfrom.c: Likewise.
31128 * socket/recvmsg.c: Likewise.
31129 * socket/send.c: Likewise.
31130 * socket/sendmsg.c: Likewise.
31131 * socket/sendto.c: Likewise.
31132 * socket/setsockopt.c: Likewise.
31133 * socket/shutdown.c: Likewise.
31134 * socket/sockatmark.c: Likewise.
31135 * socket/socket.c: Likewise.
31136 * socket/socketpair.c: Likewise.
31137 * stdio-common/ctermid.c: Likewise.
31138 * stdio-common/cuserid.c: Likewise.
31139 * stdio-common/remove.c: Likewise.
31140 * stdio-common/rename.c: Likewise.
31141 * stdio-common/renameat.c: Likewise.
31142 * stdio-common/tempname.c: Likewise.
31143 * stdlib/getcontext.c: Likewise.
31144 * stdlib/makecontext.c: Likewise.
31145 * stdlib/setcontext.c: Likewise.
31146 * stdlib/swapcontext.c: Likewise.
31147 * stdlib/system.c: Likewise.
31148 * streams/fattach.c: Likewise.
31149 * streams/fdetach.c: Likewise.
31150 * streams/getmsg.c: Likewise.
31151 * streams/getpmsg.c: Likewise.
31152 * streams/putmsg.c: Likewise.
31153 * streams/putpmsg.c: Likewise.
31154 * sysdeps/unix/bsd/getpt.c: Likewise.
31155 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31156 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31157 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31160 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31161 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31162 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31163 * sysvipc/msgctl.c: Likewise.
31164 * sysvipc/msgget.c: Likewise.
31165 * sysvipc/msgrcv.c: Likewise.
31166 * sysvipc/msgsnd.c: Likewise.
31167 * sysvipc/semctl.c: Likewise.
31168 * sysvipc/semget.c: Likewise.
31169 * sysvipc/semop.c: Likewise.
31170 * sysvipc/semtimedop.c: Likewise.
31171 * sysvipc/shmat.c: Likewise.
31172 * sysvipc/shmctl.c: Likewise.
31173 * sysvipc/shmdt.c: Likewise.
31174 * sysvipc/shmget.c: Likewise.
31175 * termios/tcdrain.c: Likewise.
31176 * termios/tcflow.c: Likewise.
31177 * termios/tcflush.c: Likewise.
31178 * termios/tcgetattr.c: Likewise.
31179 * termios/tcgetpgrp.c: Likewise.
31180 * termios/tcsendbrk.c: Likewise.
31181 * termios/tcsetattr.c: Likewise.
31182 * termios/tcsetpgrp.c: Likewise.
31183 * time/adjtime.c: Likewise.
31184 * time/clock.c: Likewise.
31185 * time/getitimer.c: Likewise.
31186 * time/gettimeofday.c: Likewise.
31187 * time/setitimer.c: Likewise.
31188 * time/settimeofday.c: Likewise.
31189 * time/stime.c: Likewise.
31190 * time/time.c: Likewise.
31192 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31194 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31197 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31199 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31201 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31205 FE_TONEAREST before applying Dekker multiplication and Knuth
31206 addition. Clear inexact exceptions and check for exact zero
31207 results afterwards.
31208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31209 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31211 * math/libm-test.inc (fma_test): Add more tests.
31212 (fma_test_towardzero): Likewise.
31213 (fma_test_downward): Likewise.
31214 (fma_test_upward): Likewise.
31215 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31217 (libc_fesetround): New macro.
31218 (libc_fesetroundf): Likewise.
31219 (libc_fesetroundl): Likewise.
31220 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31222 (libc_fesetround_387): Likewise.
31223 (libc_fesetroundf): New macro.
31224 (libc_fesetround): Likewise.
31225 (libc_fesetroundl): Likewise.
31226 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31228 (libc_fesetroundf): New macro.
31229 (libc_fesetround): Likewise.
31230 (libc_fesetroundl): Likewise.
31231 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31232 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31233 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31235 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31236 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31238 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31239 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31241 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31245 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31246 integer constant usable in #if and use that to give value to enum
31248 (FE_DIVBYZERO): Likewise.
31249 (FE_UNDERFLOW): Likewise.
31250 (FE_OVERFLOW): Likewise.
31251 (FE_INVALID): Likewise.
31252 (FE_INVALID_SNAN): Likewise.
31253 (FE_INVALID_ISI): Likewise.
31254 (FE_INVALID_IDI): Likewise.
31255 (FE_INVALID_ZDZ): Likewise.
31256 (FE_INVALID_IMZ): Likewise.
31257 (FE_INVALID_COMPARE): Likewise.
31258 (FE_INVALID_SOFTWARE): Likewise.
31259 (FE_INVALID_SQRT): Likewise.
31260 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31261 (FE_TONEAREST): Likewise.
31262 (FE_TOWARDZERO): Likewise.
31263 (FE_UPWARD): Likewise.
31264 (FE_DOWNWARD): Likewise.
31265 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31266 (FE_DIVBYZERO): Likewise.
31267 (FE_OVERFLOW): Likewise.
31268 (FE_UNDERFLOW): Likewise.
31269 (FE_INEXACT): Likewise.
31270 (FE_TONEAREST): Likewise.
31271 (FE_DOWNWARD): Likewise.
31272 (FE_UPWARD): Likewise.
31273 (FE_TOWARDZERO): Likewise.
31274 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31275 (FE_UNDERFLOW): Likewise.
31276 (FE_OVERFLOW): Likewise.
31277 (FE_DIVBYZERO): Likewise.
31278 (FE_INVALID): Likewise.
31279 (FE_TONEAREST): Likewise.
31280 (FE_TOWARDZERO): Likewise.
31281 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31282 (FE_OVERFLOW): Likewise.
31283 (FE_UNDERFLOW): Likewise.
31284 (FE_DIVBYZERO): Likewise.
31285 (FE_INEXACT): Likewise.
31286 (FE_TONEAREST): Likewise.
31287 (FE_TOWARDZERO): Likewise.
31288 (FE_UPWARD): Likewise.
31289 (FE_DOWNWARD): Likewise.
31290 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31291 (FE_DIVBYZERO): Likewise.
31292 (FE_OVERFLOW): Likewise.
31293 (FE_UNDERFLOW): Likewise.
31294 (FE_INEXACT): Likewise.
31295 (FE_TONEAREST): Likewise.
31296 (FE_DOWNWARD): Likewise.
31297 (FE_UPWARD): Likewise.
31298 (FE_TOWARDZERO): Likewise.
31300 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31302 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31304 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31306 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31307 commands. Quote $PWD.
31308 (blacklist_exports): Don't use remove_newlines. Replace "declare
31310 (remove_newlines): Remove.
31312 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31314 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31315 * stdlib/stdlib.h (atof): Moved to ...
31316 * include/bits/stdlib-float.h: Here. New file.
31317 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31318 * stdlib/bits/stdlib-float.h: New file.
31319 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31324 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31326 * conform/conformtest.pl (@headers): Add fenv.h.
31327 * conform/data/fenv.h-data: New file.
31328 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31329 include of <math/fenv.h>.
31331 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31332 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31333 && !UNIX98]. Enables tests for XOPEN2K8.
31334 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31335 POSIX2008]: Likewise.
31337 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31338 (struct rusage): Do not expect type or its members.
31341 * math/math.h (FP_NAN): Define macro to integer constant usable in
31342 #if and use that to give value to enum constant.
31343 (FP_INFINITE): Likewise.
31344 (FP_ZERO): Likewise.
31345 (FP_SUBNORMAL): Likewise.
31346 (FP_NORMAL): Likewise.
31348 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31350 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31351 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31354 2012-11-02 Roland McGrath <roland@hack.frob.com>
31356 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31357 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31358 autoconf-time if not.
31359 * configure.in: Remove AC_PREREQ.
31361 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31363 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31364 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31365 of the internal implementation.
31367 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31369 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31370 except include of <misc/sys/syslog.h>.
31372 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31375 function returns with a NULL context exit with zero.
31377 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31379 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31381 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31383 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31384 (run_program_cmd): This.
31385 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31386 (tst_langinfo): New variable. Use it.
31388 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31390 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31391 floating point opcodes.
31393 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31395 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31398 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31400 * sysdeps/mach/hurd/powerpc: Remove directory.
31401 * sysdeps/mach/powerpc: Likewise.
31403 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31405 * scripts/check-local-headers.sh: Ignore c++ headers.
31407 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31409 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31410 __libc_cleanup_region_start argument.
31412 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31417 x * y using scaling, not as x * y + z.
31418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31420 * math/libm-test.inc (fma_test): Add more tests.
31421 (fma_test_towardzero): Likewise.
31422 (fma_test_downward): Likewise.
31423 (fma_test_upward): Likewise.
31425 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31427 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31429 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31431 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31434 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31436 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31438 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31445 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31448 Fix the order of the list for glibc 2.17.
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31452 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31456 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31460 for low part of x being zero before using __atanl (y).
31461 * math/libm-test.inc (atan2_test): Add another test.
31463 * manual/install.texi (Configuring and compiling): Document
31464 general use of test-wrapper and test-wrapper-env.
31465 * INSTALL: Regenerated.
31467 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31468 (__fma): Do not extract and scale down low bits on after-rounding
31469 systems when result rounded to normal precision would have normal
31471 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31472 (__fmal): Do not extract and scale down low bits on after-rounding
31473 systems when result rounded to normal precision would have normal
31475 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31476 (__fmal): Do not extract and scale down low bits on after-rounding
31477 systems when result rounded to normal precision would have normal
31479 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31481 (fma_test): Add more tests.
31482 (fma_test_towardzero): Likewise.
31483 (fma_test_downward): Likewise.
31484 (fma_test_upward): Likewise.
31486 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31488 * sysdeps/i386/tininess.h: Renamed to ...
31489 * sysdeps/x86/tininess.h: This.
31490 * sysdeps/x86_64/tininess.h: Removed.
31492 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31494 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31495 input. Use $(build-program-cmd).
31496 ($(objpfx)tst-array1-static.out): Likewise.
31497 ($(objpfx)tst-array2.out): Likewise.
31498 ($(objpfx)tst-array3.out): Likewise.
31499 ($(objpfx)tst-array4.out): Likewise.
31500 ($(objpfx)tst-array5.out): Likewise.
31501 ($(objpfx)tst-array5-static.out): Likewise.
31503 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31505 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31508 * nss/nsswitch.h (nss_interface_function): Provide new
31509 macro for use with NSS functions.
31510 * grp/initgroups.c: Use new macro.
31511 * nss/getXXbyYY.c: Likewise.
31512 * nss/getXXbyYY_r.c: Likewise.
31513 * nss/getXXent.c: Likewise.
31514 * nss/getXXent_r.c: Likewise.
31515 * sysdeps/posix/getaddrinfo.c: Likewise.
31517 2012-10-30 Andreas Jaeger <aj@suse.de>
31519 * po/ru.po: Update Russion translation from translation project.
31521 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31526 result and shift together with sticky bit instead of replicating
31527 round-to-nearest rounding.
31528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31530 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31531 missing underflow exceptions.
31532 (fma_test_towardzero): Add more tests.
31533 (fma_test_downward): Likewise.
31534 (fma_test_upward): Likewise.
31537 * sysdeps/generic/tininess.h: New file.
31538 * sysdeps/i386/tininess.h: Likewise.
31539 * sysdeps/sh/tininess.h: Likewise.
31540 * sysdeps/x86_64/tininess.h: Likewise.
31541 * stdlib/tst-strtod-underflow.c: Likewise.
31542 * stdlib/tst-tininess.c: Likewise.
31543 * stdlib/strtod_l.c: Include <tininess.h>.
31544 (round_and_return): Do not set errno for exact underflow cases.
31545 Force an underflow exception when setting errno for underflow.
31546 Determine underflow based on rounding to normal precision if
31547 TININESS_AFTER_ROUNDING.
31548 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31549 ERANGE for exact underflow cases.
31550 * stdlib/Makefile (tests): Add tst-tininess and
31551 tst-strtod-underflow.
31552 ($(objpfx)tst-tininess): Use $(link-libm).
31553 ($(objpfx)tst-strtod-underflow): Likewise.
31555 2012-10-30 Andreas Jaeger <aj@suse.de>
31558 * elf/Makefile (tests): Remove conditional for have-initfini-array
31559 since this is now always required and the variable does not exist
31561 (tests-static): Likewise.
31562 (modules-names): Likewise.
31564 * po/eo.po: Add Esperanto translation from translation project.
31566 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31567 merged with constructor/destructor.
31568 (init_array): Likewise.
31569 * elf/tst-array2dep.c (fini_array): Likewise.
31570 (init_array): Likewise.
31572 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31574 * manual/message.texi: Delete @cartouche tags.
31576 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31578 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31580 * sysdeps/mach/hurd/fsync.c: Likewise.
31582 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31583 [_POSIX_REALTIME_SIGNALS]: Change condition to
31584 [_POSIX_REALTIME_SIGNALS > 0].
31586 2012-10-27 Andreas Jaeger <aj@suse.de>
31588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31589 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31591 [__WORDSIZE != 64]: Likewise.
31593 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31595 * iconvdata/tst-table.sh: Remove ${SHELL}.
31596 * iconvdata/tst-tables.sh: Likewise.
31598 2012-10-25 David S. Miller <davem@davemloft.net>
31600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31601 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31606 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31607 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31608 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31611 2012-10-25 Roland McGrath <roland@hack.frob.com>
31613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31614 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31617 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31618 Jim Blandy <jimb@codesourcery.com>
31620 * scripts/cross-test-ssh.sh: New file.
31621 * manual/install.texi (Configuring and compiling): Document use of
31623 * INSTALL: Regenerated.
31625 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31627 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31630 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31632 * Makeconfig (run-program-prefix): Fix comment.
31634 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31635 Jim Blandy <jimb@codesourcery.com>
31637 * Makeconfig (test-wrapper): New variable,
31638 (test-wrapper-env): Likewise.
31639 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31640 (run-built-tests): Define to yes.
31641 (run-program-prefix): Use $(test-wrapper).
31642 (built-program-cmd): Likewise.
31643 * Rules (make-test-out): Use $(test-wrapper-env) and
31644 $(host-built-program-cmd).
31645 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31646 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31648 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31649 $(test-wrapper-env) to tst-rtld-load-self.sh.
31650 ($(objpfx)order2.out): Use $(test-wrapper).
31651 ($(objpfx)tst-initorder.out): Likewise.
31652 ($(objpfx)tst-initorder2.out): Likewise.
31653 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31654 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31655 (test_wrapper_env): New variable. Use it to run ld.so.
31656 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31657 Use it to run ld.so.
31658 (test_wrapper_env): Likewise.
31659 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31660 $(test-wrapper) to run-iconv-test.sh.
31661 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31662 (ICONV): Use $test_wrapper.
31663 * posix/Makefile ($(objpfx)globtest.out): Pass
31664 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31665 globtest.sh, not $(run-program-prefix).
31666 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31667 (test_wrapper): Likewise.
31668 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31669 set together with run_via_rtld_prefix.
31670 (run_program_prefix): Define in terms of test_wrapper and
31671 run_via_rtld_prefix.
31673 2012-10-24 Roland McGrath <roland@hack.frob.com>
31675 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31676 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31680 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31681 Declare __clock_getres, __clock_gettime, __clock_settime,
31682 __clock_nanosleep, and __clock_getcpuclockid.
31683 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31684 Remove librt_hidden_def (clock_gettime).
31685 * sysdeps/unix/clock_gettime.c: Likewise.
31686 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31687 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31688 * rt/clock_getres.c: Define __clock_getres as an alias.
31689 * sysdeps/posix/clock_getres.c: Likewise.
31690 * rt/clock_settime.c: Define __clock_settime as an alias.
31691 * sysdeps/unix/clock_settime.c: Likewise.
31692 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31693 * sysdeps/unix/clock_nanosleep.c: Likewise.
31694 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31695 * rt/clock-compat.c: New file.
31696 * rt/Makefile (librt-routines): Add clock-compat and move
31697 $(clock-routines) to ...
31698 (routines): ... here, new variable.
31699 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31700 Don't add get_clockfreq here.
31701 * rt/Versions (libc: GLIBC_2.17): New version set.
31702 Add clock_* symbols here.
31703 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31705 (GLIBC_2.17): Add clock_* symbols.
31706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31717 * NEWS: Mention the move.
31719 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31720 Use __open, __read, __close rather than their public counterparts.
31721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31722 (__get_clockfreq_via_cpuinfo): Likewise.
31723 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31724 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31726 * config.h.in (HAVE_IFUNC): New #undef.
31727 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31729 * configure: Regenerated.
31731 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31733 * configure.in: Move READELF check to start of file.
31734 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31735 libc_cv_asm_gnu_indirect_function in the process.
31736 * configure: Regenerated.
31738 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31740 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31741 send the output to /dev/null.
31742 (libc_cv_cc_with_libunwind): Likewise.
31743 (libc_cv_as_noexecstack): Likewise.
31744 * configure: Regenerate.
31746 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31748 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31750 * posix/globtest.sh (TMPDIR): Do not set.
31751 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31752 (testout): Likewise.
31754 2012-10-24 Andreas Jaeger <aj@suse.de>
31756 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31757 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31758 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31759 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31760 posix_fadvise64, posix_fallocate64.
31762 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31763 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31764 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31766 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31768 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31771 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31772 <bits/fcntl-linux.h>.
31773 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31776 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31777 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31778 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31779 [__WORDSIZE != 64]: Likewise.
31781 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31783 * Makeconfig (run-built-tests): New variable.
31784 * Rules [$(cross-compiling) = yes]: Change condition to
31785 [$(run-built-tests) = no].
31786 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31787 to [$(run-built-tests) = yes].
31788 * elf/Makefile [$(cross-compiling) = no]: Likewise
31789 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31790 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31791 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31792 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31793 * io/Makefile [$(cross-compiling) = no]: Likewise.
31794 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31795 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31796 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31797 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31798 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31799 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31800 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31801 * string/Makefile [$(cross-compiling) = no]: Likewise.
31803 * posix/Makefile ($(objpfx)globtest.out): Pass
31804 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31805 $(rtld-installed-name).
31806 * posix/globtest.sh (elf_objpfx): Remove variable.
31807 (rtld_installed_name): Likewise.
31808 (library_path): Likewise.
31809 (run_program_prefix): New variable. Use for running globtest
31812 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31813 Joseph Myers <joseph@codesourcery.com>
31815 * Makeconfig (host-built-program-cmd): New variable.
31816 * elf/Makefile (tst-stackguard1-ARGS): Use
31817 $(host-built-program-cmd).
31818 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31819 (tst-spawn-ARGS): Likewise.
31820 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31822 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31823 Jim Blandy <jimb@codesourcery.com>
31825 * Makeconfig (run-via-rtld-prefix): New variable.
31826 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31827 (built-program-cmd): Likewise.
31829 2012-10-22 Andreas Jaeger <aj@suse.de>
31831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31832 __O_RSYNC if it exists, otherwise to O_SYNC.
31834 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31835 Joseph Myers <joseph@codesourcery.com>
31837 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31839 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31841 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31844 2012-10-22 Andreas Jaeger <aj@suse.de>
31846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31851 bits/fcntl-linux.h.
31853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31854 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31861 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31862 Joseph Myers <joseph@codesourcery.com>
31864 * config.make.in (NM): New variable.
31866 2012-10-21 Andreas Jaeger <aj@suse.de>
31868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31869 definitions and declarations that are provided by
31870 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31872 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31875 * elf/Makefile (tests-static): Add tst-leaks1-static.
31876 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31877 ($(objpfx)tst-leaks1-static): New rule.
31878 ($(objpfx)tst-leaks1-static-mem): Likewise.
31879 (tst-leaks1-static-ENV): New macro.
31880 * elf/dl-open.c (dl_open_worker): Check the main application
31881 only if SHARED is defined.
31882 * elf/tst-leaks1-static.c: New file.
31884 2012-10-20 Andreas Jaeger <aj@suse.de>
31886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31887 generic values for Linux.
31888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31889 and declarations that are provided by <bits/fcntl-linux.h> and
31890 include <bits/fcntl-linux.h>.
31891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31894 2012-10-20 Roland McGrath <roland@hack.frob.com>
31896 * io/fcntl.h: Move include of <bits/types.h> to the top and
31897 include it unconditionally.
31899 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31901 * wcsmbs/Makefile (tests-ifunc): New variable.
31902 (tests): Add $(tests-ifunc).
31903 * wcsmbs/test-wcschr-ifunc.c: New file.
31904 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31905 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31906 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31907 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31908 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31910 * string/Makefile (tests-ifunc): New variable.
31911 (tests): Add $(tests-ifunc).
31912 * string/test-memccpy.c (TEST_NAME): New macro.
31913 * string/test-memchr.c (TEST_NAME): Likewise.
31914 * string/test-memcmp.c (TEST_NAME): Likewise.
31915 * string/test-memcpy.c (TEST_NAME): Likewise.
31916 * string/test-memmem.c (TEST_NAME): Likewise.
31917 * string/test-memmove.c (TEST_NAME): Likewise.
31918 * string/test-memset.c (TEST_NAME): Likewise.
31919 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31920 * string/test-stpcpy.c (TEST_NAME): Likewise.
31921 * string/test-stpncpy.c (TEST_NAME): Likewise.
31922 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31923 * string/test-strcasestr.c (TEST_NAME): Likewise.
31924 * string/test-strcat.c (TEST_NAME): Likewise.
31925 * string/test-strchr.c (TEST_NAME): Likewise.
31926 * string/test-strcmp.c(TEST_NAME): Likewise.
31927 * string/test-strcpy.c (TEST_NAME): Likewise.
31928 * string/test-strcspn.c (TEST_NAME): Likewise.
31929 * string/test-strlen.c (TEST_NAME): Likewise.
31930 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31931 * string/test-strncmp.c (TEST_NAME): Likewise.
31932 * string/test-strncpy.c (TEST_NAME): Likewise.
31933 * string/test-strnlen.c (TEST_NAME): Likewise.
31934 * string/test-strpbrk.c (TEST_NAME): Likewise.
31935 * string/test-strrchr.c (TEST_NAME): Likewise.
31936 * string/test-strspn.c (TEST_NAME): Likewise.
31937 * string/test-strstr.c (TEST_NAME): Likewise.
31938 * string/test-bcopy-ifunc.c: New file.
31939 * string/test-bzero-ifunc.c: Likewise.
31940 * string/test-memccpy-ifunc.c: Likewise.
31941 * string/test-memchr-ifunc.c: Likewise.
31942 * string/test-memcmp-ifunc.c: Likewise.
31943 * string/test-memcpy-ifunc.c: Likewise.
31944 * string/test-memmem-ifunc.c: Likewise.
31945 * string/test-memmove-ifunc.c: Likewise.
31946 * string/test-mempcpy-ifunc.c: Likewise.
31947 * string/test-memset-ifunc.c: Likewise.
31948 * string/test-rawmemchr-ifunc.c: Likewise.
31949 * string/test-stpcpy-ifunc.c: Likewise.
31950 * string/test-stpncpy-ifunc.c: Likewise.
31951 * string/test-strcasecmp-ifunc.c: Likewise.
31952 * string/test-strcasestr-ifunc.c: Likewise.
31953 * string/test-strcat-ifunc.c: Likewise.
31954 * string/test-strchr-ifunc.c: Likewise.
31955 * string/test-strchrnul-ifunc.c: Likewise.
31956 * string/test-strcmp-ifunc.c: Likewise.
31957 * string/test-strcpy-ifunc.c: Likewise.
31958 * string/test-strcspn-ifunc.c: Likewise.
31959 * string/test-strlen-ifunc.c: Likewise.
31960 * string/test-strncasecmp-ifunc.c: Likewise.
31961 * string/test-strncat-ifunc.c: Likewise.
31962 * string/test-strncmp-ifunc.c: Likewise.
31963 * string/test-strncpy-ifunc.c: Likewise.
31964 * string/test-strnlen-ifunc.c: Likewise.
31965 * string/test-strpbrk-ifunc.c: Likewise.
31966 * string/test-strrchr-ifunc.c: Likewise.
31967 * string/test-strspn-ifunc.c: Likewise.
31968 * string/test-strstr-ifunc.c: Likewise.
31970 * debug/Makefile (tests-ifunc): New variable.
31971 (tests): Add $(tests-ifunc).
31972 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31973 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31974 * debug/test-stpcpy_chk-ifunc.c: New file.
31975 * debug/test-strcpy_chk-ifunc.c: Likewise.
31977 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31980 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31981 header is not read in.
31983 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31985 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31986 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31987 directly. Pass built executable to script as
31988 $(built-program-cmd).
31989 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31990 $testprogram without using LD_LIBRARY_PATH and $ldso.
31992 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31993 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31994 $(rtld-installed-name).
31995 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31996 (rtld_installed_name): Likewise.
31997 (library_path): Likewise.
31998 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31999 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32000 $(run-program-prefix) to tst-tables.sh.
32001 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32002 it to run tst-table-from and tst-table-to.
32003 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32004 Pass it to tst-table.sh.
32005 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32006 $(run-program-prefix) to tst-gettext.sh.
32007 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32009 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32011 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32012 to run tst-gettext.
32013 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32014 to run tst-gettext2.
32015 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32016 to run tst-translit.
32017 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32018 $(run-program-prefix) to tst-mtrace.sh.
32019 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32021 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32022 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32023 $(rtld-installed-name).
32024 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32025 (rtld_installed_name): Likewise.
32026 (run_program_prefix): New variable. Use it to run wordexp-test.
32028 * Makeconfig (ARCH): Remove all definitions.
32029 (machine): Likewise.
32030 [ARCH]: Remove conditional code.
32031 [!objdir]: Give error.
32032 [!objdir] (objpfx): Remove.
32033 [!objdir] (common-objpfx): Likewise.
32034 [!objdir] (common-objdir): Likewise.
32035 * configure.in (config_makefile): Remove. Hardcode Makefile in
32036 AC_CONFIG_FILES call.
32037 * configure: Regenerated.
32040 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32042 (testout): Likewise.
32044 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32045 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32046 $(rtld-installed-name).
32047 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32048 (rtld_installed_name): Likwise.
32049 (runit): Remove function.
32050 (run_getconf): New variable, Use it for running getconf binary.
32052 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32055 * string/test-memmem.c (check_result): New function.
32056 (do_one_test): Use it.
32057 (check1): New function.
32058 (test_main): Use it.
32060 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32062 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32064 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32066 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32067 (_G_LSEEK64): Likewise.
32068 (_G_MMAP64): Likewise.
32069 (_G_FSTAT64): Likewise.
32070 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32071 (_G_LSEEK64): Likewise.
32072 (_G_MMAP64): Likewise.
32073 (_G_FSTAT64): Likewise.
32074 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32075 unconditional. Call __mmap64 directly.
32076 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32077 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32078 __lseek64 directly.
32079 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32080 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32082 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32083 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32084 __lseek64 directly.
32085 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32086 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32087 __lseek64 directly.
32088 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32089 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32090 __lseek64 directly.
32091 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32092 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32093 __fxstat64 directly.
32094 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32095 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32097 (freopen64) [!_G_OPEN64]: Remove conditional code.
32098 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32100 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32101 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32103 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32104 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32106 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32107 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32109 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32110 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32112 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32113 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32115 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32116 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32118 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32120 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32123 * manual/memory.texi (Malloc Tunable Parameters): Add note
32124 about free list pointers overwriting some perturb bytes.
32125 Wording suggested by Roland McGrath.
32127 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32129 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32130 (lgamma_test): Likewise.
32131 (tgamma_test): Likewise.
32133 2012-10-16 Florian Weimer <fweimer@redhat.com>
32136 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32137 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32139 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32141 * NEWS: Mention BZ #14716.
32142 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32143 when removing AVAILABLE1_USES_J macro.
32145 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32147 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32148 (__bswap_64): __uint64_t for unsigned 64-bit int.
32150 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32152 * include/string.h (memmem): Declare libc hidden alias.
32153 * string/memmem.c (memmem): Define libc hidden alias.
32154 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32155 __read, __close instead of open, read, close.
32157 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32160 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32162 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32163 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32164 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32166 (__rawmemchr_sse2): Likewise.
32167 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32168 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32169 (__strchr_sse2): Likewise.
32170 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32171 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32172 (__strcasecmp_sse2): Likewise.
32173 (__strncasecmp_sse2): Likewise.
32174 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32175 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32176 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32177 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32178 (__strrchr_sse2): Likewise.
32179 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32181 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32182 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32183 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32185 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32186 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32187 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32188 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32189 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32190 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32191 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32192 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32193 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32194 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32195 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32196 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32197 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32198 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32199 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32200 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32201 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32202 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32203 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32204 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32205 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32206 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32207 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32208 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32209 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32210 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32212 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32214 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32215 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32216 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32217 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32219 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32221 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32222 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32223 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32224 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32226 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32227 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32228 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32229 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32230 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32231 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32232 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32233 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32234 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32235 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32236 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32237 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32238 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32239 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32240 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32241 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32242 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32243 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32244 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32245 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32246 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32247 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32248 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32249 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32251 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32252 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32253 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32254 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32255 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32256 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32257 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32258 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32259 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32260 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32261 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32262 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32263 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32264 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32265 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32266 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32268 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32269 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32270 * include/ifunc-impl-list.h: New file.
32271 * misc/ifunc-impl-list.c: Likewise.
32272 * misc/Makefile (routines): Add ifunc-impl-list.
32273 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32274 * string/test-string.h: Include <ifunc-impl-list.h>.
32275 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32276 TEST_NAME]: New variables.
32277 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32279 (test_init): Call __libc_ifunc_impl_list to initialize
32280 func_list if TEST_IFUNC and TEST_NAME are defined.
32282 * string/Makefile (strop-tests): Add bcopy and bzero.
32283 * string/test-bcopy.c: New file.
32284 * string/test-bzero.c: Likewise.
32285 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32287 * string/test-memset.c: Support bzero test if TEST_BZERO is
32289 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32291 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32293 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32296 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32298 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32299 * configure: Regenerated.
32301 * Makeconfig (+link-static-before-libc): Don't include
32302 $(link-static-libc).
32304 * libio/libio.h (_IO_pos_t): Remove.
32306 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32308 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32311 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32313 * crypt/crypt-entry.c: Include fips-private.h.
32314 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32315 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32316 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32317 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32319 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32321 * crypt/crypt-private.h: Include stdbool.h.
32322 (_ufc_setup_salt_r): Return bool.
32323 * crypt/crypt-entry.c: Include errno.h.
32324 (__crypt_r): Return NULL with EINVAL for bad salt.
32325 * crypt/crypt_util.c (bad_for_salt): New.
32326 (_ufc_setup_salt_r): Check that salt is long enough and within
32327 the specified alphabet.
32328 * crypt/badsalttest.c: New file.
32329 * crypt/Makefile (tests): Add it.
32330 ($(objpfx)badsalttest): New.
32332 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32334 * NEWS: Add entry for BZ #14602.
32336 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32338 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32340 * math/libm-test.inc: Update comment listing what functions and
32342 (isgreater_test): New function.
32343 (isgreaterequal_test): Likewise.
32344 (isless_test): Likewise.
32345 (islessequal_test): Likewise.
32346 (islessgreater_test): Likewise.
32347 (isunordered_test): Likewise.
32348 (main): Call the new functions.
32350 2012-10-09 Roland McGrath <roland@hack.frob.com>
32352 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32353 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32354 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32355 * sysdeps/i386/configure: Regenerated.
32356 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32357 * sysdeps/mach/configure: Regenerated.
32358 * sysdeps/mach/hurd/configure: Regenerated.
32359 * sysdeps/powerpc/configure: Regenerated.
32360 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32361 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32362 * sysdeps/s390/s390-32/configure: Regenerated.
32363 * sysdeps/s390/s390-64/configure: Regenerated.
32364 * sysdeps/sh/configure: Regenerated.
32365 * sysdeps/sparc/configure: Regenerated.
32366 * sysdeps/unix/sysv/linux/configure: Regenerated.
32367 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32368 * sysdeps/x86_64/configure: Regenerated.
32370 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32371 defined. Don't check if MAP is NULL.
32373 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32375 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32376 (_G_stat64): Likewise.
32377 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32378 (_G_stat64): Likewise.
32379 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32380 instead of struct _G_stat64.
32381 * libio/fileops.c (mmap_remap_check): Likewise.
32382 (decide_maybe_mmap): Likewise.
32383 (_IO_new_file_seekoff): Likewise.
32384 (_IO_file_stat): Likewise.
32385 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32387 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32388 instead of struct _G_stat64.
32389 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32391 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32394 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32396 (CHECK_EOL): New macro.
32397 (two_way_short_needle): Check beginning of haystack for EOL. Use
32399 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32400 Replace with CHECK_EOL.
32401 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32402 Replace with CHECK_EOL.
32404 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32406 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32408 * math/libm-test.inc: Update comment listing what functions and
32410 (finite_test): New function.
32411 (isinf_test): Likewise.
32412 (isnan_test): Likewise.
32413 (fpclassify_test): Test subnormal input.
32414 (isfinite_test): Likewise.
32415 (isnormal_test): Likewise.
32416 (main): Call the new functions.
32418 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32421 * Makerules (%.dynsym): Force C locale when running
32422 $(OBJDUMP) --dynamic-syms.
32424 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32426 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32429 2012-10-06 David S. Miller <davem@davemloft.net>
32431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32432 upper 32-bits of the length value in %o2 since we use branch-on-register
32433 tests which consider the entire 64-bit register.
32435 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32437 * string/test-strstr.c (check2): Add a test for page boundary.
32439 2012-10-05 David S. Miller <davem@davemloft.net>
32441 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32442 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32444 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32446 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32447 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32448 and bzero when HWCAP_SPARC_CRYPTO is present.
32450 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32453 * string/test-strstr.c (check2): New function.
32454 (test_main): Call check2.
32456 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32458 * string/bug-strcasestr1.c (do_test): Moved to ...
32459 * string/test-strcasestr.c (check1): Here. New function.
32460 (do_one_test): Break out result checking code into ...
32461 (check_result): This. New function.
32462 (do_one_test): Call check_result.
32463 (test_main): Call check1.
32464 * string/bug-strchr1.c (do_test): Moved to ...
32465 * string/test-strchr.c (check1): Here. New function.
32466 (do_one_test): Break out result checking code into ...
32467 (check_result): This. New function.
32468 (do_one_test): Call check_result.
32469 (test_main): Call check1.
32470 * string/bug-strstr1.c (main): Moved to ...
32471 * string/test-strstr.c (check1): Here. New function.
32472 (do_one_test): Break out result checking code into ...
32473 (check_result): This. New function.
32474 (do_one_test): Call check_result.
32475 (test_main): Call check1.
32476 * string/bug-strcasestr1.c: Removed.
32477 * string/bug-strchr1.c: Likewise.
32478 * string/bug-strstr1.c: Likewise.
32480 * elf/Makefile (dl-routines): Add hwcaps.
32481 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32482 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32483 (_dl_important_hwcaps): Moved to ...
32484 * elf/dl-hwcaps.c: Here. New file.
32485 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32488 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32489 if IS_IN_rtld isn't defined.
32491 * elf/dl-support.c (_dl_sysinfo_map): New.
32492 Include "get-dynamic-info.h" and "setup-vdso.h".
32493 (_dl_non_dynamic_init): Call setup_vdso.
32494 * elf/dynamic-link.h: Don't include <assert.h>.
32495 (elf_get_dynamic_info): Moved to ...
32496 * elf/get-dynamic-info.h: Here. New file.
32497 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32498 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32499 * elf/setup-vdso.h: Here. New file.
32500 * elf/rtld.c: Include "setup-vdso.h".
32501 (dl_main): Call setup_vdso.
32503 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32505 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32506 creal in comment listing functions tested. List finite, isinf,
32507 isnan, isless, islessequal, isgreater, isgreaterequal,
32508 islessgreater, isunordered, lgamma_r and pow10 as functions and
32509 macros not tested. Mention which functions not tested are aliases
32510 for other functions. Fix typo. Note that signs of NaNs are not
32513 * scripts/config.guess: Update from config.git.
32514 * scripts/config.sub: Likewise.
32516 2012-10-04 Roland McGrath <roland@hack.frob.com>
32518 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32519 * misc/madvise.c (madvise): Renamed to __madvise.
32520 Make madvise a weak alias.
32521 * include/sys/mman.h: Declare __madvise.
32522 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32523 * sysdeps/unix/syscalls.list
32524 (madvise): Make __madvise the strong name, and madvise a weak alias.
32525 * sysdeps/unix/sysv/linux/syscalls.list
32526 (madvise, mmap): Remove redundant entries.
32527 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32528 * malloc/malloc.c (mtrim): Likewise.
32529 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32531 2012-10-03 Roland McGrath <roland@hack.frob.com>
32533 * sysdeps/mach/hurd/dl-cache.c: File removed.
32534 * config.h.in (USE_LDCONFIG): New #undef.
32535 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32536 * configure: Regenerated.
32537 * elf/Makefile (dl-routines): Add dl-cache only under
32538 [$(use-ldconfig) = yes].
32539 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32540 cache on [USE_LDCONFIG].
32541 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32543 * elf/rtld.c (dl_main): Likewise.
32545 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32547 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32548 _SC_LEVEL4_CACHE_LINESIZE.
32550 2012-10-03 Roland McGrath <roland@hack.frob.com>
32552 * sysdeps/unix/bsd/confstr.h: File removed.
32554 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32556 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32559 2012-10-02 Roland McGrath <roland@hack.frob.com>
32561 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32562 Make 'mapoff' field ElfW(Off) rather than off_t.
32564 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32566 * nscd/Makefile: Remove nscd-cflags and all its users.
32567 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32568 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32571 * malloc.c (malloc_printerr): Clarify error message.
32573 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32577 Set bit_FMA_Usable if FMA is supported.
32578 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32580 (bit_FMA4_Usable): Updated.
32581 (index_FMA_Usable): New macro.
32582 (CPUID_FMA): Likewise
32583 (HAS_FMA): Defined with bit_FMA_Usable.
32585 2012-10-01 Roland McGrath <roland@hack.frob.com>
32587 * bits/types.h (__swblk_t): Type removed.
32588 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32589 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32591 (__SWBLK_T_TYPE): Likewise.
32592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32593 (__SWBLK_T_TYPE): Likewise.
32594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32595 (__SWBLK_T_TYPE): Likewise.
32596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32597 (__SWBLK_T_TYPE): Likewise.
32599 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32600 Honza Horak <hhorak@redhat.com>
32602 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32603 (xdr_mapname): Use YPMAXMAP as maxsize.
32604 (xdr_peername): Use YPMAXPEER as maxsize.
32605 (xdr_keydat): Use YPAXRECORD as maxsize.
32606 (xdr_valdat): Use YPMAXRECORD as maxsize.
32608 2012-10-01 Roland McGrath <roland@hack.frob.com>
32610 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32612 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32613 * csu/init-first.c: ... here.
32614 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32615 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32617 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32618 * sysdeps/i386/init-first.c: File removed.
32619 * sysdeps/sh/init-first.c: File removed.
32621 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32625 if x * y might underflow to zero and z is zero.
32626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32628 * math/libm-test.inc (min_subnorm_value): New variable.
32629 (fma_test): Add more tests.
32630 (fma_test_towardzero): Likewise.
32631 (fma_test_downward): Likewise
32632 (fma_test_upward): Likewise.
32633 (initialize): Set min_subnorm_value.
32635 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32641 mode for addition resulting in exact zero.
32642 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32645 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32647 * math/libm-test.inc (fma_test): Add more tests.
32648 (fma_test_towardzero): New function.
32649 (fma_test_downward): Likewise.
32650 (fma_test_upward): Likewise.
32651 (main): Call the new functions.
32653 2012-09-28 David S. Miller <davem@davemloft.net>
32655 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32657 2012-09-28 Roland McGrath <roland@hack.frob.com>
32659 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32660 instead of SIGALRM.
32662 * sysdeps/gnu/_G_config.h: Moved to ...
32663 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32664 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32665 * sysdeps/generic/_G_config.h: ... here.
32667 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32669 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32671 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32672 Conditionalize target on [libnss_test1.so-version].
32674 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32676 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32677 (elfobjdir): Move out of conditionals.
32679 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32680 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32681 (__nss_lookup_function): Conditionalize label remove_from_tree on
32682 [!DO_STATIC_NSS || SHARED], matching its only use.
32684 2012-09-28 David S. Miller <davem@davemloft.net>
32686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32687 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32689 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32691 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32693 when HWCAP_SPARC_CRYPTO is present.
32695 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32697 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32699 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32702 * stdio-common/vfprintf.c (process_string_arg): Revert
32705 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32707 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32709 * stdio-common/tst-sprintf.c: Include <locale.h>
32710 (main): Test sprintf's handling of incomplete multibyte
32713 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32715 * elf/dl-runtime.c (VERSYMIDX): Removed.
32716 * elf/dl-version.c (VERSYMIDX): Likewise.
32717 * elf/do-rel.h (VERSYMIDX): Likewise.
32718 (VALIDX): Likewise.
32719 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32720 * elf/rtld.c (VALIDX): Likewise.
32721 (ADDRIDX): Likewise.
32722 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32723 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32724 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32725 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32726 (VALIDX): Likewise.
32727 (ADDRIDX): Likewise.
32729 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32731 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32733 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32736 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32738 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32739 addresses are in the same scope as 192.0.2/24.
32740 * posix/gai.conf: Document new scope table defaults.
32742 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32745 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32746 for ftell. Compute offsets from write pointers instead.
32747 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32749 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32752 * libio/Makefile (tests): New test case tst-fseek.
32753 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32754 combination works in wide mode.
32755 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32756 state when the external buffer state changes.
32758 2012-09-27 David S. Miller <davem@davemloft.net>
32761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32762 pass reloc->r_addend in as the 'high' argument to
32763 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32767 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32769 * rt/tst-aio2.c: Include <pthread.h>.
32770 * rt/tst-aio3.c: Likewise.
32772 2012-09-27 Steve Ellcey <sellcey@mips.com>
32774 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32776 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32779 contents on [SHARED].
32781 2012-09-26 Marek Polacek <polacek@redhat.com>
32785 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32786 for C++ and GCC <4.3 as well as for non GCC compilers.
32788 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32792 2012-09-25 Roland McGrath <roland@hack.frob.com>
32794 * Makefile.in (all, install): Declare with .PHONY.
32795 Reported by Michael Hope <michael.hope@linaro.org>.
32797 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32799 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32800 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32802 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32804 (sydep_routines): Add the new and the internal functions.
32805 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32806 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32808 (GLIBC_2.17): Add the new function.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32810 (GLIBC_2.17): Likewise.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32812 (GLIBC_2.17): Likewise.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32814 (GLIBC_2.17): Likewise.
32815 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32817 2012-09-25 Alan Modra <amodra@gmail.com>
32819 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32820 Add release barrier before setting once_control to say
32821 initialisation is done. Add hints on lwarx. Use macro in
32823 (clear_once_control): Add release barrier.
32825 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32828 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32830 * math/s_clog10.c (__clog10): Likewise.
32831 * math/s_clog10f.c (__clog10f): Likewise.
32832 * math/s_clog10l.c (__clog10l): Likewise.
32833 * math/s_clogf.c (__clogf): Likewise.
32834 * math/s_clogl.c (__clogl): Likewise.
32835 * math/Makefile (libm-calls): Add x2y2m1.
32836 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32837 (__x2y2m1): Likewise.
32838 (__x2y2m1l): Likewise.
32839 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32840 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32843 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32844 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32845 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32846 * sysdeps/i386/fpu/libm-test-ulps: Update.
32847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32850 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32851 int as type of variable DEPTH.
32852 (glob): Use size_t instead of int as type of variables NEWCOUNT
32855 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32857 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32858 Add s_sincosf-sse2.
32859 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32860 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32861 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32862 macros for using routine as __sincosf_ia32.
32863 Use macro for function declaration and weak_alias.
32864 * sysdeps/i386/fpu/libm-test-ulps: Update.
32866 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32869 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32870 subnormal argument.
32871 * math/s_cexpf.c (__cexpf): Likewise.
32872 * math/s_csinf.c (__csinf): Likewise.
32873 * math/s_csinhf.c (__csinhf): Likewise.
32874 * math/s_ctanf.c (__ctanf): Likewise.
32875 * math/s_ctanhf.c (__ctanhf): Likewise.
32876 * math/s_ccosh.c (__ccoshf): Likewise.
32877 * math/s_cexp.c (__cexpl): Likewise.
32878 * math/s_csin.c (__csin): Likewise.
32879 * math/s_csinh.c (__csinh): Likewise.
32880 * math/s_ctan.c (__ctan): Likewise.
32881 * math/s_ctanh.c (ctanh): Likewise.
32882 * math/s_ccoshl.c (__ccoshl): Likewise.
32883 * math/s_cexpl.c (__cexpl): Likewise.
32884 * math/s_csinl.c (__csinl): Likewise.
32885 * math/s_csinhl.c (__csinhl): Likewise.
32886 * math/s_ctanl.c (__ctanl): Likewise.
32887 * math/s_ctanhl.c (__ctanhl): Likewise.
32889 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32891 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32892 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32893 (_IO_off_t): Define to __off_t, not _G_off_t.
32894 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32895 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32896 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32897 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32898 type of __dummy and __dummy2 fields.
32899 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32900 (_G_ssize_t): Likewise.
32901 (_G_off_t): Likewise.
32902 (_G_pid_t): Likewise.
32903 (_G_uid_t): Likewise.
32904 (_G_wchar_t): Likewise.
32905 (_G_wint_t): Likewise.
32906 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32907 (_G_ssize_t): Likewise.
32908 (_G_off_t): Likewise.
32909 (_G_pid_t): Likewise.
32910 (_G_uid_t): Likewise.
32911 (_G_wchar_t): Likewise.
32912 (_G_wint_t): Likewise.
32913 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32914 (_G_ssize_t): Likewise.
32915 (_G_off_t): Likewise.
32916 (_G_pid_t): Likewise.
32917 (_G_uid_t): Likewise.
32918 (_G_wchar_t): Likewise.
32919 (_G_wint_t): Likewise.
32921 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32923 * malloc/arena.c: Include malloc-sysdep.h.
32924 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32925 is sufficient to shrink the heap or an unmap is needed.
32926 * sysdeps/generic/malloc-sysdep.h: New file. Define
32927 new function check_may_shrink_heap.
32928 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32929 new function check_may_shrink_heap.
32931 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32933 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32936 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32938 * catgets/test-gencat.sh: Add "set -e".
32939 * elf/tst-pathopt.sh: Likewise.
32940 * grp/tst_fgetgrent.sh: Likewise.
32941 * iconvdata/run-iconv-test.sh: Likewise.
32942 * intl/tst-gettext.sh: Likewise.
32943 * intl/tst-gettext2.sh: Likewise.
32944 * intl/tst-gettext4.sh: Likewise.
32945 * intl/tst-gettext6.sh: Likewise.
32946 * intl/tst-translit.sh: Likewise.
32947 * io/ftwtest-sh: Likewise.
32948 * libio/test-freopen.sh: Likewise.
32949 * malloc/tst-mtrace.sh: Likewise.
32950 * posix/globtest.sh: Likewise.
32951 * posix/tst-getconf.sh: Likewise.
32952 * posix/wordexp-tst.sh: Likewise.
32953 * stdio-common/tst-printf.sh: Likewise.
32954 * stdio-common/tst-unbputc.sh: Likewise.
32955 * stdlib/tst-fmtmsg.sh: Likewise.
32956 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32957 * catgets/Makefile: Do not specify -e option when running
32958 testsuite shell scripts.
32959 * elf/Makefile: Likewise.
32960 * grp/Makefile: Likewise.
32961 * iconvdata/Makefile: Likewise.
32962 * intl/Makefile: Likewise.
32963 * io/Makefile: Likewise.
32964 * libio/Makefile: Likewise.
32965 * malloc/Makefile: Likewise.
32966 * posix/Makefile: Likewise.
32967 * stdio-common/Makefile: Likewise.
32968 * stdlib/Makefile: Likewise.
32969 * sysdeps/x86_64/Makefile: Likewise.
32971 * io/ftwtest-sh: Add copyright header.
32972 * posix/globtest.sh: Likewise.
32973 * posix/tst-getconf.sh: Likewise.
32974 * posix/wordexp-tst.sh: Likewise.
32975 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32977 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32980 * Makeconfig (+link): Defined as $(+link-static) if
32981 $(build-shared) isn't yes.
32982 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32984 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32986 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32989 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32990 new chunk size with MALLOC_ALIGN_MASK.
32992 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32995 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32997 (__printf_fphex): Determine rounding using get_rounding_mode and
32999 * stdio-common/tst-printf-round.c (struct hex_test): New
33001 (hex_tests): New variable.
33002 (test_hex_in_one_mode): New function.
33003 (do_test): Also run tests for hex float output.
33005 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33007 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33008 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33009 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33010 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33011 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33012 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33013 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33014 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33016 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33018 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33019 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33020 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33021 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33023 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33026 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33028 * elf/tst-rtld-load-self.sh: New test.
33029 * elf/Makefile: Run it.
33031 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33033 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33034 (tst-writev-ENV): Remove.
33035 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33037 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33039 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33041 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33043 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33045 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33047 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33048 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33049 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33052 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33055 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33056 * config.make.in (have-cpp-asm-debuginfo): Removed.
33057 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33058 * configure: Regenerated.
33060 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33063 * stdio-common/printf_fp.c: Include <stdbool.h> and
33065 (___printf_fp): Determine rounding using get_rounding_mode and
33067 * stdio-common/tst-printf-round.c: New file.
33068 * stdio-common/Makefile (tests): Add tst-printf-round.
33069 (link-libm): New variable.
33070 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33072 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33075 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33076 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33078 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33081 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33083 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33084 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33085 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33088 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33091 * include/rounding-mode.h: New file.
33092 * sysdeps/generic/get-rounding-mode.h: Likewise.
33093 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33094 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33095 (MAX_VALUE): New macro.
33096 (MIN_VALUE): Likewise.
33097 (overflow_value): New function.
33098 (underflow_value): Likewise.
33099 (round_and_return): Use overflow_value and underflow_value to
33100 determine return values in overflow and underflow cases. Use
33101 round_away to determine rounding depending on rounding mode.
33102 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33103 determine return values in overflow and underflow cases.
33104 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33105 (struct test_results): New structure.
33106 (struct test): Use struct test_results to store expected results
33107 for all rounding modes.
33108 (TEST): Include expected results for all rounding modes.
33109 (test_in_one_mode): New function.
33110 (do_test): Use test_in_one_mode to compute and check results.
33111 Check results for all rounding modes.
33112 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33115 2012-12-09 Allan McRae <allan@archlinux.org>
33117 * sysdeps/i386/fpu/libm-test-ulps: Update
33119 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33121 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33122 (_G_int32_t): Likewise.
33123 (_G_uint16_t): Likewise.
33124 (_G_uint32_t): Likewise.
33125 (_G_HAVE_BOOL): Likewise.
33126 (_G_HAVE_ATEXIT): Likewise.
33127 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33128 (_G_HAVE_IO_FILE_OPEN): Likewise.
33129 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33130 (_G_int32_t): Likewise.
33131 (_G_uint16_t): Likewise.
33132 (_G_uint32_t): Likewise.
33133 (_G_HAVE_BOOL): Likewise.
33134 (_G_HAVE_ATEXIT): Likewise.
33135 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33136 (_G_HAVE_IO_FILE_OPEN): Likewise.
33137 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33138 (_G_int32_t): Likewise.
33139 (_G_uint16_t): Likewise.
33140 (_G_uint32_t): Likewise.
33141 (_G_HAVE_BOOL): Likewise.
33142 (_G_HAVE_ATEXIT): Likewise.
33143 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33144 (_G_HAVE_IO_FILE_OPEN): Likewise.
33146 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33148 * csu/libc-tls.c: Update copyright years.
33150 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33152 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33153 [!_G_USING_THUNKS]: Remove conditional code.
33154 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33155 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33157 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33158 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33159 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33160 (_G_VTABLE_LABEL_PREFIX): Likewise.
33161 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33162 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33163 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33164 (_G_VTABLE_LABEL_PREFIX): Likewise.
33165 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33166 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33167 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33168 (_G_VTABLE_LABEL_PREFIX): Likewise.
33169 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33171 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33173 * libio/Makefile: Include ../Makeconfig before tests.
33174 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33175 only if $(build-shared) is yes.
33177 * iconv/gconv_db.c: Update copyright years.
33179 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33181 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33182 unwind info if defined PIC. Fix special cases description.
33183 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33185 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33187 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33189 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33191 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33193 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33196 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33197 (LDLIBS-tst-chk4): This.
33198 (LDFLAGS-tst-chk5): Renamed to ...
33199 (LDLIBS-tst-chk5): This.
33200 (LDFLAGS-tst-chk6): Renamed to ...
33201 (LDLIBS-tst-chk6): This.
33202 (LDFLAGS-tst-lfschk4): Renamed to ...
33203 (LDLIBS-tst-lfschk4): This.
33204 (LDFLAGS-tst-lfschk5): Renamed to ...
33205 (LDLIBS-tst-lfschk5): This.
33206 (LDFLAGS-tst-lfschk6): Renamed to ...
33207 (LDLIBS-tst-lfschk6): This.
33209 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33210 on $(common-objpfx)soversions.mk.
33212 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33215 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33218 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33220 * malloc/arena.c (arena_get_retry): New function that gets
33221 another arena for the caller to try its request on.
33222 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33223 current arena cannot fulfill the request.
33224 (__libc_memalign): Likewise.
33225 (__libc_memalign): Likewise.
33226 (__libc_pvalloc): Likewise.
33227 (__libc_calloc): Likewise.
33229 2012-09-05 John Tobey <john.tobey@gmail.com>
33232 * manual/arith.texi (Operations on Complex): Fix description
33233 of carg branch cut.
33235 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33238 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33242 * manual/memory.texi (Memory): Make order of menu items match
33245 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33247 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33248 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33249 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33251 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33253 * csu/libc-tls.c (static_dtv): Renamed to ...
33254 (_dl_static_dtv): This. Make it global.
33255 (_dl_initial_dtv): Removed.
33256 (__libc_setup_tls): Updated.
33257 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33258 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33261 2012-09-06 Petr Machata <pmachata@redhat.com>
33263 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33264 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33265 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33266 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33268 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33271 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33272 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33275 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33278 * Makeconfig (link-static-before-libc): Replace $(+prector)
33280 (link-static-after-libc): Replace $(+postctor) with
33282 (link-bounded): Replace $(+prector)/$(+postctor) with
33283 $(+prectorT)/$(+postctorT).
33284 (+prectorT): New macro.
33285 (+postctorT): Likewise.
33287 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33289 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33290 (round_str): Handle values above the maximum for IBM long double
33292 * stdlib/tst-strtod-round.c (tests): Regenerated.
33294 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33296 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33298 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33299 zarch_nohighgprs around the zarch optimized routines.
33300 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33301 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33305 2012-09-05 David S. Miller <davem@davemloft.net>
33307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33309 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33310 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33311 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33315 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33317 * malloc/arena.c: Fold copyright years.
33318 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33320 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33322 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33324 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33326 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33328 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33330 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33331 change internal state upon failure.
33333 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33335 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33336 * malloc/memusage.c (mmap): Likewise.
33337 (mmap64, mremap): Likewise. Adjust name in comment.
33339 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33341 * libio/fileops.c: Fix typos in comments.
33342 * libio/oldfileops.c: Likewise.
33343 * libio/wfileops.c: Likewise.
33345 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33348 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33349 (tst-malloc-usable-ENV): Set environment for test case.
33350 * malloc/hooks.c (malloc_check_get_size): New function to get
33352 * malloc/malloc.c (musable): Use malloc_check_get_size.
33353 * malloc/tst-malloc-usable.c: New test case.
33355 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33357 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33359 2012-09-05 Allan McRae <allan@archlinux.org>
33362 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33363 determine header location.
33364 * configure: Regenerated.
33366 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33368 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33370 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33371 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33373 (test): Regenerate.
33375 2012-09-04 David S. Miller <davem@davemloft.net>
33377 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33378 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33379 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33381 2012-09-04 Florian Weimer <fweimer@redhat.com>
33383 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33386 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33388 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33391 * libio/iogetdelim.c: Include <limits.h>.
33392 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33393 + len + 1 would overflow.
33395 2012-09-03 Andreas Jaeger <aj@suse.de>
33397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33398 * sysdeps/i386/fpu/libm-test-ulps: Update.
33400 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33402 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33403 Add s_sinf-sse2, s_conf-sse2.
33405 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33406 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33407 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33408 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33410 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33411 for using routine as __sinf_ia32.
33412 Use macro for function declaration and weak_alias.
33413 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33414 for using routine as __cosf_ia32.
33415 Use macro for function declaration and weak_alias.
33417 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33418 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33420 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33421 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33424 * math/libm-test.inc (cos_test): Add more test cases.
33425 (sin_test): Likewise.
33426 (sincos_test): Likewise.
33428 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33431 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33435 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33438 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33439 first element of the GOT.
33440 (elf_machine_load_address): Return the difference between
33441 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33443 2012-09-01 Allan McRae <allan@archlinux.org>
33446 * configure.in (AWK): Require gawk version 3.0 or later.
33447 * configure: Regenerated.
33449 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33451 * sysdeps/unix/sysv/linux/kernel-features.h
33452 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33454 [__NR_clock_getres]: Make code unconditional.
33455 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33456 (clock_getcpuclockid): Remove code left unreachable by removal of
33458 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33459 code unconditional.
33460 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33461 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33462 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33463 Make code unconditional.
33464 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33465 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33466 * sysdeps/unix/sysv/linux/clock_settime.c
33467 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33469 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33470 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33472 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33475 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33476 scripts/test-installation.pl.
33478 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33479 and $ld_so_version if it is set.
33481 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33485 failure if reading from procfs failed.
33486 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33488 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33490 * sysdeps/unix/sysv/linux/kernel-features.h
33491 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33492 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33493 Remove conditional code.
33494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33495 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33496 Remove conditional code.
33497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33498 * sysdeps/unix/sysv/linux/i386/fxstat.c
33499 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33501 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33502 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33504 * sysdeps/unix/sysv/linux/i386/lxstat.c
33505 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33507 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33508 Remove conditional code.
33509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33510 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33511 Remove conditional code.
33512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33514 <kernel-features.h>.
33515 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33517 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33518 Remove conditional code.
33519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33520 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33521 Remove conditional.
33523 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33526 * NEWS: Add fixed bug number.
33528 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33531 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33532 underflowing exponent in case of negative sign.
33533 * stdlib/tst-strtod-round-data: Add more tests.
33534 * stdlib/tst-strtod-round.c (tests): Regenerated.
33537 * stdlib/strtod_l.c (NDIG): Remove.
33538 (HEXNDIG): Likewise.
33539 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33540 smallest representable value.
33541 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33542 lie within an exact representation of 1/2 ulp of the result.
33543 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33545 (TENS_P9_IDX): Define unconditionally.
33546 (TENS_P9_SIZE): Likewise.
33547 (TENS_P10_IDX): Likewise.
33548 (TENS_P10_SIZE): Likewise.
33549 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33550 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33551 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33552 entries for 10^2^13 and 10^2^14.
33553 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33554 (TENS_P13_IDX): Define.
33555 (TENS_P13_SIZE): Likewise.
33556 (TENS_P14_IDX): Likewise.
33557 (TENS_P14_SIZE): Likewise.
33558 (_fpioconst_pow10): Change array size to
33559 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33561 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33562 1024]: Add entries for 10^2^13 and 10^2^14.
33563 [LAST_POW10 > _LAST_POW10]: Remove #error.
33564 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33565 (_fpioconst_pow10): Change array size to
33566 FPIOCONST_POW10_ARRAY_SIZE.
33567 * stdlib/gen-fpioconst.c: New file.
33568 * stdlib/gen-tst-strtod-round.c: Likewise.
33569 * stdlib/tst-strtod-round-data: Likewise.
33570 * stdlib/tst-strtod-round.c: Likewise.
33571 * stdlib/Makefile (tests): Add tst-strtod-round.
33574 * stdlib/strtod_l.c: Include <stdint.h>.
33575 (NDEBUG): Do not define.
33576 (round_and_return): Change EXPONENT parameter to type intmax_t.
33577 Rearrange calculations to avoid internal overflow possibilities.
33578 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33579 Rearrange calculations to avoid internal overflow possibilities.
33580 Assert that number fits inside MPNSIZE limbs.
33581 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33582 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33583 calculations and add assertions to avoid internal overflow
33584 possibilities. Add casts to avoid signed/unsigned operations.
33585 * stdlib/tst-strtod-overflow.c: New file.
33586 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33588 2012-08-25 Marek Polacek <polacek@redhat.com>
33590 * time/time.h: Fix some typos in comments.
33592 2012-08-23 Roland McGrath <roland@hack.frob.com>
33594 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33595 * posix/tst-rfc3484-2.c: Likewise.
33596 * posix/tst-rfc3484-3.c: Likewise.
33598 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33600 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33601 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33603 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33606 #include of fxstatat64.c.
33608 2012-08-22 Roland McGrath <roland@hack.frob.com>
33610 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33611 * shadow/getspent_r.c: Likewise.
33612 * shadow/getspnam.c: Likewise.
33613 * shadow/getspnam_r.c: Likewise.
33614 * gshadow/getsgent.c: Likewise.
33615 * gshadow/getsgent_r.c: Likewise.
33616 * gshadow/getsgnam.c: Likewise.
33617 * gshadow/getsgnam_r.c: Likewise.
33618 * inet/getnetbyad.c: Likewise.
33619 * inet/getnetbyad_r.c: Likewise.
33620 * inet/getnetbynm.c: Likewise.
33621 * inet/getnetbynm_r.c: Likewise.
33622 * inet/getnetent.c: Likewise.
33623 * inet/getnetent_r.c: Likewise.
33624 * inet/getproto.c: Likewise.
33625 * inet/getproto_r.c: Likewise.
33626 * inet/getprtent.c: Likewise.
33627 * inet/getprtent_r.c: Likewise.
33628 * inet/getprtname.c: Likewise.
33629 * inet/getprtname_r.c: Likewise.
33630 * inet/getrpcbyname.c: Likewise.
33631 * inet/getrpcbyname_r.c: Likewise.
33632 * inet/getrpcbynumber.c: Likewise.
33633 * inet/getrpcbynumber_r.c: Likewise.
33634 * inet/getrpcent.c: Likewise.
33635 * inet/getrpcent_r.c: Likewise.
33636 * inet/getaliasent.c: Likewise.
33637 * inet/getaliasent_r.c: Likewise.
33638 * inet/getaliasname.c: Likewise.
33639 * inet/getaliasname_r.c: Likewise.
33640 * nscd/getgrgid_r.c: Likewise.
33641 * nscd/getgrnam_r.c: Likewise.
33642 * nscd/gethstbyad_r.c: Likewise.
33643 * nscd/gethstbynm3_r.c: Likewise.
33644 * nscd/getpwnam_r.c: Likewise.
33645 * nscd/getpwuid_r.c: Likewise.
33646 * nscd/getsrvbynm_r.c: Likewise.
33647 * nscd/getsrvbypt_r.c: Likewise.
33648 * nscd/gai.c: Likewise.
33650 * configure.in (build_nscd): New substituted variable, set
33651 by --disable-build-nscd and defaults to $use_nscd.
33652 * configure: Regenerated.
33653 * config.make.in (build-nscd): New substituted variable.
33654 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33655 Change conditional to require [$(build-nscd) = yes] as well.
33656 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33659 * configure.in (use_nscd): New substituted variable, set by
33660 --disable-nscd. If enabled, define USE_NSCD.
33661 * configure: Regenerated.
33662 * config.h.in: Add USE_NSCD.
33663 * config.make.in (use-nscd): New substituted variable.
33664 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33665 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33666 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33667 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33668 (CFLAGS-getgrnam_r.c): Likewise.
33669 (CFLAGS-initgroups.c): Likewise.
33670 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33671 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33673 * inet/getnetgrent_r.c
33674 (nscd_setnetgrent): New function, broken out of ...
33675 (setnetgrent): ... here. Call it.
33676 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33677 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33678 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33679 * nscd/Makefile (routines, aux): Move definitions after include of
33680 Makeconfig. Conditionalize on [$(use-nscd) != no].
33681 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33682 Conditionalize on [USE_NSCD].
33683 (is_nscd, nscd_init_cb): Likewise.
33684 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33685 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33686 * nss/nss_db/db-init.c: Likewise.
33687 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33689 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33690 (make_request): Use it.
33691 (cache_valid_p): New function.
33692 (__check_pf): Use it.
33693 * NEWS: Add item for --disable-nscd.
33695 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33697 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33698 to support sed >= 4.2.1-20-ga9bf076.
33699 * configure: Regenerated.
33701 2012-08-22 Roland McGrath <roland@hack.frob.com>
33703 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33704 Conditionalize whole body on [IREL].
33706 2012-08-22 Jeff Law <law@redhat.com>
33709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33710 if the family is PF_UNSPEC.
33712 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33714 * Makerules (lib-version): Rename from V.
33715 (install-lib-nosubdir): Change V to lib-version.
33717 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33720 * powerpc32/power6/wcschr.c: New file.
33721 * powerpc32/power6/wcscpy.c: New file.
33722 * powerpc32/power6/wcsrchr.c: New file.
33723 * powerpc64/power6/wcschr.c: New file.
33724 * powerpc64/power6/wcscpy.c: New file.
33725 * powerpc64/power6/wcsrchr.c: New file.
33727 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33729 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33730 (two_way_short_needle): Use it.
33731 * string/strstr.c (AVAILABLE1_USES_J): Define.
33732 * string/strcasestr.c: Likewise.
33734 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33736 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33739 * NEWS: Add an entry.
33740 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33741 define their defaults.
33742 (two_way_short_needle): Detect end-of-string on-the-fly.
33743 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33744 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33745 * string/bug-strcasestr1.c: New test.
33746 * string/Makefile: Run it.
33748 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33751 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33752 the first character.
33754 2012-08-21 Roland McGrath <roland@hack.frob.com>
33756 * csu/elf-init.c (__libc_csu_irel): Function removed.
33757 * csu/libc-start.c (apply_irel): New function.
33758 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33760 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33762 * sysdeps/unix/sysv/linux/kernel-features.h
33763 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33764 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33765 <kernel-features.h>.
33766 [__NR_fadvise64_64]: Make code unconditional.
33767 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33768 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33769 !__NR_fadvise64_64)]: Likewise.
33770 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33771 !__NR_fadvise64_64))]: Likewise.
33772 [__NR_fadvise64]: Make code unconditional.
33773 [!__NR_fadvise64]: Remove conditional code.
33774 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33775 <kernel-features.h>.
33776 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33778 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33781 not include <kernel-features.h>.
33782 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33784 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33786 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33787 include <kernel-features.h>.
33788 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33790 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33793 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33796 slight instruction rearrangements per scrollpipe analysis.
33797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33799 2012-08-20 Roland McGrath <roland@hack.frob.com>
33801 * manual/syslog.texi (syslog; vsyslog, closelog):
33802 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33803 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33805 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33806 DSOCAPS to match condition on defining it.
33808 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33810 * sysdeps/unix/sysv/linux/kernel-features.h
33811 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33813 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33814 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33816 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33817 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33819 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33820 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33822 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33823 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33825 * sysdeps/unix/sysv/linux/kernel-features.h
33826 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33827 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33829 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33830 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33831 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33832 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33833 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33834 Make code unconditional.
33835 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33836 (__mmap64) [!__NR_mmap2]: Likewise.
33837 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33838 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33839 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33840 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33841 [__NR_mmap2]: Make code unconditional.
33842 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33843 (__mmap64) [!__NR_mmap2]: Likewise.
33845 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33847 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33849 2012-08-18 Andreas Jaeger <aj@suse.de>
33851 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33853 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33855 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33856 * include/unistd.h (__have_sock_cloexec): Likewise.
33857 (__have_pipe2): Likewise.
33858 (__have_dup3): Likewise.
33860 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33863 * include/unistd.h (__have_pipe2): Change define into an extern int.
33864 (__have_dup3): Likewise.
33865 * socket/have_sock_cloexec.c: Include fcntl.h.
33866 (__have_pipe2): New variable.
33867 (__have_dup3): Likewise.
33869 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33871 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33873 2012-08-17 Marek Polacek <polacek@redhat.com>
33875 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33876 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33878 2012-08-17 Roland McGrath <roland@hack.frob.com>
33880 * configure.in: Add AC_SUBST for sysheaders.
33881 * configure: Regenerated.
33882 * config.make.in (sysheaders): New substituted variable.
33884 * sysdeps/unix/mkfifo.c: Moved ...
33885 * sysdeps/posix/mkfifo.c: ... here.
33886 * sysdeps/unix/mkfifoat.c: Moved ...
33887 * sysdeps/posix/mkfifoat.c: ... here.
33889 * sysdeps/unix/utime.c: Moved ...
33890 * sysdeps/posix/utime.c: ... here.
33892 * sysdeps/unix/time.c: Moved ...
33893 * sysdeps/posix/time.c: ... here.
33894 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33895 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33897 * sysdeps/unix/nice.c: Moved ...
33898 * sysdeps/posix/nice.c: ... here.
33900 * sysdeps/unix/alarm.c: Moved ...
33901 * sysdeps/posix/alarm.c: ... here.
33903 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33905 2012-08-17 Jeff Law <law@redhat.com>
33907 * intl/Makefile (codeset_mo): New variable.
33908 ($(codeset_mo)): New target.
33909 (tst-codeset.out): Depend on that. Remove explicit rule.
33910 (tst-gettext3.out, tst-gettext5.out): Likewise.
33911 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33912 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33913 * intl/tst-codeset.sh: Remove.
33914 * intl/tst-gettext3.sh: Likewise.
33915 * intl/tst-gettext5.sh: Likewise.
33917 2012-08-17 Roland McGrath <roland@hack.frob.com>
33919 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33920 * sysdeps/unix/syscalls.list: ... here.
33922 * sysdeps/posix/getaddrinfo.c
33923 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33924 (gaiconf_init, gaiconf_reload): Use them.
33925 [!_STATBUF_ST_NSEC]
33926 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33927 Define using time_t rather than struct timespec.
33929 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33930 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33932 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33934 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33935 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33938 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33939 __libc_cleanup_push argument.
33941 * bits/param.h: New file.
33942 * misc/sys/param.h: New file.
33943 * include/sys/param.h: New file.
33944 * misc/Makefile (headers): Add bits/param.h.
33945 * sysdeps/generic/sys/param.h: File removed.
33946 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33947 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33948 * sysdeps/mach/hurd/bits/param.h: New file.
33949 * sysdeps/mach/hurd/sys/param.h: File removed.
33951 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33954 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33956 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33957 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33960 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33961 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33962 rather than -D_IO_MTSAFE_IO conditionally.
33963 * stdio-common/Makefile (CPPFLAGS): Likewise.
33964 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33965 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33966 Use $(libio-mtsafe).
33967 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33968 of -D_IO_MTSAFE_IO.
33969 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33970 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33971 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33972 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33973 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33974 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33975 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33976 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33977 (CFLAGS-fread_u_chk.c): Likewise.
33978 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33979 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33980 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33981 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33982 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33983 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33984 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33985 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33986 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33988 * libio/Makefile: Test [$(libc-reentrant) = yes]
33989 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33992 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33993 * sysdeps/pthread/configure: File removed.
33994 * sysdeps/pthread/Makeconfig: New file.
33995 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33996 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33998 2012-08-16 Gary Benson <gbenson@redhat.com>
34000 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34001 unmapping the first object in a namespace.
34003 2012-08-16 Roland McGrath <roland@hack.frob.com>
34005 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34006 (__internal_setnetgrent): ... this. Add internal_function to
34007 definition. Add libc_hidden_def.
34008 (setnetgrent): Update caller.
34009 (internal_endnetgrent): Renamed to ...
34010 (__internal_endnetgrent): ... this. Add internal_function to
34011 definition. Add libc_hidden_def.
34012 (endnetgrent): Update caller.
34013 (internal_getnetgrent_r): Renamed to ...
34014 (__internal_getnetgrent_r): ... this. Add internal_function to
34015 definition. Add libc_hidden_def.
34016 (__getnetgrent_r): Update caller.
34017 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34019 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34021 * stdlib/longlong.h: Update from GCC.
34023 2012-08-16 Roland McGrath <roland@hack.frob.com>
34025 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34026 on _QL, which is set by umul_ppmm but never used.
34027 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34028 variables, which are set by GMP macros but never used.
34029 * stdio-common/_itowa.c (_itowa): Likewise.
34030 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34031 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34033 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34035 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34036 struct La_sh_regs is not constant.
34037 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34038 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34039 and struct La_sparc64_regs are not constant.
34041 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34043 * sysdeps/unix/sysv/linux/kernel-features.h
34044 (__ASSUME_POSIX_TIMERS): Remove.
34045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34046 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34047 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34048 Make code unconditional.
34049 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34050 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34051 Make code unconditional.
34052 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34053 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34054 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34055 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34056 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34057 Make code unconditional.
34058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34059 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34060 (__libc_missing_posix_timers): Remove.
34062 2012-08-15 Roland McGrath <roland@hack.frob.com>
34064 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34065 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34067 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34069 * elf/dl-sym.c: Include <stdlib.h>.
34071 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34072 constants, which avoids warnings in 32-bit builds.
34074 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34075 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34077 * misc/lseek.c: File moved to ...
34078 * io/lseek.c: ... here.
34080 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34082 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34083 shifting LEN more than 31 bits at once.
34085 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34088 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34089 segmentation fault for a case of two empty input strings.
34090 * string/test-strncasecmp.c (check1): Renamed to...
34091 (bz12205): ...this.
34092 (bz14195): Add new testcase for two empty input strings and N > 0.
34093 (test_main): Call new testcase, adapt for renamed function.
34095 2012-08-15 Andreas Jaeger <aj@suse.de>
34098 * crypt/md5test2.c: New test, based on test supplied by Serge
34099 Belyshev <belyshev@depni.sinp.msu.ru>.
34100 * crypt/Makefile (xtests): Add md5test-giant..
34101 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34103 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34106 * crypt/md5.c (md5_process_block): Don't assume the buffer
34107 length is less than 2**32.
34108 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34109 length is less than 2**64.
34111 2012-08-15 Roland McGrath <roland@hack.frob.com>
34113 * string/str-two-way.h: Include <sys/param.h>.
34114 (MAX): Macro removed.
34116 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34117 Move #define and #undef of memmove to just before and after
34118 including <string.h>.
34120 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34121 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34122 and after including <string.h>. Move declarations of
34123 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34124 to before #include "string/memmove.c".
34126 * include/dirent.h: Declare __getdirentries.
34128 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34129 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34131 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34133 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34134 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34135 * sysdeps/i386/configure: Regenerated.
34136 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34137 STABS_CURRENT_FILE, and STABS_FUN.
34138 (END): Remove call to STABS_FUN_END.
34139 (STABS_CURRENT_FILE1): Delete.
34140 (STABS_CURRENT_FILE): Likewise.
34141 (STABS_FUN): Likewise.
34142 (STABS_FUN_END): Likewise.
34143 (STABS_FUN2): Likewise.
34144 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34145 * sysdeps/x86_64/configure: Regenerated.
34147 2012-08-14 Roland McGrath <roland@hack.frob.com>
34149 * elf/dl-open.c: Include <atomic.h>.
34150 * elf/dl-lookup.c: Likewise.
34152 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34154 * sysdeps/unix/sysv/linux/kernel-features.h
34155 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34156 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34158 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34160 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34161 condition on __ASSUME_CLONE_THREAD_FLAGS.
34163 2012-08-14 Andreas Jaeger <aj@suse.de>
34165 * sysdeps/i386/fpu/libm-test-ulps: Update.
34167 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34169 * include/atomic.h (atomic_exchange_and_add): Split into ...
34170 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34173 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34177 2012-08-13 Jeff Law <law@redhat.com>
34179 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34180 null byte in the output string.
34182 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34184 * sysdeps/unix/sysv/linux/kernel-features.h
34185 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34186 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34187 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34188 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34189 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34190 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34191 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34193 2012-08-09 Jeff Law <law@redhat.com>
34196 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34197 When avoid_arena is set, don't retry in the that arena. Pick the
34198 next one, whatever it might be.
34199 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34200 (arena_lock): Pass in new parameter to arena_get2.
34201 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34203 (__libc_malloc): Unify retrying after main arena failure with
34204 __libc_memalign version.
34205 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34207 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34210 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34211 to __redirect_strstr.
34212 (__strstr_sse42): Use typeof __redirect_strstr.
34213 (__strstr_ia32): Likewise.
34214 (__libc_strstr): New prototype.
34215 (strstr): Renamed to ...
34216 (__libc_strstr): This.
34217 (strstr): New strong alias of __libc_strstr.
34218 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34219 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34222 (__libc_time): New prototype.
34223 (time_ifunc): Replace time with __libc_time.
34224 (time): New strong alias and hidden definition of __libc_time.
34225 (__GI_time): Remove strong alias.
34226 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34227 Include <stddef.h>.
34228 (memmove): Redefined to __redirect_memmove.
34229 (__memmove_sse2): Use typeof __redirect_memmove.
34230 (__memmove_ssse3): Likewise.
34231 (__memmove_ssse3_back): Likewise.
34232 (__libc_memmove): New prototype.
34233 (memmove): Renamed to ...
34234 (__libc_memmove): This.
34235 (memmove): New strong alias of __libc_memmove.
34237 2012-08-08 Mark Salter <msalter@redhat.com>
34240 (R_MN10300_TLS_GD): Define.
34241 (R_MN10300_TLS_LD): Likewise.
34242 (R_MN10300_TLS_LDO): Likewise.
34243 (R_MN10300_TLS_GOTIE): Likewise.
34244 (R_MN10300_TLS_IE): Likewise.
34245 (R_MN10300_TLS_LE): Likewise.
34246 (R_MN10300_TLS_DTPMOD): Likewise.
34247 (R_MN10300_TLS_DTPOFF): Likewise.
34248 (R_MN10300_TLS_TPOFF): Likewise.
34249 (R_MN10300_SYM_DIFF): Likewise.
34250 (R_MN10300_ALIGN): Likewise.
34251 (R_MN10300_NUM): Update.
34253 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34258 2012-08-08 Roland McGrath <roland@hack.frob.com>
34260 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34262 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34263 sysdeps/unix -> sysdeps/posix move.
34264 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34266 2012-08-07 Allan McRae <allan@archlinux.org>
34269 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34270 (SUNOS_CPP): Likewise.
34271 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34273 (open_input): Call CPP using execvp.
34275 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34277 * sysdeps/unix/sysv/linux/kernel-features.h
34278 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34279 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34280 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34281 (__ASSUME_WAITID_SYSCALL): Likewise.
34282 * sysdeps/unix/sysv/linux/dl-execstack.c
34283 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34284 code unconditional.
34285 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34287 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34288 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34289 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34291 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34293 [__ASSUME_WAITID_SYSCALL]: Likewise.
34294 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34296 2012-08-07 Roland McGrath <roland@hack.frob.com>
34298 * sysdeps/unix/closedir.c: Renamed to ...
34299 * sysdeps/posix/closedir.c: ... here.
34300 * sysdeps/unix/dirfd.c: Renamed to ...
34301 * sysdeps/posix/dirfd.c: ... here.
34302 * sysdeps/unix/dirstream.h: Renamed to ...
34303 * sysdeps/posix/dirstream.h: ... here.
34304 * sysdeps/unix/fdopendir.c: Renamed to ...
34305 * sysdeps/posix/fdopendir.c: ... here.
34306 * sysdeps/unix/opendir.c: Renamed to ...
34307 * sysdeps/posix/opendir.c: ... here.
34308 * sysdeps/unix/readdir.c: Renamed to ...
34309 * sysdeps/posix/readdir.c: ... here.
34310 * sysdeps/unix/readdir_r.c: Renamed to ...
34311 * sysdeps/posix/readdir_r.c: ... here.
34312 * sysdeps/unix/rewinddir.c: Renamed to ...
34313 * sysdeps/posix/rewinddir.c: ... here.
34314 * sysdeps/unix/seekdir.c: Renamed to ...
34315 * sysdeps/posix/seekdir.c: ... here.
34316 * sysdeps/unix/telldir.c: Renamed to ...
34317 * sysdeps/posix/telldir.c: ... here.
34318 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34319 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34320 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34321 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34323 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34324 * bits/fcntl.h: ... here.
34326 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34328 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34329 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34330 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34331 (struct flock): Move l_start, l_len to the beginning.
34332 Use __pid_t for l_pid.
34333 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34334 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34335 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34336 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34337 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34338 [__USE_LARGEFILE64] (struct flock64): New type.
34339 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34341 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34342 * bits/dirent.h: ... here.
34344 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34345 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34347 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34350 Change from 2.6.0 to 2.6.16.
34351 * sysdeps/unix/sysv/linux/configure: Regenerated.
34352 * sysdeps/unix/sysv/linux/kernel-features.h
34353 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34354 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34356 (__ASSUME_UTIMES): Likewise.
34357 (__ASSUME_CLONE_STOPPED): Remove.
34358 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34359 architectures, not kernel version.
34360 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34361 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34362 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34363 (__ASSUME_WAITID_SYSCALL): Likewise.
34364 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34365 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34366 * README: State 2.6.16 as minimum Linux kernel version. Do not
34367 refer to older versions.
34369 2012-08-06 Roland McGrath <roland@hack.frob.com>
34371 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34372 Define alphasort64 as an alias.
34373 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34374 Define versionsort64 as an alias.
34375 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34376 Define scandir64 as an alias.
34377 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34378 Define scandirat64 as an alias.
34379 * dirent/alphasort64.c (alphasort64):
34380 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34381 * dirent/versionsort64.c: Likewise.
34382 * dirent/scandir64.c: Likewise.
34383 * dirent/scandirat64.c: Likewise.
34384 * sysdeps/wordsize-64/alphasort.c: File removed.
34385 * sysdeps/wordsize-64/alphasort64.c: File removed.
34386 * sysdeps/wordsize-64/scandir.c: File removed.
34387 * sysdeps/wordsize-64/scandir64.c: File removed.
34388 * sysdeps/wordsize-64/scandirat.c: File removed.
34389 * sysdeps/wordsize-64/scandirat64.c: File removed.
34390 * sysdeps/wordsize-64/versionsort.c: File removed.
34391 * sysdeps/wordsize-64/versionsort64.c: File removed.
34392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34395 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34397 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34401 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34403 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34405 [defined __arch64__ || defined __sparcv9]
34406 (__INO_T_MATCHES_INO64_T): New macro.
34407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34408 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34409 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34410 * sysdeps/unix/sysv/linux/bits/dirent.h
34411 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34412 (_DIRENT_MATCHES_DIRENT64): New macro.
34414 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34415 Define lockf64 as an alias.
34416 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34417 Define fseeko64 as an alias.
34418 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34419 Define ftello64 as an alias.
34420 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34421 Define _IO_fgetpos64 and fgetpos64 as aliases.
34422 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34423 Define _IO_fsetpos64 and fsetpos64 as aliases.
34424 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34425 Conditionalize body on this.
34426 * libio/fseeko64.c: Likewise.
34427 * libio/ftello64.c: Likewise.
34428 * libio/iofgetpos64.c: Likewise.
34429 * libio/iofsetpos64.c: Likewise.
34430 * sysdeps/wordsize-64/lockf.c: File removed.
34431 * sysdeps/wordsize-64/lockf64.c: File removed.
34432 * sysdeps/wordsize-64/fseeko.c: File removed.
34433 * sysdeps/wordsize-64/fseeko64.c: File removed.
34434 * sysdeps/wordsize-64/ftello.c: File removed.
34435 * sysdeps/wordsize-64/ftello64.c: File removed.
34436 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34437 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34438 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34439 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34449 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34451 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34453 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34455 [defined __arch64__ || defined __sparcv9]
34456 (__OFF_T_MATCHES_OFF64_T): New macro.
34457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34458 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34460 (__OFF_T_MATCHES_OFF64_T): New macro.
34462 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34464 * stdlib/secure-getenv.c (__secure_getenv): Replace
34465 GLIBC_2_16 with GLIBC_2_17.
34467 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34472 2012-08-03 David S. Miller <davem@davemloft.net>
34474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34476 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34478 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34480 (__ASSUME_CORRECT_SI_PID): Likewise.
34481 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34482 (__ASSUME_TMPFS_NAME): Likewise.
34483 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34484 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34485 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34486 (HAVE_AUX_SECURE): Make definition unconditional.
34487 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34488 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34490 2012-08-03 Roland McGrath <roland@hack.frob.com>
34492 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34493 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34494 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34495 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34496 __eloop_threshold instead of SYMLOOP_MAX.
34498 * sysdeps/generic/eloop-threshold.h: New file.
34499 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34501 * elf/chroot_canon.c (chroot_canon): Likewise.
34503 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34507 Change to 2.6.0 everywhere.
34508 * sysdeps/unix/sysv/linux/configure: Regenerated.
34509 * sysdeps/unix/sysv/linux/kernel-features.h
34510 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34511 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34513 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34514 (__ASSUME_FUTEX_REQUEUE): Remove.
34515 (__ASSUME_STATFS64): Define unconditionally.
34516 (__ASSUME_AT_SECURE): Likewise.
34517 (__ASSUME_CORRECT_SI_PID): Likewise.
34518 (__ASSUME_TGKILL): Define without depending on kernel version for
34520 (__ASSUME_UTIMES): Likewise.
34521 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34523 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34524 (__ASSUME_TMPFS_NAME): Likewise.
34525 * README: Update reference to Linux kernel versions.
34527 2012-08-02 Marek Polacek <polacek@redhat.com>
34530 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34531 libc_cv_asm_type_prefix with %.
34532 * configure: Regenerated.
34533 * include/libc-symbols.h: Remove comment about
34534 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34535 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34536 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34537 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34538 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34539 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34540 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34541 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34542 * elf/tst-unique2mod1.c: Likewise.
34543 * elf/tst-unique1mod2.c: Likewise.
34544 * elf/tst-unique1mod1.c: Likewise.
34545 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34546 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34547 Replace ASM_TYPE_DIRECTIVE with .type.
34548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34549 * sysdeps/i386/sysdep.h: Likewise.
34550 * sysdeps/x86_64/sysdep.h: Likewise.
34551 * sysdeps/sh/sysdep.h: Likewise.
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34553 Do not define ASM_TYPE_DIRECTIVE.
34554 * sysdeps/powerpc/sysdep.h: Likewise.
34555 * sysdeps/powerpc/powerpc32/sysdep.h:
34556 Replace ASM_TYPE_DIRECTIVE with .type.
34557 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34558 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34559 * sysdeps/i386/fpu/e_powf.S: Likewise.
34560 * sysdeps/i386/fpu/e_expl.S: Likewise.
34561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34562 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34563 * sysdeps/i386/fpu/e_pow.S: Likewise.
34564 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34566 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34567 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34568 * sysdeps/i386/fpu/e_log2.S: Likewise.
34569 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34571 * sysdeps/i386/fpu/e_powl.S: Likewise.
34572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34573 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34574 * sysdeps/i386/fpu/e_logl.S: Likewise.
34575 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34576 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34577 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34578 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34579 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34580 * sysdeps/i386/fpu/e_log.S: Likewise.
34581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34582 * sysdeps/i386/fpu/e_logf.S: Likewise.
34583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34585 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34586 * sysdeps/i386/fpu/e_log10.S: Likewise.
34587 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34588 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34589 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34590 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34592 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34593 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34594 * sysdeps/i386/i686/strtok.S: Likewise.
34595 * sysdeps/i386/i386-mcount.S: Likewise.
34596 * sysdeps/i386/strtok.S: Likewise.
34597 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34598 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34599 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34600 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34601 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34602 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34603 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34604 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34605 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34606 * sysdeps/x86_64/_mcount.S: Likewise.
34607 * sysdeps/x86_64/strtok.S: Likewise.
34608 * sysdeps/sh/_mcount.S: Likewise.
34610 2012-08-01 Roland McGrath <roland@hack.frob.com>
34612 * libio/iofopen.c: Include <fcntl.h>.
34613 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34614 (_IO_fopen64, fopen64): Define as aliases.
34615 * libio/iofopen64.c: Include <fcntl.h>.
34616 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34617 Conditionalize body on this.
34618 * sysdeps/wordsize-64/iofopen.c: File removed.
34619 * sysdeps/wordsize-64/iofopen64.c: File removed.
34621 2012-08-01 Marek Polacek <polacek@redhat.com>
34623 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34624 Use dlfcn directly instead of a variable.
34625 (binfmt-subdir): Do not define.
34628 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34631 Remove all definitions.
34632 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34633 <kernel-features.h>.
34634 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34635 (miss_F_GETOWN_EX): Remove all definitions.
34636 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34638 [!__ASSUME_FCNTL64]: Remove conditional code.
34639 [__ASSUME_FCNTL64]: Make code unconditional.
34640 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34641 <kernel-features.h>.
34642 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34643 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34644 (lockf64) [__NR_fcntl64]: Make code unconditional.
34645 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34647 * sysdeps/unix/sysv/linux/kernel-features.h
34648 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34649 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34650 Make code unconditional.
34651 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34652 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34654 [__NR_vfork]: Make code unconditional.
34655 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34656 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34658 [__NR_vfork]: Make code unconditional.
34659 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34660 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34662 2012-08-01 Roland McGrath <roland@hack.frob.com>
34664 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34665 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34667 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34668 Define mkstemp64 as an alias.
34669 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34670 Define mkstemps64 as an alias.
34671 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34672 Define mkostemp64 as an alias.
34673 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34674 Define mkostemps64 as an alias.
34675 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34676 Conditionalize body on this.
34677 * misc/mkostemp64.c: Likewise.
34678 * misc/mkostemps64.c: Likewise.
34679 * misc/mkstemps64.c: Likewise.
34680 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34681 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34682 * sysdeps/wordsize-64/mkostemp.c: File removed.
34683 * sysdeps/wordsize-64/mkstemp.c: File removed.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34690 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34691 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34692 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34693 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34695 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34696 compat_symbol macros from <shlib-compat.h> rather than the underlying
34697 default_symbol_version and symbol_version macros, so that DEFAULT
34698 lines in shlib-versions are respected.
34699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34701 2012-08-01 Florian Weimer <fweimer@redhat.com>
34703 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34704 Declare with warn_unused_result.
34705 (setgid, setregid, setegid, setresgid): Likewise.
34706 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34708 * WUR-REPORT: Remove set*id functions.
34710 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34712 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34714 2012-07-31 Roland McGrath <roland@hack.frob.com>
34717 * include/sys/socket.h (__libc_accept, __libc_accept4):
34718 Add attribute_hidden.
34719 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34721 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34723 * inet/getnetgrent_r.c (setup): Likewise.
34725 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34727 2012-07-31 David S. Miller <davem@davemloft.net>
34729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34731 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34734 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34735 value between 1.0 and 2.0 and smaller part has absolute value less
34737 * math/s_clog10.c (__clog10): Likewise.
34738 * math/s_clog10f.c (__clog10f): Likewise.
34739 * math/s_clog10l.c (__clog10l): Likewise.
34740 * math/s_clogf.c (__clogf): Likewise.
34741 * math/s_clogl.c (__clogl): Likewise.
34742 * math/libm-test.inc (clog_test): Add more tests.
34743 (clog10_test): Likewise.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2012-07-31 Florian Weimer <fweimer@redhat.com>
34749 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34750 Exit with zero in case no suitable GID is found, and write a
34751 message to standard error.
34753 2012-07-30 Roland McGrath <roland@hack.frob.com>
34755 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34757 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34758 (MAXPATHLEN): Removed.
34759 (NOGROUP, NODEV): New macros.
34760 (setbit, clrbit, isset, isclr): New macros.
34761 (howmany, roundup, powerof2): New macros.
34762 (DEV_BSIZE): New macro.
34764 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34765 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34767 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34768 definition on [!__NO_LONG_DOUBLE_MATH].
34770 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34771 PTR_MANGLE and PTR_DEMANGLE.
34773 * socket/accept4.c (accept4): Rename to __libc_accept4.
34774 Define accept4 as a weak alias.
34776 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34777 on [_DIRENT_HAVE_D_TYPE].
34778 * io/ftw.c (ftw_dir): Likewise.
34780 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34782 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34784 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34785 Use the BSD numbers rather than the arbitrary ones we had.
34786 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34787 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34788 (SIGXCPU, SIGXFSZ): New macros.
34791 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34792 initializer on [_LIBC_REENTRANT].
34794 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34795 definitions inside [_POSIX_MAPPED_FILES].
34797 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34799 * dirent/opendir.c: Include <fcntl.h>.
34801 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34802 (__libc_getspecific): Likewise.
34803 (__libc_key_create): Likewise.
34805 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34806 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34807 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34808 (tmpfile64): Define as alias.
34809 * sysdeps/wordsize-64/tmpfile.c: File removed.
34810 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34812 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34814 * stdio-common/vfscanf.c: Include <stdbool.h>.
34815 * nss/makedb.c: Likewise.
34816 * stdio-common/_i18n_number.h: Likewise.
34817 * argp/argp-help.c: Likewise.
34818 * posix/wordexp.c: Likewise.
34819 * sysdeps/posix/spawni.c: Likewise.
34820 * nss/nss_files/files-initgroups.c: Likewise.
34821 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34822 * nss/nss_files/files-initgroups.c: Likewise.
34823 * nss/nss_db/db-netgrp.c: Likewise.
34824 * nss/nss_db/db-initgroups.c: Likewise.
34825 * io/fchmodat.c: Include <sys/stat.h>.
34827 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34828 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34830 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34833 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34834 Add multiple inclusion protection.
34836 2012-07-27 David S. Miller <davem@davemloft.net>
34838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34840 2012-07-27 Gary Benson <gbenson@redhat.com>
34843 * elf/rtld.c: Include <stap-probe.h>.
34844 (dl_main): Added static probes "init_start" and "init_complete".
34845 * elf/dl-load.c: Include <stap-probe.h>.
34846 (lose): Take new parameter "nsid".
34847 Added static probe "map_failed".
34848 (_dl_map_object_from_fd): Pass namespace id to lose.
34849 Added static probe "map_start".
34850 (open_verify): Pass namespace id to lose.
34851 * elf/dl-open.c: Include <stap-probe.h>.
34852 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34853 and "reloc_complete".
34854 * elf/dl-close.c: Include <stap-probe.h>.
34855 (_dl_close_worker): Added static probes "unmap_start" and
34857 * elf/rtld-debugger-interface.txt: New file documenting the above.
34859 2012-07-26 Roland McGrath <roland@hack.frob.com>
34861 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34862 rather than a string variable.
34863 * sunrpc/rpc_main.c (h_output): Likewise.
34864 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34866 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34868 * inet/check_native.c: New file.
34870 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34873 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34874 if larger part has absolute value 1.0.
34875 * math/s_clog10.c (__clog10): Likewise.
34876 * math/s_clog10f.c (__clog10f): Likewise.
34877 * math/s_clog10l.c (__clog10l): Likewise.
34878 * math/s_clogf.c (__clogf): Likewise.
34879 * math/s_clogl.c (__clogl): Likewise.
34880 * math/libm-test.inc (clog_test): Add more tests.
34881 (clog10_test): Likewise.
34882 * sysdeps/i386/fpu/libm-test-ulps: Update.
34883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34885 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34886 (pltexit): Likewise.
34887 (La_regs): Likewise.
34888 (La_retval): Likewise.
34889 (int_retval): Likewise.
34890 Update #error for removed macros to refer only to definitions in
34892 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34894 (pltexit): Likewise.
34895 (La_regs): Likewise.
34896 (La_retval): Likewise.
34897 (int_retval): Likewise.
34898 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34900 (pltexit): Likewise.
34901 (La_regs): Likewise.
34902 (La_retval): Likewise.
34903 (int_retval): Likewise.
34904 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34906 (pltexit): Likewise.
34907 (La_regs): Likewise.
34908 (La_retval): Likewise.
34909 (int_retval): Likewise.
34910 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34912 (pltexit): Likewise.
34913 (La_regs): Likewise.
34914 (La_retval): Likewise.
34915 (int_retval): Likewise.
34916 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34918 (pltexit): Likewise.
34919 (La_regs): Likewise.
34920 (La_retval): Likewise.
34921 (int_retval): Likewise.
34922 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34924 (pltexit): Likewise.
34925 (La_regs): Likewise.
34926 (La_retval): Likewise.
34927 (int_retval): Likewise.
34928 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34929 macro definitions in tst-audit.h.
34930 * sysdeps/i386/tst-audit.h: New file.
34931 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34932 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34933 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34934 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34935 * sysdeps/sh/tst-audit.h: Likewise.
34936 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34937 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34938 * sysdeps/x86_64/tst-audit.h: Likewise.
34940 2012-07-26 Andreas Jaeger <aj@suse.de>
34942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34945 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34946 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34947 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34949 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34950 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34951 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34953 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34956 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34958 (si_call_addr, si_syscall, si_arch): Define new macro.
34959 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34961 (si_call_addr, si_syscall, si_arch): Define new marcro.
34962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34964 (si_call_addr, si_syscall, si_arch): Define new macro.
34965 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34967 (si_call_addr, si_syscall, si_arch): Define new macro.
34969 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34973 Change to 2.4.21 where previously 2.4.1.
34974 * sysdeps/unix/sysv/linux/configure: Regenerated.
34975 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34976 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34977 Linux kernel version.
34978 (__ASSUME_STD_AUXV): Remove.
34979 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34981 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34982 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34983 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34984 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34985 (__ASSUME_NETLINK_SUPPORT): Likewise.
34986 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34987 (__no_netlink_support): Remove conditional definition.
34988 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34990 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34991 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34992 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34993 (if_nameindex_ioctl): Remove.
34994 (if_nameindex_netlink): Do not handle __no_netlink_support.
34995 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34997 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34998 Remove conditional code.
34999 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35001 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35003 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35004 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35005 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35007 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35008 [!__ASSUME_STD_AUXV]: Remove conditional code.
35009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35010 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35011 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35013 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35014 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35016 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35018 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35019 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35021 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35023 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35026 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35029 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35030 code unconditional.
35031 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35033 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35035 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35038 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35040 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35043 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35044 code unconditional.
35045 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35047 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35049 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35052 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35053 code unconditional.
35054 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35056 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35058 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35061 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35063 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35064 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35065 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35066 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35067 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35068 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35069 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35070 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35071 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35072 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35073 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35074 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35075 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35076 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35077 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35078 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35081 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35083 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35084 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35085 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35087 2012-07-25 Florian Weimer <fweimer@redhat.com>
35089 * Versions.def: Add GLIBC_2.17.
35090 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35091 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35092 Introduce __libc_secure_getenv.
35093 * stdlib/Versions (2.17): Add secure_getenv
35094 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35095 * stdlib/secure-getenv.c: Rename __secure_getenv to
35096 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35097 symbol __secure_getenv for GLIBC_2.0.
35098 * stdlib/tst-secure-getenv.c: New.
35099 * stdlib/Makefile (tests): Add testcase.
35100 * manual/startup.texi (Environment Access): Document
35102 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35103 __libc_secure_getenv.
35104 * inet/ruserpass.c (ruserpass): Likewise.
35105 * malloc/mtrace.c (mtrace): Likewise.
35106 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35107 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35108 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35109 * sysdeps/posix/tempname.c: Likewise. Evaluate
35110 HAVE_SECURE_GETENV.
35111 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35112 __secure_getenv to __libc_secure_getenv.
35113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35126 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35128 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35129 (struct La_i86_retval): Likewise.
35130 (struct La_x86_64_regs): Likewise.
35131 (struct La_x86_64_retval): Likewise.
35132 (struct La_x32_regs): Likewise.
35133 (struct La_x32_retval): Likewise.
35134 (struct La_ppc32_regs): Likewise.
35135 (struct La_ppc32_retval): Likewise.
35136 (struct La_ppc64_regs): Likewise.
35137 (struct La_ppc64_retval): Likewise.
35138 (struct La_sh_regs): Likewise.
35139 (struct La_sh_retval): Likewise.
35140 (struct La_s390_32_regs): Likewise.
35141 (struct La_s390_32_retval): Likewise.
35142 (struct La_s390_64_regs): Likewise.
35143 (struct La_s390_64_retval): Likewise.
35144 (struct La_sparc32_regs): Likewise.
35145 (struct La_sparc32_retval): Likewise.
35146 (struct La_sparc64_regs): Likewise.
35147 (struct La_sparc64_retval): Likewise.
35148 (struct audit_ifaces): Remove architecture-specific pltenter and
35150 * sysdeps/i386/ldsodefs.h: New file.
35151 * sysdeps/powerpc/ldsodefs.h: Likewise.
35152 * sysdeps/s390/ldsodefs.h: Likewise.
35153 * sysdeps/sh/ldsodefs.h: Likewise.
35154 * sysdeps/sparc/ldsodefs.h: Likewise.
35155 * sysdeps/x86_64/ldsodefs.h: Likewise.
35157 2012-07-25 Marek Polacek <polacek@redhat.com>
35160 * math/libm-test.inc (yn_test): Add another test.
35161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35162 to ERANGE when the result is +-Inf.
35163 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35164 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35165 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35166 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35168 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35170 * conform/data/time.h-data (NULL): Use macro-constant. Require
35172 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35174 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35176 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35178 * configure.in <sysdeps resolving>: Correct printing
35180 * configure: Regenerate.
35182 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35184 * math/w_ilogb.c: Include <limits.h>.
35185 * math/w_ilogbl.c: Likewise.
35187 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35189 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35190 va_copy. Document allowing for unavailable va_copy only as
35191 pre-C99 compatibility.
35192 * manual/string.texi (Copying and Concatenation): Use va_copy
35193 instead of __va_copy in concat example.
35195 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35197 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35198 (__sendto): Use create_address_port. Initialize APORT and deallocate
35201 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35202 with O_NOLINK passed to __file_name_lookup.
35204 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35205 with O_NOLINK passed to __file_name_lookup.
35207 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35208 negative N or less than NGIDS.
35210 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35211 type to string_t. Set ERANGE as errno and return it if NAME is not big
35212 enough. Use memcpy instead of strncpy.
35214 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35216 * elf/Makefile (check-data): Remove.
35217 (localplt.data): New vpath directive.
35218 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35219 instead of $(check-data).
35220 * scripts/data/localplt-generic.data: Move to ...
35221 * sysdeps/generic/localplt.data: ... here.
35222 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35223 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35224 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35227 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35230 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35233 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35236 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35239 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35243 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35245 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35246 PPC32 and PPC64 files.
35247 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35248 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35250 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35252 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35253 __makecontext_ret to ...
35254 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35255 ... here and call exit if uc_link is NULL. New file.
35256 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35257 __makecontext_ret.S.
35258 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35259 __makecontext_ret to ...
35260 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35261 ... here and call exit if uc_link is NULL. New file.
35262 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35263 __makecontext_ret.S.
35265 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35267 * elf/elf.h (R_390_IRELATIVE): New definition.
35268 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35269 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35270 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35271 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35272 (elf_machine_lazy_rel): Likewise.
35273 * sysdeps/s390/dl-irel.h: New file.
35274 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35275 * sysdeps/s390/s390-64/memset.S: New asm code.
35276 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35277 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35278 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35279 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35280 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35281 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35283 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35284 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35285 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35286 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35287 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35288 * sysdeps/s390/s390-32/memset.S: New asm code.
35289 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35291 2012-07-17 Marek Polacek <polacek@redhat.com>
35294 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35295 * sysdeps/s390/s390-64/configure.in: Likewise.
35296 * sysdeps/sparc/configure.in: Likewise.
35297 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35298 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35299 * sysdeps/i386/configure.in: Likewise.
35300 * sysdeps/x86_64/configure.in: Likewise.
35301 * sysdeps/sh/configure.in: Likewise.
35302 * sysdeps/s390/s390-32/configure: Regenerated.
35303 * sysdeps/s390/s390-64/configure: Likewise.
35304 * sysdeps/x86_64/configure: Likewise.
35305 * sysdeps/sh/configure: Likewise.
35306 * sysdeps/powerpc/powerpc64/configure: Likewise.
35307 * sysdeps/powerpc/powerpc32/configure: Likewise.
35308 * sysdeps/sparc/configure: Likwise.
35309 * sysdeps/i386/configure: Likewise.
35311 * elf/dl-open.c: Comment fixes.
35313 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35315 * Makefile [CXX] (check-data): Remove.
35316 [CXX] (c++-types.data): New vpath directive.
35317 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35318 vpath. Do not allow for C++ type data being missing.
35319 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35320 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35321 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35322 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35323 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35324 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35325 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35328 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35331 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35334 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35337 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35340 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35343 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35346 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35349 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35350 definitions to architecture-specific files.
35351 (TLS_IE): Likewise.
35352 (TLS_LD): Likewise.
35353 (TLS_GD): Likewise.
35354 * sysdeps/i386/tls-macros.h: New file.
35355 * sysdeps/powerpc/tls-macros.h: Likewise.
35356 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35357 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35358 * sysdeps/sh/tls-macros.h: Likewise.
35359 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35360 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35361 * sysdeps/x86_64/tls-macros.h: Likewise.
35363 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35365 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35366 zero value for regular exit case.
35368 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35369 (__start_context): Preserve zero value for regular exit case.
35371 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35372 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35374 * manual/setjmp.texi (setcontext): Clarify normal process
35375 termination when uc_link is the null pointer.
35376 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35379 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35381 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35382 preprocessor. Test for each exception mask separately.
35384 2012-07-16 Andreas Jaeger <aj@suse.de>
35386 * po/ru.po: Update from translation team.
35388 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35390 * conform/data/string.h-data (NULL): Use macro-constant. Require
35392 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35393 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35394 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35395 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35398 2012-07-13 Andreas Jaeger <aj@suse.de>
35400 * po/fr.po: Update from translation team.
35402 2012-07-12 Marek Polacek <polacek@redhat.com>
35405 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35409 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35413 Change to 2.4.1 where previously 2.4.0.
35414 * sysdeps/unix/sysv/linux/configure: Regenerated.
35415 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35416 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35418 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35419 (__ASSUME_AT_CLKTCK): Remove.
35420 (__ASSUME_AT_PAGESIZE): Likewise.
35421 (__ASSUME_AT_XID): Likewise.
35422 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35423 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35424 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35426 (HAVE_AUX_PAGESIZE): Likewise.
35427 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35428 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35429 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35431 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35435 the temporary buffer used to invoke __gethostbyname2_r,
35436 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35437 host_data / struct gaih_addrtuple.
35438 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35439 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35440 header file nss/nsswitch.h.
35441 * nss/nsswitch.h (global scope): Add definition of implementation
35442 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35443 resolv/nss_dns/dns-host.c).
35445 2012-07-11 Andreas Jaeger <aj@suse.de>
35447 * po/fr.po: Update from translation team.
35449 * po/sv.po: Update from translation team
35450 * po/fr.po: Another update from translation team.
35452 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35454 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35455 for subnormals or multiply small sinh result by itself.
35456 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35459 2012-07-11 David S. Miller <davem@davemloft.net>
35461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35463 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35466 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35467 (INTERNAL_MARK): Shift it here.
35469 2012-07-10 Marek Polacek <polacek@redhat.com>
35472 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35473 libc_cv_asm_global_directive with .globl.
35474 * configure: Regenerated.
35475 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35477 * sysdeps/i386/configure: Regenerated.
35478 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35480 * sysdeps/x86_64/configure: Regenerated.
35481 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35482 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35483 * elf/tst-unique2mod2.c: Likewise.
35484 * elf/tst-unique2mod1.c: Likewise.
35485 * elf/tst-unique1mod2.c: Likewise.
35486 * elf/tst-unique1mod1.c: Likewise.
35487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35488 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35490 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35491 * sysdeps/mach/sysdep.h: Likewise.
35492 * sysdeps/i386/sysdep.h: Likewise.
35493 * sysdeps/i386/i386-mcount.S: Likewise.
35494 * sysdeps/x86_64/_mcount.S: Likewise.
35495 * sysdeps/x86_64/sysdep.h: Likewise.
35496 * sysdeps/sh/_mcount.S: Likewise.
35497 * sysdeps/sh/sysdep.h: Likewise.
35498 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35499 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35500 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35501 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35502 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35503 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35504 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35505 * locale/localeinfo.h: Likewise.
35506 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35507 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35509 2012-07-09 Roland McGrath <roland@hack.frob.com>
35512 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35514 * manual/message.texi (The Uniforum approach): Likewise.
35515 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35516 (glibc iconv Implementation): Likewise.
35518 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35521 * math/s_clog.c (__clog): Avoid scaling a value down where that
35522 could result in underflow.
35523 * math/s_clog10.c (__clog10): Likewise.
35524 * math/s_clog10f.c (__clog10f): Likewise.
35525 * math/s_clog10l.c (__clog10l): Likewise.
35526 * math/s_clogf.c (__clogf): Likewise.
35527 * math/s_clogl.c (__clogl): Likewise.
35528 * math/libm-test.inc (clog_test): Add more tests.
35529 (clog10_test): Likewise.
35530 * sysdeps/i386/fpu/libm-test-ulps: Update.
35531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35533 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35536 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35537 by 7 not 8 to examine high bit of fractional part.
35540 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35541 for call to __mcount_internal.
35542 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35543 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35544 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35546 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35549 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35550 approximation for values within 0x1p-13f of an odd multiple of
35552 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35553 exception. Add more tests.
35554 * sysdeps/i386/fpu/libm-test-ulps: Update.
35557 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35558 inputs and return -1 for them. Do not check for +Inf in case not
35559 reachable for +Inf.
35560 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35561 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35563 and return -1 for them. Do not check for +Inf in case not
35564 reachable for +Inf.
35565 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35568 and return -1 for them. Do not check for +Inf in case not
35569 reachable for +Inf.
35570 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35571 spurious underflow.
35572 * sysdeps/i386/fpu/libm-test-ulps: Update.
35573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35575 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35577 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35579 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35583 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35584 could result in spurious underflow. Scale down values above
35585 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35586 * math/s_csqrtf.c (__csqrtf): Likewise.
35587 * math/s_csqrtl.c (__csqrtl): Likewise.
35588 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35589 spurious underflow.
35590 * sysdeps/i386/fpu/libm-test-ulps: Update.
35591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35595 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35597 * catgets/xopen-msg.awk: New file.
35598 * catgets/xopen-msg.sed: Removed.
35600 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35602 * intl/po2test.awk: New file.
35603 * intl/po2test.sed: Removed.
35605 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35608 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35609 or multiply small sinh result by itself.
35610 * math/s_ctanf.c (__ctanf): Likewise.
35611 * math/s_ctanh.c (__ctanh): Likewise.
35612 * math/s_ctanhf.c (__ctanhf): Likewise.
35613 * math/s_ctanhl.c (__ctanhl): Likewise.
35614 * math/s_ctanl.c (__ctanl): Likewise.
35615 * math/libm-test.inc (ctan_test_tonearest): New function.
35616 (ctan_test_towardzero): Likewise.
35617 (ctan_test_downward): Likewise.
35618 (ctan_test_upward): Likewise.
35619 (ctanh_test_tonearest): Likewise.
35620 (ctanh_test_towardzero): Likewise.
35621 (ctanh_test_downward): Likewise.
35622 (ctanh_test_upward): Likewise.
35623 (main): Call these new functions.
35624 * sysdeps/i386/fpu/libm-test-ulps: Update.
35625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35627 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35629 * .gitignore: Delete /ports entry.
35631 2012-07-03 Andreas Jaeger <aj@suse.de>
35633 * po/bg.po: Update from translation team.
35634 * po/cs.po: Likewise.
35635 * po/de.po: Likewise.
35636 * po/hr.po: Likewise.
35637 * po/nl.pl: Likewise.
35638 * po/pl.po: Likewise.
35639 * po/vi.po: Likewise.
35641 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35643 * Makeconfig [!+link] (+link-before-libc): New variable.
35644 [!+link] (+link-after-libc): Likewise.
35645 [!+link] (+link-tests): Likewise.
35646 [!+link] (+link): Define in terms of $(+link-before-libc) and
35647 $(+link-after-libc).
35648 [!+link-static] (+link-static-before-libc): New variable.
35649 [!+link-static] (+link-static-after-libc): Likewise.
35650 [!+link-static] (+link-static-tests): Likewise.
35651 [!+link-static] (+link-static): Define in terms of
35652 $(+link-static-before-libc) and $(+link-static-after-libc).
35653 [build-shared] (link-libc-before-gnulib): New variable.
35654 [build-shared] (link-libc-tests): Likewise.
35655 [build-shared] (link-libc): Define in terms of
35656 $(link-libc-before-gnulib).
35657 [!build-shared] (link-libc-tests): New variable.
35658 (link-libc-static-tests): New variable.
35659 [!gnulib] (gnulib-arch): New variable.
35660 [!gnulib] (gnulib-tests): Likewise.
35661 [!gnulib] (static-gnulib-arch): Likewise.
35662 [!gnulib] (static-gnulib-tests): Likewise.
35663 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35664 Define with "=" instead of ":=".
35665 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35666 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35667 * Rules (binaries-all-notests): New variable.
35668 (binaries-all-tests): Likewise.
35669 (binaries-static-notests): Likewise.
35670 (binaries-static-tests): Likewise.
35671 (binaries-all): Define using $(binaries-all-notests) and
35672 $(binaries-all-tests).
35673 (binaries-static): Define using $(binaries-static-notests) and
35674 $(binaries-static-tests).
35675 (binaries-shared-tests): New variable.
35676 (binaries-shared-notests): Likewise.
35677 (binaries-shared): Remove variable.
35678 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35679 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35680 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35681 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35682 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35683 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35684 * elf/Makefile (sln-modules): New variable.
35685 (extra-objs): Add $(sln-modules:=.o).
35686 (ldconfig-modules): Add static-stubs.
35687 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35688 * elf/static-stubs.c: New file.
35691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35692 by 7 not 8 to examine high bit of fractional part. Use volatile
35693 variables when splitting into final array of floats if
35694 __FLT_EVAL_METHOD__ != 0.
35695 * math/libm-test.inc (cos_test): Add another test.
35696 (sin_test): Likewise.
35697 * sysdeps/i386/fpu/libm-test-ulps: Update.
35700 * math/libm-test.inc (cosh_test): Add more tests.
35702 * version.h (RELEASE): Set to "development".
35703 (VERSION): Set to "2.16.90".
35705 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35707 * NEWS: Update copyright. Remove last-updated date.
35708 Mention math library bug fixes and timezone data changes.
35709 * README: Mention GNU/Hurd, x32, and HPPA support status.
35711 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35713 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35715 2012-06-27 Andreas Jaeger <aj@suse.de>
35717 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35719 2012-06-25 Andreas Jaeger <aj@suse.de>
35721 * sysdeps/s390/fpu/libm-test-ulps: Update.
35723 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35724 Thomas Schwinge <thomas@codesourcery.com>
35726 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35727 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35731 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35733 * sysdeps/mach/start.c: Remove file.
35734 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35735 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35736 * sysdeps/sh/init-first.c: Likewise.
35738 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35739 registers for frame unwinding purposes, add CFI directives.
35740 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35742 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35745 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35746 __fortify_fail returning.
35747 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35749 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35750 sysdeps/sh/____longjmp_chk.S.
35751 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35752 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35753 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35754 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35756 * sysdeps/sh/abort-instr.h: New file.
35757 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35758 process in case exit returns.
35760 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35761 initialize the GOT register before use.
35763 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35764 calculation of ARGC > 4.
35766 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35767 meaningful names to some local labels.
35769 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35770 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35773 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35774 (__arch_compare_and_exchange_val_16_acq): Likewise.
35775 (__arch_compare_and_exchange_val_32_acq): Likewise.
35776 (atomic_exchange_and_add): Fix gUSA sequence.
35777 (atomic_add): Likewise.
35778 (atomic_add_negative): Likewise.
35779 (atomic_add_zero): Likewise.
35780 (atomic_bit_test_set): Likewise.
35782 2012-06-22 Andreas Schwab <schwab@redhat.com>
35785 * include/link.h (struct link_map): Add l_free_initfini.
35786 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35788 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35789 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35790 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35793 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35795 * configure.in: Use AC_LANG_SOURCE.
35796 * configure: Regenerate.
35798 2012-06-22 Roland McGrath <roland@hack.frob.com>
35800 * configure.in (libc_cv_localstatedir): New substituted variable.
35801 * configure: Regenerated.
35802 * config.make.in (localstatedir): New variable, substituted from
35803 libc_cv_localstatedir.
35804 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35805 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35806 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35807 * sysdeps/gnu/configure: Regenerated.
35809 2012-06-21 Jeff Law <law@redhat.com>
35812 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35813 free. Simplify list management for _LIBC case.
35815 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35819 Clear sign bit of 64-bit integer value before comparing against
35822 * sysdeps/mach/configure: Regenerated.
35824 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35827 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35829 2012-06-21 Jeff Law <law@redhat.com>
35832 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35833 uint16_t for elements in the "seen" array to avoid char overflows.
35834 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35835 * elf/dl-open.c (dl_open_worker): Likewise.
35837 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35839 * scripts/list-sources.sh: Scan PORTS for translations.
35840 * po/libc.pot: Regenerated.
35842 2012-06-21 Andreas Jaeger <aj@suse.de>
35845 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35847 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35848 * bits/byteswap-16.h (__bswap_16): Likewise.
35849 * bits/byteswap.h (__bswap_constant_16): Likewise.
35851 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35854 * sysdeps/i386/fpu_control.h: Removed.
35855 * sysdeps/x86_64/fpu_control.h: Moved to ...
35856 * sysdeps/x86/fpu_control.h: Here.
35858 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35859 (_FPU_SETCW): Likewise.
35861 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35864 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35865 * sysdeps/x86/fpu/bits/mathinline.h: This.
35866 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35870 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35871 functions if __x86_64__ is defined.
35873 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35875 * string/endian.h: Add !__ASSEMBLER__ condition for including
35876 conversion interfaces.
35878 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35882 of ABS(x) in calculating zero to negative powers other than odd
35884 * math/libm-test.inc (pow_test): Add more tests.
35886 2012-06-15 Andreas Jaeger <aj@suse.de>
35888 * manual/contrib.texi (Contributors): Update entry of Liubov
35889 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35892 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35894 * string/string.h: Add __wur to GNU version of strerror_r.
35896 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35899 * string/Makefile (tests): Add tst-strtok_r.
35900 * string/tst-strtok_r.c: New file.
35901 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35902 RAX_LP/RDX_LP on SAVE_PTR.
35904 2012-06-14 Roland McGrath <roland@hack.frob.com>
35906 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35908 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35910 * libm_test.inc (csqrt_test): Allow more spurious underflow
35912 (j0_test): Likewise.
35913 (j1_test): Likewise.
35914 (y0_test): Likewise.
35915 (y1_test): Likewise.
35917 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35919 * po/Makefile (libc.pot): Use UTF-8 charset.
35921 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35924 Suppress sign-conversion warning from FD_SET.
35925 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35926 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35927 not unsigned long int.
35928 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35930 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35934 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35935 __extern_always_inline instead of __extern_inline.
35936 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35937 (__signbit): Likewise.
35938 (__signbitl): Support C++ namespace.
35939 (lrintf): New inline function.
35941 (llrintf): Likewise.
35942 (llrint): Likewise.
35952 (floorf): Likewise.
35953 (nearbyint): Likewise.
35954 (nearbyintf): Likewise.
35956 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35959 non-default versions.
35961 2012-06-11 Roland McGrath <roland@hack.frob.com>
35964 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35966 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35968 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35969 (FE_UPWARD, FE_DOWNWARD): Don't define.
35970 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35973 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35975 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35978 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35980 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35982 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35983 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35985 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35988 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35989 * sysdeps/i386/fpu/Implies: New file.
35990 * sysdeps/x86_64/fpu/Implies: Likewise.
35991 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35992 * sysdeps/x86/fpu/bits/fenv.h: This.
35994 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35997 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36000 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36001 character 0xffff that matches the last element of the
36004 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36009 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36012 values higher than 25.6283.
36014 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36017 subnormal exponent extraction and add some __builtin_expect.
36018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36019 Fix for subnormal mantissa calculation.
36021 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36023 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36024 cpu2 is -1 and errno is not ENOSYS.
36026 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36029 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36030 * sysdeps/x86/bits/string.h: This.
36031 * sysdeps/x86_64/bits/string.h: Removed.
36033 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36034 if not compiling for x86-64, but compiling for >= i486.
36036 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36037 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36039 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36040 New macro from Linux kernel 3.4.0.
36041 (FP_XSTATE_MAGIC2): Likewise.
36042 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36043 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36044 (struct _fpx_sw_bytes): New struct.
36045 (struct _xsave_hdr): Likewise.
36046 (struct _ymmh_state): Likewise.
36047 (struct _xstate): Likewise.
36049 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36050 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36052 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36053 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36054 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36056 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36057 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36058 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36059 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36060 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36061 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36063 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36066 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36067 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36068 (sysdep_headers): Include sys/platform/ppc.h.
36069 * sysdeps/powerpc/test-gettimebase.c: Test for
36070 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36071 * manual/Makefile (appendices): Include platform.texi.
36072 * manual/contrib.texi (Contributors): Update @node pointers.
36073 * manual/maint.texi (Maintenance): Likewise.
36074 (Platform): New node.
36075 * manual/platform.texi: New file. Document the new features.
36077 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36078 Jakub Jelinek <jakub@redhat.com>
36081 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36082 where __builtin_expect is unavailable.
36084 2012-06-03 David S. Miller <davem@davemloft.net>
36086 * stdlib/longlong.h: Updated from GCC.
36088 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36091 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36092 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36095 (GLIBC_2.16): Likewise.
36097 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36099 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36101 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36104 (default-abi): New variable.
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36106 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36108 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36110 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36112 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36115 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36116 definition. Document in comment.
36118 2012-06-01 David S. Miller <davem@davemloft.net>
36120 * stdlib/longlong.h: Updated from GCC.
36122 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36125 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36126 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36127 sys/debugreg.h sys/io.h here.
36128 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36129 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36131 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36132 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36133 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36134 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36135 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36136 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36138 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36139 Define only if __x86_64__ is defined.
36141 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36144 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36145 Use int64_t for variable i.
36146 * math/libm-test.inc (fmod_test): Add more tests.
36148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36149 z computation is not scheduled after fetestexcept.
36150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36151 Use math_force_eval instead of asm to ensure calculation scheduled
36152 before exception test.
36153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36154 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36156 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36159 computation is not scheduled after fetestexcept.
36161 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36164 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36165 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36167 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36169 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36170 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36172 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36175 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36177 (__WCHAR_MIN): Support __WORDSIZE == 64.
36178 (__WCHAR_MAX): Likewise.
36180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36185 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36188 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36191 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36192 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36194 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36195 Defined to 1 if __x86_64__ isn't defined.
36196 (_STAT_VER_LINUX_OLD): New.
36197 (st_atime): Remove duplicate.
36198 (st_mtime): Likewise.
36199 (st_ctime): Likewise.
36201 2012-05-31 David S. Miller <davem@davemloft.net>
36203 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36206 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36208 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36212 * elf/dl-reloc.c: Include <_itoa.h>.
36213 (_dl_reloc_bad_type): Remove use of INTUSE.
36214 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36215 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36216 * stdio-common/psiginfo.c (psiginfo): Likewise.
36217 * stdio-common/psignal.c (psignal): Likewise.
36218 * string/strsignal.c (strsignal): Likewise.
36219 * include/signal.h (_sys_siglist): Declare hidden proto.
36220 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36221 INTVARDEF with libc_hidden_data_def.
36222 * stdio-common/itoa-udigits.c: Likewise.
36223 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36224 (_itoa_lower_digits_internal): Remove declaration.
36225 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36226 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36227 (_sys_sigabbrev_internal): Remove aliases.
36228 (_sys_siglist): Define hidden alias.
36230 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36235 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36238 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36239 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36241 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36242 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36243 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36244 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36246 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36248 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36249 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36250 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36264 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36265 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36267 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36268 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36269 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36271 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36272 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36274 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36275 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36281 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36282 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36284 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36286 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36287 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36288 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36290 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36292 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36294 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36296 * math/math.h (M_El): Use two more decimal places.
36297 (M_LOG2El): Likewise.
36298 (M_LOG10El): Likewise.
36299 (M_LN2l): Likewise.
36300 (M_LN10l): Likewise.
36302 (M_PI_2l): Likewise.
36303 (M_PI_4l): Likewise.
36304 (M_1_PIl): Likewise.
36305 (M_2_PIl): Likewise.
36306 (M_2_SQRTPIl): Likewise.
36307 (M_SQRT2l): Likewise.
36308 (M_SQRT1_2l): Likewise.
36310 2012-05-31 David S. Miller <davem@davemloft.net>
36312 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36313 values between float registers.
36314 * sysdeps/sparc/sparc64/memset.S: Likewise.
36315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36317 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36319 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36320 -D_FORTIFY_SOURCE=1.
36321 (CPPFLAGS-tst-longjmp_chk.c): Define.
36322 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36323 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36324 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36325 CFLAGS-tst-wchar-h.c.
36327 2012-05-31 Marek Polacek <polacek@redhat.com>
36330 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36331 __endmntent_internal): Remove declaration.
36332 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36333 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36334 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36336 2012-05-30 David S. Miller <davem@davemloft.net>
36338 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36339 (___Q_simulate_exceptions): Use real FP ops rather than writing
36341 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36347 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36348 * sysdeps/x86/bits/xtitypes.h: This.
36350 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36351 * sysdeps/x86/bits/wordsize.h: This.
36353 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36354 * sysdeps/x86/bits/huge_vall.h: This.
36356 * sysdeps/i386/bits/select.h: Removed.
36357 * sysdeps/x86_64/bits/select.h: Renamed to ...
36358 * sysdeps/x86/bits/select.h: This.
36360 * sysdeps/i386/bits/setjmp.h: Removed.
36361 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36362 * sysdeps/x86/bits/setjmp.h: This.
36364 * sysdeps/i386/bits/mathdef.h: Removed.
36365 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36366 * sysdeps/x86/bits/mathdef.h: This.
36368 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36371 * include/sys/socket.h (__connect_internal)
36372 (__libc_sa_len_internal): Remove declaration.
36373 (__connect, __libc_sa_len): Declare hidden_proto.
36374 (SA_LEN): Remove use of INTUSE.
36375 * socket/connect.c: Add libc_hidden_def.
36376 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36377 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36378 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36380 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36382 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36383 of adding _internal alias.
36385 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36388 * sysdeps/i386/bits/link.h: Removed.
36389 * sysdeps/i386/bits/linkmap.h: Likewise.
36390 * sysdeps/x86_64/bits/link.h: Renamed to ...
36391 * sysdeps/x86/bits/link.h: This.
36392 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36393 * sysdeps/x86/bits/linkmap.h: This.
36395 * sysdeps/i386/bits/endian.h: Removed.
36396 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36397 * sysdeps/x86/bits/endian.h: This.
36399 * sysdeps/i386/bits/byteswap.h: Removed.
36400 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36401 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36402 * sysdeps/x86/bits/byteswap.h: This.
36403 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36404 * sysdeps/x86/bits/byteswap-16.h: This.
36405 * sysdeps/i386/Implies: Add x86.
36406 * sysdeps/x86_64/Implies: Likewise.
36408 2012-05-30 David S. Miller <davem@davemloft.net>
36410 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36411 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36413 (FP_TRAPPING_EXCEPTIONS): Define.
36414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36415 (FP_TRAPPING_EXCEPTIONS): Define.
36416 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36417 subnormals only when inexact has been signalled or underflow
36418 exceptions are enabled.
36419 (_FP_PACK_CANONICAL): Likewise.
36421 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36425 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36427 2012-05-30 Richard Henderson <rth@twiddle.net>
36429 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36430 with #ifndef NOT_IN_libc.
36432 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36433 marked to avoid plt entry.
36435 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36438 * Makeconfig (default-abi): New macro.
36439 (abi-includes): Likewise.
36440 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36441 $(abi-$(default-abi)-lib-soname) for soname if defined.
36442 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36444 * Makefile (installed-stubs): Likewise.
36445 * include/stubs-biarch.h: Removed.
36446 * scripts/lib-names.awk: Only handle one library at a time.
36447 * scripts/soversions.awk: Remove WORDSIZE support.
36448 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36450 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36452 (syscall-list-default-condition): Likewise.
36453 (syscall-list-default-condition): Likewise.
36454 (syscall-list-includes): Likewise.
36455 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36456 syscall-list-* with abi-*. Handle undefined abi-variants.
36457 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36458 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36459 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36460 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36461 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36462 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36464 (syscall-list-32-options): Likewise.
36465 (syscall-list-32-condition): Likewise.
36466 (syscall-list-64-options): Likewise.
36467 (syscall-list-64-condition): Likewise.
36468 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36470 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36473 (abi-64-ld-soname): New macro.
36474 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36475 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36478 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36479 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36481 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36483 * sysdeps/unix/sysv/linux/kernel-features.h
36484 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36485 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36486 include <kernel-features.h>.
36487 [!__NR_ftruncate64]: Remove conditional code.
36488 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36489 [__NR_ftruncate64]: Make code unconditional.
36490 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36491 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36492 include <kernel-features.h>.
36493 [!__NR_ftruncate64]: Remove conditional code.
36494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36495 [__NR_ftruncate64]: Make code unconditional.
36496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36498 include <kernel-features.h>.
36499 [!__NR_ftruncate64]: Remove conditional code.
36500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36501 [__NR_ftruncate64]: Make code unconditional.
36502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36504 include <kernel-features.h>.
36505 [!__NR_ftruncate64]: Remove conditional code.
36506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36507 [__NR_ftruncate64]: Make code unconditional.
36508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36510 * configure.in (libc_cv_fpie): Weaken to a compile test using
36511 LIBC_TRY_CC_OPTION.
36512 * configure: Regenerated.
36514 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36529 2012-05-27 David S. Miller <davem@davemloft.net>
36531 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36533 (__Q_simulate_exceptions): Return void. Change to simulate
36534 exceptions by writing into the %fsr.
36535 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36536 (__Qp_handle_exceptions): Likewise.
36538 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36539 __Qp_handle_exceptions.
36540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36541 __Qp_handle_exceptions.
36542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36543 as unused and give dummy FP_RND_NEAREST initializer.
36544 (FP_INHIBIT_RESULTS): Define.
36545 (___Q_simulate_exceptions): Update declaration.
36546 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36549 as unused and give dummy FP_RND_NEAREST initializer.
36550 (__Qp_handle_exceptions): Update declaration.
36551 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36554 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36556 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36557 the temporary FPU control word.
36558 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36559 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36561 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36562 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36563 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36564 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36566 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36567 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36568 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36570 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36572 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36575 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36577 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36578 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36579 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36580 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36582 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36583 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36586 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36588 * po/h.po: Update from translation team.
36590 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36592 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36594 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36595 handling of denormals.
36596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36597 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36598 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36599 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36605 2012-05-26 Marek Polacek <polacek@redhat.com>
36608 * math/libm-test.inc (fma_test): Don't always expect underflow
36611 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36614 * elf/tst-execstack.c: Include stackinfo.h.
36615 (do_test): Adjust test case to ensure that pthread_getattr_np
36616 behaviour remains the same after marking stack executable.
36618 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36620 * sysdeps/unix/sysv/linux/kernel-features.h
36621 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36622 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36624 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36625 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36626 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36628 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36629 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36631 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36633 * configure.in: Define the default includes to being none.
36634 * configure: Regenerated.
36636 2012-05-25 Roland McGrath <roland@hack.frob.com>
36638 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36639 * sysdeps/x86_64/setjmp.S: Likewise.
36640 * sysdeps/i386/bsd-setjmp.S: Likewise.
36641 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36642 * sysdeps/i386/setjmp.S: Likewise.
36643 * sysdeps/i386/__longjmp.S: Likewise.
36644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36645 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36647 * include/stap-probe.h: New file.
36648 * configure.in: Handle --enable-systemtap.
36649 * configure: Regenerated.
36650 * config.h.in (USE_STAP_PROBE): New #undef.
36651 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36652 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36653 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36655 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36659 to 2.4.0 where earlier.
36660 * sysdeps/unix/sysv/linux/configure: Regenerated.
36661 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36662 <kernel-features.h>.
36663 [__ASSUME_32BITUIDS]: Make code unconditional.
36664 [!__ASSUME_32BITUIDS]: Remove conditional code.
36665 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36666 <kernel-features.h>.
36667 [__ASSUME_32BITUIDS]: Make code unconditional.
36668 [!__ASSUME_32BITUIDS]: Remove conditional code.
36669 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36670 [__ASSUME_32BITUIDS]: Make code unconditional.
36671 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36672 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36673 <kernel-features.h>.
36674 [__ASSUME_32BITUIDS]: Make code unconditional.
36675 [!__ASSUME_32BITUIDS]: Remove conditional code.
36676 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36677 <kernel-features.h>.
36678 [__ASSUME_32BITUIDS]: Make code unconditional.
36679 [!__ASSUME_32BITUIDS]: Remove conditional code.
36680 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36681 <kernel-features.h>.
36682 [__ASSUME_32BITUIDS]: Make code unconditional.
36683 [!__ASSUME_32BITUIDS]: Remove conditional code.
36684 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36685 <kernel-features.h>.
36686 [__ASSUME_32BITUIDS]: Make code unconditional.
36687 [!__ASSUME_32BITUIDS]: Remove conditional code.
36688 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36689 <kernel-features.h>.
36690 [__ASSUME_32BITUIDS]: Make code unconditional.
36691 [!__ASSUME_32BITUIDS]: Remove conditional code.
36692 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36693 <kernel-features.h>.
36694 [__ASSUME_32BITUIDS]: Make code unconditional.
36695 [!__ASSUME_32BITUIDS]: Remove conditional code.
36696 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36697 <kernel-features.h>.
36698 [__ASSUME_32BITUIDS]: Make code unconditional.
36699 [!__ASSUME_32BITUIDS]: Remove conditional code.
36700 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
36713 <kernel-features.h>.
36714 [__NR_setresgid] (__setresgid): Do not declare.
36715 [__ASSUME_32BITUIDS]: Make code unconditional.
36716 [!__ASSUME_32BITUIDS]: Remove conditional code.
36717 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36718 <kernel-features.h>.
36719 [__NR_setresuid] (__setresuid): Do not declare.
36720 [__ASSUME_32BITUIDS]: Make code unconditional.
36721 [!__ASSUME_32BITUIDS]: Remove conditional code.
36722 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36723 <kernel-features.h>.
36724 [__ASSUME_32BITUIDS]: Make code unconditional.
36725 [!__ASSUME_32BITUIDS]: Remove conditional code.
36726 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36727 <kernel-features.h>.
36728 [__ASSUME_32BITUIDS]: Make code unconditional.
36729 [!__ASSUME_32BITUIDS]: Remove conditional code.
36730 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36731 <kernel-features.h>.
36732 [__ASSUME_32BITUIDS]: Make code unconditional.
36733 [!__ASSUME_32BITUIDS]: Remove conditional code.
36734 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36735 <kernel-features.h>.
36736 [__ASSUME_32BITUIDS]: Make code unconditional.
36737 [!__ASSUME_32BITUIDS]: Remove conditional code.
36738 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36739 <kernel-features.h>.
36740 [__ASSUME_32BITUIDS]: Make code unconditional.
36741 [!__ASSUME_32BITUIDS]: Remove conditional code.
36742 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36743 <kernel-features.h>.
36744 [__ASSUME_32BITUIDS]: Make code unconditional.
36745 [!__ASSUME_32BITUIDS]: Remove conditional code.
36746 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36747 <kernel-features.h>.
36748 [__ASSUME_32BITUIDS]: Make code unconditional.
36749 [!__ASSUME_32BITUIDS]: Remove conditional code.
36750 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
36763 (__ASSUME_SETRESUID_SYSCALL): Remove.
36764 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36765 (__ASSUME_32BITUIDS): Likewise.
36766 (__ASSUME_LDT_WORKS): Likewise.
36767 (__ASSUME_O_DIRECTORY): Likewise.
36768 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36769 architecture but not kernel version.
36770 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36771 (__ASSUME_MMAP2_SYSCALL): Likewise.
36772 (__ASSUME_STAT64_SYSCALL): Likewise.
36773 (__ASSUME_IPC64): Likewise.
36774 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36775 <kernel-features.h>.
36776 [__ASSUME_32BITUIDS]: Make code unconditional.
36777 [!__ASSUME_32BITUIDS]: Remove conditional code.
36778 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36779 <kernel-features.h>.
36780 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36781 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36782 132096]: Remove conditional code.
36783 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36784 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36785 <kernel-features.h>.
36786 [__ASSUME_32BITUIDS]: Make code unconditional.
36787 [!__ASSUME_32BITUIDS]: Remove conditional code.
36788 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36789 <kernel-features.h>.
36790 [__ASSUME_32BITUIDS]: Make code unconditional.
36791 [!__ASSUME_32BITUIDS]: Remove conditional code.
36792 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36793 <kernel-features.h>.
36794 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36796 (__setresgid): Do not declare.
36797 [__ASSUME_32BITUIDS]: Make code unconditional.
36798 [!__ASSUME_32BITUIDS]: Remove conditional code.
36799 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36800 <kernel-features.h>.
36801 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36803 (__setresuid): Do not declare.
36804 [__ASSUME_32BITUIDS]: Make code unconditional.
36805 [!__ASSUME_32BITUIDS]: Remove conditional code.
36806 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36807 <kernel-features.h>.
36808 [__ASSUME_32BITUIDS]: Make code unconditional.
36809 [!__ASSUME_32BITUIDS]: Remove conditional code.
36810 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36811 <kernel-features.h>.
36812 [__ASSUME_32BITUIDS]: Make code unconditional.
36813 [!__ASSUME_32BITUIDS]: Remove conditional code.
36815 2012-05-25 Richard Henderson <rth@twiddle.net>
36817 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36818 dl_hwcap to ifunc resolver.
36819 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36821 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36822 dl_hwcap to ifunc resolver.
36823 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36825 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36828 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36829 for |x| <= 2**-26, not 2**-57.
36830 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36833 2012-05-24 Jeff Law <law@redhat.com>
36835 * stdio-common/Makefile (tests): Add bug25.
36836 * stdio-common/bug25.c: New test.
36838 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36841 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36842 multiple of MALLOC_ALIGNMENT in size.
36843 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36845 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36847 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36849 (FILENAME_MAX): Use macro-int-constant.
36850 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36851 (_IOFBF): Use macro-int-constant.
36852 (_IOLBF): Likewise.
36853 (_IONBF): Likewise.
36854 (SEEK_CUR): Likewise.
36855 (SEEK_END): Likewise.
36856 (SEEK_SET): Likewise.
36857 (TMP_MAX): Likewise.
36858 (EOF): Use macro-int-constant. Require < 0.
36859 (NULL): Use macro-constant. Require == 0.
36860 (stdin): Require type to be FILE *.
36861 (stdout): Likewise.
36862 (stderr): Likewise.
36863 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36864 macro-int-constant.
36865 (EXIT_SUCCESS): Likewise.
36866 (NULL): Use macro-constant. Require == 0.
36867 (RAND_MAX): Use macro-int-constant.
36868 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36869 [C99-based standards] (strtof): Require function.
36870 [C99-based standards] (strtold): Likewise.
36871 [C99-based standards] (strtoll): Likewise.
36872 [C99-based standards] (strtoull): Likewise.
36873 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36874 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36875 [ISO || ISO99 || ISO11] (math.h): Likewise.
36876 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36877 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36880 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36883 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36884 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36885 * intl/dgettext.c (DCGETTEXT): Likewise.
36886 * intl/gettext.c (DCGETTEXT): Likewise.
36887 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36888 * posix/regex_internal.h (gettext): Likewise.
36889 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36890 Remove declaration.
36891 * include/argz.h (__argz_count_internal)
36892 (__argz_stringify_internal): Remove declaration.
36893 (__argz_count, __argz_stringify): Declare hidden proto.
36894 * intl/dcgettext.c: Remove use of INTDEF.
36895 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36896 * string/argz-stringify.c: Likewise.
36897 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36898 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36899 Declare hidden proto.
36900 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36901 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36902 Declare hidden proto.
36903 * include/stdio.h (__asprintf_internal): Don't declare.
36904 (__asprintf): Don't define as macro. Declare hidden proto.
36905 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36906 (__fsetlocking): Declare hidden proto.
36907 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36908 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36910 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36911 (_IO_setlinebuf): Remove use of INTUSE.
36912 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36913 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36914 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36915 Remove declaration.
36916 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36917 (_IO_do_flush): Remove use of INTUSE.
36918 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36919 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36920 (_IO_adjust_column, _IO_least_wmarker)
36921 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36922 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36923 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36924 (_IO_default_doallocate, _IO_wdefault_doallocate)
36925 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36926 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36927 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36928 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36929 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36930 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36931 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36932 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36933 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36934 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36935 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36936 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36937 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36939 (_IO_flush_all_internal, _IO_adjust_column_internal)
36940 (_IO_default_uflow_internal, _IO_default_finish_internal)
36941 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36942 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36943 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36944 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36945 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36946 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36947 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36948 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36949 (_IO_file_close_internal, _IO_file_close_it_internal)
36950 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36951 (_IO_file_init_internal, _IO_file_attach_internal)
36952 (_IO_file_fopen_internal, _IO_file_read_internal)
36953 (_IO_file_sync_internal, _IO_file_seek_internal)
36954 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36955 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36956 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36957 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36958 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36959 (_IO_list_all_internal, _IO_link_in_internal)
36960 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36961 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36962 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36963 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36964 (_IO_do_write_internal, _IO_padn_internal)
36965 (_IO_getline_info_internal, _IO_getline_internal)
36966 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36967 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36968 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36969 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36970 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36971 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36972 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36973 with libc_hidden_ver, remove use of INTUSE.
36974 * libio/genops.c: Likewise.
36975 * libio/freopen.c: Likewise.
36976 * libio/freopen64.c: Likewise.
36977 * libio/iofclose.c: Likewise.
36978 * libio/iofdopen.c: Likewise.
36979 * libio/iofflush.c: Likewise.
36980 * libio/iofflush_u.c: Likewise.
36981 * libio/iofgets.c: Likewise.
36982 * libio/iofgets_u.c: Likewise.
36983 * libio/iofopen.c: Likewise.
36984 * libio/iofopncook.c: Likewise.
36985 * libio/iofread.c: Likewise.
36986 * libio/iofread_u.c: Likewise.
36987 * libio/ioftell.c: Likewise.
36988 * libio/iofwrite.c: Likewise.
36989 * libio/iogetline.c: Likewise.
36990 * libio/iogets.c: Likewise.
36991 * libio/iogetwline.c: Likewise.
36992 * libio/iopadn.c: Likewise.
36993 * libio/iopopen.c: Likewise.
36994 * libio/ioseekoff.c: Likewise.
36995 * libio/ioseekpos.c: Likewise.
36996 * libio/iosetbuffer.c: Likewise.
36997 * libio/iosetvbuf.c: Likewise.
36998 * libio/ioungetc.c: Likewise.
36999 * libio/ioungetwc.c: Likewise.
37000 * libio/iovdprintf.c: Likewise.
37001 * libio/iovsprintf.c: Likewise.
37002 * libio/iovsscanf.c: Likewise.
37003 * libio/memstream.c: Likewise.
37004 * libio/obprintf.c: Likewise.
37005 * libio/oldfileops.c: Likewise.
37006 * libio/oldiofclose.c: Likewise.
37007 * libio/oldiofdopen.c: Likewise.
37008 * libio/oldiofopen.c: Likewise.
37009 * libio/oldiopopen.c: Likewise.
37010 * libio/oldstdfiles.c: Likewise.
37011 * libio/putc.c: Likewise.
37012 * libio/setbuf.c: Likewise.
37013 * libio/setlinebuf.c: Likewise.
37014 * libio/stdfiles.c: Likewise.
37015 * libio/strops.c: Likewise.
37016 * libio/vasprintf.c: Likewise.
37017 * libio/vscanf.c: Likewise.
37018 * libio/vsnprintf.c: Likewise.
37019 * libio/vswprintf.c: Likewise.
37020 * libio/wfiledoalloc.c: Likewise.
37021 * libio/wfileops.c: Likewise.
37022 * libio/wgenops.c: Likewise.
37023 * libio/wmemstream.c: Likewise.
37024 * libio/wstrops.c: Likewise.
37025 * libio/__fpurge.c: Likewise.
37026 * libio/__fsetlocking.c: Likewise.
37027 * assert/assert.c: Likewise.
37028 * debug/fgets_chk.c: Likewise.
37029 * debug/fgets_u_chk.c: Likewise.
37030 * debug/fread_chk.c: Likewise.
37031 * debug/fread_u_chk.c: Likewise.
37032 * debug/gets_chk.c: Likewise.
37033 * debug/obprintf_chk.c: Likewise.
37034 * debug/vasprintf_chk.c: Likewise.
37035 * debug/vdprintf_chk.c: Likewise.
37036 * debug/vsnprintf_chk.c: Likewise.
37037 * debug/vsprintf_chk.c: Likewise.
37038 * malloc/mtrace.c: Likewise.
37039 * misc/error.c: Likewise.
37040 * misc/syslog.c: Likewise.
37041 * stdio-common/asprintf.c: Likewise.
37042 * stdio-common/fxprintf.c: Likewise.
37043 * stdio-common/getw.c: Likewise.
37044 * stdio-common/isoc99_fscanf.c: Likewise.
37045 * stdio-common/isoc99_scanf.c: Likewise.
37046 * stdio-common/isoc99_vfscanf.c: Likewise.
37047 * stdio-common/isoc99_vscanf.c: Likewise.
37048 * stdio-common/isoc99_vsscanf.c: Likewise.
37049 * stdio-common/printf-prs.c: Likewise.
37050 * stdio-common/printf_fp.c: Likewise.
37051 * stdio-common/printf_fphex.c: Likewise.
37052 * stdio-common/printf_size.c: Likewise.
37053 * stdio-common/putw.c: Likewise.
37054 * stdio-common/scanf.c: Likewise.
37055 * stdio-common/sprintf.c: Likewise.
37056 * stdio-common/tmpfile.c: Likewise.
37057 * stdio-common/vfprintf.c: Likewise.
37058 * stdio-common/vfscanf.c: Likewise.
37059 * stdlib/strfmon_l.c: Likewise.
37060 * sunrpc/openchild.c: Likewise.
37061 * sunrpc/xdr_stdio.c: Likewise.
37062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37063 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37065 2012-05-24 Roland McGrath <roland@hack.frob.com>
37067 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37069 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37070 in the third column, to generate for the shared library an IFUNC
37071 that uses _dl_vdso_vsym.
37072 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37073 * Makeconfig (object-suffixes-noshared): New variable.
37075 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37076 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37077 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37078 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37081 * include/sys/time.h (__gettimeofday): Remove macro.
37082 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37083 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37085 (__gettimeofday): Add libc_hidden_def.
37086 (gettimeofday): Add libc_hidden_weak.
37087 * sysdeps/mach/gettimeofday.c: Likewise.
37088 * sysdeps/posix/gettimeofday.c: Likewise.
37089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37090 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37092 (__gettimeofday_internal): Remove strong_alias.
37093 (__gettimeofday): Add libc_hidden_def.
37094 (gettimeofday): Add libc_hidden_weak.
37095 * sysdeps/unix/syscalls.list (gettimeofday):
37096 Remove __gettimeofday_internal alias.
37098 2012-05-24 Daniel Jacobowitz <drow@false.org>
37099 H.J. Lu <hongjiu.lu@intel.com>
37102 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37103 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37104 (largebin_index_32_big): New.
37105 (largebin_index): Use it for 16-byte alignment.
37106 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37107 correction with front_misalign.
37109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37137 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37138 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37140 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37144 * math/libm-test.inc (exp_test): Add test from bug 14036.
37145 (pow_test): Add test from bug 10846.
37147 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37149 (special_function): Do not include flags in test name.
37150 (parse_args): Likewise.
37151 * sysdeps/i386/fpu/libm-test-ulps: Update.
37152 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37153 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37159 * math/libm-test.inc ("Philosophy"): Update comment about
37161 (UNDERFLOW_EXCEPTION): New macro.
37162 (UNDERFLOW_EXCEPTION_OK): Likewise.
37163 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37164 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37165 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37166 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37167 (INVALID_EXCEPTION_OK): Update value.
37168 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37169 (OVERFLOW_EXCEPTION_OK): Likewise.
37170 (IGNORE_ZERO_INF_SIGN): Likewise.
37171 (test_exceptions): Handle underflow exceptions.
37172 (acos_test): Update for underflow exception expectations.
37173 (cexp_test): Likewise.
37174 (clog_test): Likewise.
37175 (clog10_test): Likewise.
37176 (csqrt_test): Likewise.
37177 (ctan_test): Likewise.
37178 (ctanh_test): Likewise.
37179 (exp_test): Likewise.
37180 (exp10_test): Likewise.
37181 (exp2_test): Likewise.
37182 (expm1_test): Likewise.
37183 (fma_test): Likewise.
37184 (j0_test): Likewise.
37185 (jn_test): Likewise.
37186 (nexttoward_test): Likewise.
37187 (pow_test): Likewise.
37188 (scalbn_test): Likewise.
37189 (scalbln_test): Likewise.
37190 (tan_test): Likewise.
37191 (y1_test): Likewise.
37192 * sysdeps/i386/fpu/libm-test-ulps: Update.
37193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37195 2012-05-23 David S. Miller <davem@davemloft.net>
37197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37198 (__libc_sigaction): Remove unused local variables.
37200 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37202 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37204 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37206 mktime: avoid signed integer overflow
37207 * time/mktime.c (__mktime_internal): Do not mishandle the case
37208 where diff == INT_MIN.
37210 mktime: simplify computation of average
37211 * time/mktime.c (ranged_convert): Use new time_t_avg function
37212 instead of rolling our own (probably-slower) code.
37214 mktime: do not assume signed right shift propagates sign bit
37215 * time/mktime.c (isdst_differ): New static function.
37216 (__mktime_internal): No need to normalize tm_isdst now.
37217 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37220 mktime: merge another wrapv change from gnulib
37221 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37222 from some compilers.
37224 mktime: remove incorrect attempt at unusual arithmetics
37225 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37226 The code didn't really work on such machines anyway.
37227 (TYPE_MINIMUM): Assume two's complement.
37228 (twos_complement_arithmetic): Verify that long_int and time_t
37229 are two's complement (or unsigned, in the latter case).
37231 mktime: check signed shifts on long_int and time_t, too
37232 * time/mktime.c (SHR): Check that shifts work as desired
37233 on the types long_int and time_t too, as SHR is used on
37236 mktime: do not assume 'long' is wide enough
37237 * time/mktime.c (verify): Move decl up.
37238 (long_int): New type.
37239 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37240 to remove assumption in the code that 'long' is wide enough to
37241 store year values. This assumption is not true on x32 and on
37242 some non-glibc platforms.
37244 mktime: merge wrapv change from gnulib
37245 * time/mktime.c (WRAPV): New macro.
37246 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37247 (guess_time_tm, __mktime_internal): Do not assume that signed
37248 integer overflow wraps around; modern compilers generate code
37249 where this assumption is no longer valid.
37251 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37253 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37254 Replace "jmp L(pseudo_end)" with "ret".
37255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37258 2012-05-23 Andreas Jaeger <aj@suse.de>
37260 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37261 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37263 2012-05-23 Andreas Jaeger <aj@suse.de>
37264 Maximilian Attems <max@stro.at>
37266 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37269 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37272 code so that pseudo_end is just ret and the stack pointer is
37273 correct also for static library in error case.
37275 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37277 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37278 move to syscalls.list.
37279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37284 * manual/install.texi (Running make install): Do not mention Linux
37285 kernel version for which pt_chown is not needed.
37286 (Linux): Do not mention problems with nscd with 2.0 kernels.
37287 * INSTALL: Regenerated.
37289 2012-05-23 Andreas Jaeger <aj@suse.de>
37291 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37292 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37294 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37295 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37296 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37298 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37302 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37304 * sysdeps/unix/sysv/linux/bits/in.h
37305 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37307 2012-05-22 Roland McGrath <roland@hack.frob.com>
37309 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37310 (PREPARE_VERSION): Just use assert instead, it will be elided
37311 under [NDEBUG] anyway.
37313 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37315 * sysdeps/unix/sysv/linux/Makefile: Include
37316 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37317 (sysdep_routines): Remove sysctl.
37318 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37319 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37320 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37321 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37322 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37324 2012-05-22 Andreas Jaeger <aj@suse.de>
37326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37327 that pseudo_end is just ret and the stack pointer is correct also
37328 for static library in error case.
37330 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37333 * nss/nsswitch.c (defconfig_entries): New variable.
37334 (__nss_database_lookup): Don't leak defconfig entries.
37335 (nss_parse_service_list): Don't leak on error paths.
37336 (free_database_entries): New function.
37337 (free_defconfig): New function.
37338 (free_mem): Move common code to free_database_entries.
37340 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37342 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37344 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37346 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37347 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37350 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37351 (INTERNAL_SYSCALL_TYPES): Likewise.
37352 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37353 (LOAD_REGS_TYPES_[1-6]): Likewise.
37354 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37355 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37357 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37359 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37360 copysignl for GLIBC_2_0.
37361 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37362 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37364 logbl for GLIBC_2_0.
37365 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37366 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37368 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37371 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37373 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37376 * time/mktime.c: Update copyright years.
37378 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37380 mktime: merge comment-quoting-style change from gnulib
37381 * time/mktime.c: Quote 'like this' in comments.
37382 The GNU coding standards suggest that we no longer quote `like this',
37383 as "`" and "'" are typically rendered asymmetrically nowadays.
37384 The typical gnulib style is to quote 'like this' when quoting
37385 code, and "like this" when quoting English.
37387 * time/mktime.c (compile-command): Add "-I.".
37389 mktime: merge mktime-internal.h change from gnulib
37390 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37392 mktime: merge time_r change from gnulib
37393 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37395 mktime: merge DEBUG change from gnulib
37396 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37397 case system <time.h> has a #define.
37399 mktime: merge <sys/types.h> change from gnulib
37400 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37401 since <time.t> is now guaranteed to define time_t.
37403 mktime: merge HAVE_CONFIG_H change from gnulib
37404 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37406 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37411 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37413 (struct rusage): Use anonymous union to pad each field to
37416 2012-05-21 David S. Miller <davem@davemloft.net>
37418 * Makefules (o-iterator): Remove .s cases.
37419 (compile-command.s): Delete.
37420 (COMPILE.s): Delete.
37421 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37423 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37425 * configure.in (libc_cv_predef_stack_protector): Only consider
37426 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37427 * configure: Regenerated.
37429 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37432 New macro. Use R*LP on int and pointer.
37433 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37434 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37435 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37436 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37438 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37439 [__WORDSIZE_TIME64_COMPAT32] instead of
37440 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37441 (struct utmp): Likewise.
37442 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37443 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37445 (__WORDSIZE_TIME64_COMPAT32): This.
37446 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37447 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37448 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37449 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37450 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37451 (__WORDSIZE_TIME64_COMPAT32): New macro.
37453 2012-05-21 Andreas Jaeger <aj@suse.de>
37455 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37456 only if [SHARED]. Add prototype for __wcschr_ia32.
37458 2012-05-21 Roland McGrath <roland@hack.frob.com>
37460 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37461 of %rbp unmolested in the jmp_buf while mangling the low bits.
37462 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37463 unmolested high bits of %rbp while demangling the low bits.
37464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37466 2012-05-21 Andreas Jaeger <aj@suse.de>
37468 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37469 * sunrpc/svc_simple.c: Use it for registerrpc.
37470 * sunrpc/xcrypt.c: Use it for passwd2des.
37472 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37474 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37476 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37477 Don't define if [__SYSCALL_WORDSIZE != 32].
37478 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37481 2012-05-21 Bruno Haible <bruno@clisp.org>
37482 Andreas Jaeger <aj@suse.de>
37484 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37485 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37486 inptr and inend for must_buffer_ch.
37487 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37488 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37489 * stdio-common/Makefile (tests): Remove bug15.
37490 (bug15-ENV): Remove macro.
37491 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37494 2012-05-19 Andreas Jaeger <aj@suse.de>
37495 Roland McGrath <roland@hack.frob.com>
37497 * manual/contrib.texi: Completely rewritten. It contains now an
37498 alphabetical list of contributors and their contributions.
37500 2012-05-21 Richard Henderson <rth@twiddle.net>
37502 * misc/getauxval.c (__getauxval): Use unsigned long int.
37503 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37504 (getauxval): Use unsigned long int.
37506 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37508 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37510 2012-05-21 Roland McGrath <roland@hack.frob.com>
37512 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37513 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37514 __alignof__ (long double).
37516 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37520 2012-05-20 Richard Henderson <rth@twiddle.net>
37522 * misc/getauxval.c: New file.
37523 * misc/sys/auxv.h: New file.
37524 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37525 (routines): Add getauxval.
37526 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37527 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37528 * elf/dl-sysdep.c (_dl_auxv): Remove.
37529 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37530 * elf/dl-support.c (_dl_auxv): New variable.
37531 (_dl_aux_init): Initialize it.
37532 * manual/startup.texi (Auxiliary Vector): New node.
37533 * sysdeps/generic/bits/hwcap.h: New file.
37534 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37535 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37536 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37537 * sysdeps/sparc/sysdep.h: ... here. Include it.
37538 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37551 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37555 2012-05-19 David S. Miller <davem@davemloft.net>
37557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37559 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37562 * math/s_ccosh.c: Include <float.h>
37563 (__ccosh): Avoid internal overflow calculating sinh and cosh
37564 values before multiplying by sin and cos values.
37565 * math/s_ccoshf.c: Likewise.
37566 * math/s_ccoshl.c: Likewise.
37567 * math/s_csin.c: Likewise.
37568 * math/s_csinf.c: Likewise.
37569 * math/s_csinl.c: Likewise.
37570 * math/s_csinh.c: Likewise.
37571 * math/s_csinhf.c: Likewise.
37572 * math/s_csinhl.c: Likewise.
37573 * math/libm-test.inc (ccos_test): Add more tests.
37574 (ccosh_test): Likewise.
37575 (csin_test): Likewise.
37576 (csinh_test): Likewise.
37577 * sysdeps/i386/fpu/libm-test-ulps: Update.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37580 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37582 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37583 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37585 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37587 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37589 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37590 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37591 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37592 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37593 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37594 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37595 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37596 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37597 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37598 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37599 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37600 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37601 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37602 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37603 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37604 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37605 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37606 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37607 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37608 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37609 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37610 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37611 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37612 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37613 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37614 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37615 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37616 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37617 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37618 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37619 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37621 2012-05-18 Andreas Jaeger <aj@suse.de>
37623 * csu/.gitignore: Delete.
37625 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37627 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37628 (timex): Use __syscall_slong_t.
37630 2012-05-18 Andreas Jaeger <aj@suse.de>
37631 Carlos O'Donell <carlos_odonell@mentor.com>
37633 * manual/install.texi (Configuring and compiling): Update
37634 description about files modified in the source directory.
37635 * INSTALL: Regenerated.
37637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37639 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37640 value. Use "or" to set return value to -1.
37641 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37642 negate return value.
37644 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37646 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37647 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37648 failure if the compiler has Graphite support disabled.
37649 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37651 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37652 (CFLAGS-memmove.c): Likewise.
37653 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37656 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37658 * sysdeps/x86_64/x32/_itoa.h: New file.
37660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37661 getdents system call only if kernel and user dirents have the
37662 same d_ino and d_off.
37664 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37665 LLONG_MAX != LONG_MAX.
37666 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37667 (_fitoa_word): Likewise.
37669 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37672 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37673 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37675 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37676 include <bits/wordsize.h>. Check __x86_64__ instead of
37678 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37679 if __x86_64__ is defined. Use anonymous union on fpstate.
37681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37684 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37686 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37687 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37688 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37689 Refer to _rtld_local_ro instead of _rtld_global_ro.
37690 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37692 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37694 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37696 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37697 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37698 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37700 * sysdeps/powerpc/powerpc32/dl-machine.c
37701 (__elf_machine_runtime_setup) [PROF]: Don't reference
37704 2012-05-18 Andreas Jaeger <aj@suse.de>
37706 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37707 function only available for GCCs before 3.4 since GCC 3.4
37708 introduced a builtin.
37710 (llrintf): Likewise.
37711 (llrint): Likewise.
37718 (nearbyint): Likewise.
37719 (nearbyintf): Likewise.
37723 (floorf): Likewise.
37725 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37727 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37728 on both fields and cast pointer to __syscall_ulong_t.
37730 * bits/types.h (__fsword_t): New type.
37731 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37732 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37734 (__FSWORD_T_TYPE): Likewise.
37735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37736 (__FSWORD_T_TYPE): Likewise.
37737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37738 (__FSWORD_T_TYPE): Likewise.
37739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37740 (__FSWORD_T_TYPE): Likewise.
37741 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37742 __SWORD_TYPE with __fsword_t.
37743 (statfs64): Likewise.
37745 2012-05-17 David S. Miller <davem@davemloft.net>
37747 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37749 2012-05-17 Andreas Jaeger <aj@suse.de>
37751 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37754 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37756 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37758 2012-05-17 Andreas Jaeger <aj@suse.de>
37760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37763 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37765 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37767 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37769 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37770 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37772 2012-05-17 Andreas Jaeger <aj@suse.de>
37773 Carlos O'Donell <carlos_odonell@mentor.com>
37776 * sysdeps/x86_64/multiarch/init-arch.h
37777 (bit_YMM_Usable): Rename to...
37778 (bit_AVX_Usable): ... this.
37779 (bit_FMA4_Usable): New macro.
37780 (bit_XMM_state): New macro.
37781 (bit_YMM_state): New macro.
37782 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37783 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37784 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37785 (CPUID_OSXSAVE): New macro.
37786 (CPUID_AVX): New macro.
37787 (CPUID_FMA4): New macro.
37788 (index_YMM_Usable): Rename to...
37789 (index_AVX_Usable): ... this.
37790 (HAS_AVX): Use HAS_ARCH_FEATURE.
37791 (HAS_FMA4): Likewise.
37792 (HAS_YMM_USABLE): Remove.
37793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37794 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37796 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37797 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37798 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37799 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37800 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37802 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37804 * math/libm-test.c: Support platforms without multiple rounding modes.
37805 * math/bug-nextafter.c: Support platforms without FP exceptions.
37806 * math/bug-nexttoward.c: Likewise.
37807 * math/test-fenv.c: Likewise.
37808 * math/test-misc.c: Likewise.
37809 * stdlib/bug-getcontext.c: Likewise.
37811 2012-05-17 Andreas Jaeger <aj@suse.de>
37813 * manual/examples/search.c (critter_cmp): Change signature to
37815 * manual/string.texi (Collation Functions): Likewise.
37817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37819 * bits/types.h: Fold copyright years.
37820 * bits/typesizes.h: Likewise.
37821 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37825 * time/time.h: Likewise.
37827 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37830 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37831 in instead of returning them. Return void.
37832 (__libc_mallinfo): Accumulate over all arenas.
37833 (__malloc_stats): Adjust for change in int_mallinfo interface.
37835 2012-05-16 Roland McGrath <roland@hack.frob.com>
37838 * configure.in (NM): Add AC_CHECK_TOOL for it.
37839 (libc_extra_cflags): New substituted variable.
37840 Check for -fstack-protector being used implicitly.
37841 * configure: Regenerated.
37842 * config.make.in (config-extra-cflags): New variable,
37843 gets @libc_extra_cflags@.
37844 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37847 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37848 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37849 * configure: Regenerated.
37850 * config.make.in (CPPUNDEFS): New substituted variable.
37851 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37852 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37853 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37857 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37858 (mq_attr): Use __syscall_slong_t.
37860 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37862 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37863 Check __x86_64__ instead of __WORDSIZE.
37864 (_STAT_VER_LINUX): Likewise.
37865 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37866 __syscall_ulong_t and __syscall_slong_t.
37867 (stat64): Likewise.
37869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37875 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37877 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37879 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37882 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37883 include <bits/wordsize.h>. Check __x86_64__ instead of
37885 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37887 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37889 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37890 include <bits/wordsize.h>. Check __x86_64__ instead of
37892 (user_regs_struct): Use "__extension__ unsigned long long"
37893 instead of "unsigned long" if __x86_64__ is defined.
37894 (user): Likewise. Pad after pointer field if __ILP32__ is
37897 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37899 * configure.in (makeinfo): Require version 4.5 or later. Allow
37901 * configure: Regenerated.
37902 * manual/install.texi (texinfo): Increase version requirement to
37904 * INSTALL: Regenerated.
37906 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37910 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37912 * sysdeps/x86_64/x32/ffs.c: New file.
37914 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37916 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37917 defined. Use __syscall_ulong_t.
37918 (shminfo): Use __syscall_ulong_t.
37919 (shm_info): Likewise.
37921 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37924 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37926 (msgqnum_t): Use __syscall_ulong_t.
37927 (msglen_t): Likewise.
37928 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37931 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37932 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37934 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37936 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37937 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37939 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37942 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37943 include <bits/wordsize.h>. Check __x86_64__ instead of
37946 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37947 "unsigned long long int" if __x86_64__ is defined.
37948 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37950 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37951 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37952 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37954 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37956 (GET_PC): Cast to uintptr_t first.
37957 (GET_FRAME): Likewise.
37958 (GET_STACK): Likewise.
37960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37961 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37962 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37963 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37964 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37965 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37966 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37967 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37968 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37970 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37972 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37975 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37986 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37990 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37992 * Makerules (+depfiles): Also collect depfiles from .oS in
37994 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37995 .oS, $(libnldbl-routines)).
37997 * Makerules (native-compile-mkdep-flags): Define.
37998 * sunrpc/Makefile (extra-objs): Add $(addprefix
37999 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38000 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38001 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38002 calling $(make-target-directory).
38004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38006 * bits/types.h (__snseconds_t): Removed.
38007 * time/time.h (struct timespec): Replace __snseconds_t with
38009 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38010 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38013 (__SNSECONDS_T_TYPE): Likewise.
38014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38015 (__SNSECONDS_T_TYPE): Likewise.
38016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38017 (__SNSECONDS_T_TYPE): Likewise.
38019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38021 * sysdeps/mach/hurd/bits/typesizes.h
38022 (__SYSCALL_SLONG_TYPE): New macro.
38023 (__SYSCALL_ULONG_TYPE): Likewise.
38025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38027 * bits/types.h (__syscall_slong_t): New type.
38028 (__syscall_ulong_t): Likewise.
38030 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38031 (__SYSCALL_ULONG_TYPE): Likewise.
38032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38033 (__SYSCALL_SLONG_TYPE): Likewise.
38034 (__SYSCALL_ULONG_TYPE): Likewise.
38035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38036 (__SYSCALL_SLONG_TYPE): Likewise.
38037 (__SYSCALL_ULONG_TYPE): Likewise.
38038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38039 (__SYSCALL_SLONG_TYPE): Likewise.
38040 (__SYSCALL_ULONG_TYPE): Likewise.
38042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38044 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38045 Add sigaltstack-offsets.sym.
38046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38047 <sigaltstack-offsets.h>.
38048 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38049 longjmp_msg pointer.
38050 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38051 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38053 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38055 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38057 * elf/stackguard-macros.h: Remove file.
38058 * sysdeps/generic/stackguard-macros.h: New file.
38059 * sysdeps/i386/stackguard-macros.h: Likewise.
38060 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38061 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38062 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38063 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38064 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38065 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38066 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38067 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38068 <elf/stackguard-macros.h>.
38071 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38072 __aligned__ in attribute.
38073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38074 (gregset_t): Likewise.
38076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38078 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38079 * sysdeps/x86_64/64/Implies-after: Here. New file.
38080 * sysdeps/x86_64/x32/Implies-after: New file.
38082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38084 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38085 and access return value for _dl_profile_fixup. Use R10_LP to
38088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38090 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38094 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38095 * sysdeps/x86_64/x32/sysdep.h: New file.
38097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38099 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38100 * sysdeps/x86_64/setjmp.S: Likewise.
38102 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38106 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38107 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38108 remove unused global constant.
38110 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38112 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38113 include of <not-cancel.h>.
38115 2012-05-15 Roland McGrath <roland@hack.frob.com>
38117 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38119 2012-05-15 Jeff Law <law@redhat.com>
38120 Andreas Jaeger <aj@suse.de>
38123 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38125 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38126 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38128 code changing __hst_map_handle.map.
38130 2012-05-15 Roland McGrath <roland@hack.frob.com>
38132 * configure.in (sysnames): Look for Implies-before and Implies-after
38134 * configure: Regenerated.
38136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38138 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38139 8-byte data alignment with LP_SIZE alignment.
38141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38148 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38153 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38160 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38161 (stackinfo_sub_sp): Likewise.
38163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38165 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38180 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38184 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38185 into R11_LP and load __x86_64_shared_cache_size_half into
38188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38190 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38193 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38197 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38201 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38202 powerpc32/power7/fpu/s_logb.c via #include.
38203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38204 powerpc32/power7/fpu/s_logbf.c via #include.
38205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38206 powerpc32/power7/fpu/s_logbl.c via #include.
38208 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38210 * README.libm: Remove file.
38212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38214 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38215 count for x32. Use R*_LP and omit operand-size suffix.
38217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38219 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38220 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38221 * sysdeps/x86_64/x32/shlib-versions: New file.
38223 2012-05-14 Roland McGrath <roland@hack.frob.com>
38225 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38226 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38227 Use _dl_fatal_printf instead.
38229 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38231 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38232 set if not set by the user. Do not allow for being unset.
38233 * sysdeps/unix/sysv/linux/configure: Regenerated.
38235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38237 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38238 the `q' suffix from lea and replace .quad with ASM_ADDR.
38240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38243 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38245 (PTR_DEMANGLE): Likewise.
38247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38249 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38251 (ASM_ADDR): Likewise.
38252 (RAX_LP): Likewise.
38253 (RBP_LP): Likewise.
38254 (RBX_LP): Likewise.
38255 (RCX_LP): Likewise.
38256 (RDI_LP): Likewise.
38257 (RSI_LP): Likewise.
38258 (RSP_LP): Likewise.
38261 (R10_LP): Likewise.
38262 (R10_LP): Likewise.
38263 (R11_LP): Likewise.
38264 (R12_LP): Likewise.
38265 (R13_LP): Likewise.
38266 (R14_LP): Likewise.
38267 (R15_LP): Likewise.
38269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38271 * sysdeps/x86_64/x32/dl-machine.h: New file.
38273 2012-05-14 Andreas Jaeger <aj@suse.de>
38275 * manual/Makefile (subdir): Remove export of subdir.
38276 (all): Remove target.
38277 (.PHONY): Remove all from list.
38278 (mkinstalldirs): Remove.
38279 (.PHONY): Remove installdirs from list.
38280 ($(inst_infodir)/libc.info): Use make-target-directory.
38281 (installdirs): Remove.
38282 (subdir_%): Remove.
38283 (glibc-targets): Remove.
38286 ($(objpfx)stubs ../po/manual.pot): Remove.
38287 ($(objpfx)stamp%): Remove.
38288 (make-target-directory): Remove.
38289 (subdir_install): Remove.
38290 (routines): Remove.
38297 * manual/.gitignore: Remove, it's not needed anymore.
38298 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38300 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38302 (texis): Renamed to $(objpfx)texis.
38303 (texis-path): New, contains path to generated files.
38304 (chapters.%): Use texis-path for complete path, add extra argument
38306 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38307 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38308 (summary,texi, stamp-summary): Use complete path of
38309 files. Generate files in build dir.
38310 (dir-add.texi): Build in build dir.
38311 (libm-err.texi,stamp-libm-err): Likewise.
38312 (version.texi, stamp-version): Likewise.
38313 (.%c.texi): Likewise.
38314 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38315 (mostlyclean): Remove target.
38316 (realclean): Remove target.
38317 (generated): Add new variable with contents from mostlyclean and
38318 realclean, remove entries duplicated in common-mostlyclean, add
38319 stamp-libm-err and stamp-version.
38320 (generated-dirs): Add libc directory.
38321 ($(inst_infodir)/libc.info): Install files from build dir.
38323 * manual/install.texi (Configuring and compiling): Adjust since
38324 the info files are not part of the tar ball anymore.
38326 2012-05-14 Andreas Jaeger <aj@suse.de>
38328 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38331 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38335 to 2.2.0 where earlier.
38336 * sysdeps/unix/sysv/linux/configure: Regenerated.
38337 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38338 Remove conditional code.
38339 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38340 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38341 Remove conditional code.
38342 [!__NR_lchown]: Likewise.
38343 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38344 [__NR_lchown]: Likewise.
38345 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38346 comment referencing __ASSUME_LCHOWN_SYSCALL.
38347 * sysdeps/unix/sysv/linux/i386/sigaction.c
38348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38350 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38351 Remove conditional code.
38352 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38353 (__protocol_available): Remove #if 0 code.
38354 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38356 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38357 * sysdeps/unix/sysv/linux/kernel-features.h
38358 (__ASSUME_GETCWD_SYSCALL): Don't define.
38359 (__ASSUME_REALTIME_SIGNALS): Likewise.
38360 (__ASSUME_PREAD_SYSCALL): Likewise.
38361 (__ASSUME_PWRITE_SYSCALL): Likewise.
38362 (__ASSUME_POLL_SYSCALL): Likewise.
38363 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38364 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38366 (__ASSUME_SIOCGIFNAME): Don't define.
38367 (__ASSUME_MSG_NOSIGNAL): Likewise.
38368 (__ASSUME_SENDFILE): Define unconditionally.
38369 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38370 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38372 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38373 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38374 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38375 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38376 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38377 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38378 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38383 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38389 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38403 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38404 Remove conditional code.
38405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38406 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38407 Remove conditional code.
38408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38409 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38410 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38411 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38412 Remove conditional code.
38413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38414 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38415 Remove conditional code.
38416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38417 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38418 Remove conditional code.
38419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38420 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38421 Remove conditional code.
38422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38423 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38424 Remove conditional code.
38425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38426 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38427 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38429 * sysdeps/unix/sysv/linux/sigaction.c
38430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38432 * sysdeps/unix/sysv/linux/sigpending.c
38433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38435 * sysdeps/unix/sysv/linux/sigprocmask.c
38436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38438 * sysdeps/unix/sysv/linux/sigsuspend.c
38439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38441 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38442 (__libc_missing_rt_sigs): Remove.
38443 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38444 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38445 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38446 Remove conditional code.
38447 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38448 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38451 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38453 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38455 2012-05-14 Andreas Jaeger <aj@suse.de>
38457 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38458 it's not used in glibc.
38459 (__coshm1): Likewise.
38460 (__acosh1p): Likewise.
38463 * manual/string.texi (Copying and Concatenation): Add missing
38464 variable in concat example.
38465 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38471 __builtin_clzl with __builtin_clzll.
38473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38476 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38479 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38481 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38482 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38483 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38486 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38488 * NEWS: Update ia64 info.
38490 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38492 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38495 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38497 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38498 * sysdeps/unix/syscalls.list (dup3): Likewise.
38499 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38500 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38502 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38504 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38505 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38507 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38509 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38511 (TLS_IE): Use mov/add instead of movq/addq to load thread
38513 (TLS_GD_PREFIX): New.
38516 2012-05-11 David S. Miller <davem@davemloft.net>
38518 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38519 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38520 (_FPU_SETCW): Likewise.
38522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38524 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38525 is 32-byte aligned.
38527 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38530 * iconvdata/gb18030.c: Update tables.
38531 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38532 characters specially.
38533 (BODY for TO_LOOP): Add encoding of missing ranges.
38535 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38538 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38539 * sysdeps/mach/hurd/dup3.c: Likewise.
38540 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38541 * sysdeps/powerpc/memmove.c:: Likewise.
38543 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38546 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38548 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38550 * elf/elf.h (R_X86_64_RELATIVE64): New.
38551 (R_X86_64_NUM): Updated.
38552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38553 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38554 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38555 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38556 tst-quad1pie tst-quad2pie
38557 (modules-names): Add tst-quadmod1 tst-quadmod2.
38558 ($(objpfx)tst-quad1): New dependency.
38559 ($(objpfx)tst-quad2): Likewise.
38560 ($(objpfx)tst-quad1pie): Likewise.
38561 ($(objpfx)tst-quad2pie): Likewise.
38562 * sysdeps/x86_64/tst-quad1.c: New file.
38563 * sysdeps/x86_64/tst-quad1pie.c: New file.
38564 * sysdeps/x86_64/tst-quad2.c: Likewise.
38565 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38566 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38567 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38568 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38569 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38573 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38574 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38575 * streams/stropts.h (t_scalar_t): Define type.
38577 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38578 (_PATH_PRESERVE): Set to "/var/lib".
38579 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38581 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38584 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38585 if __dir_mkfile succeeded.
38587 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38588 checking for _hurd_dtablesize. Unlock it right after having
38589 finished _hurd_dtable allocation.
38591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38593 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38594 * sysdeps/mach/hurd/configure: Regenerated.
38595 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38596 special-casing to...
38597 * sysdeps/gnu/configure.in: ... this new file.
38598 * sysdeps/unix/sysv/linux/configure: Regenerated.
38599 * sysdeps/gnu/configure: New generated file.
38601 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38602 for Linux: use nsec instead of usec, as well as:
38603 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38604 members of type struct timespec.
38605 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38607 (struct stat64): Likewise.
38608 (_STATBUF_ST_NSEC): New macro.
38609 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38611 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38612 __strtoul_internal rather than strtoul.
38614 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38616 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38621 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38622 which preserves existing values.
38623 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38625 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38627 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38628 TIMEOUT values. Return EINVAL for NFDS values either negative or
38629 greater than FD_SETSIZE.
38631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38633 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38634 allocated, call __vm_protect to finish enabling the existing space, and
38635 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38636 allocate the remainder.
38638 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38640 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38641 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38645 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38646 sysdeps/mach/hurd/readlink.c.
38648 * posix/tst-sysconf.c (posix_options): Only use
38649 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38650 _POSIX_SYNCHRONIZED_IO when they are defined
38651 * sysdeps/mach/hurd/bits/posix_opt.h:
38652 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38653 (_XOPEN_REALTIME): Undefine macro.
38654 (_XOPEN_REALTIME_THREADS): Undefine macro.
38655 (_XOPEN_SHM): Undefine macro.
38656 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38658 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38660 (_POSIX_ASYNC_IO): Undefine macro.
38661 (_POSIX_PRIORITIZED_IO): Undefine macro.
38662 (_POSIX_SPIN_LOCKS): Define macro to -1.
38664 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38665 SA_NODEFER, SA_RESETHAND.
38666 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38667 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38672 * elf/Makefile (pldd-modules): Define unconditionally.
38674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38676 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38680 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38681 Return ENOENT when name is empty.
38682 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38686 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38688 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38692 Fix mlock in all cases except non-readable pages.
38693 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38694 instead of VM_PROT_ALL as parameter to __vm_wire function.
38696 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38697 (__mkdir): When path is `/', just fail with EEXIST.
38698 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38702 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38703 <sys/uio.h> (for writev).
38704 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38705 and <sys/param.h> (for MIN).
38707 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38709 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38710 REQUESTED_TIME. Properly set the remaining time and return EINTR
38713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38715 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38716 Depend on against $(link-rpcuserlibs).
38718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38720 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38721 (__libc_stack_end): Do not use attribute_relro.
38722 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38723 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38724 to libthread-provided value.
38725 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38731 * bits/libc-lock.h (__libc_once_get): New macro.
38732 * sysdeps/mach/bits/libc-lock.h: Likewise.
38733 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38735 instead of using implementation details.
38737 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38738 * libio/freopen.c: Likewise.
38739 * libio/freopen64.c: Likewise.
38740 * misc/syslog.c: Likewise.
38741 * nscd/connections.c: Likewise.
38742 * nscd/netgroupcache.c: Likewise.
38743 * sysdeps/posix/getcwd.c: Likewise.
38745 2012-05-10 Roland McGrath <roland@hack.frob.com>
38747 * math/w_ilogbf.c: Add #include <limits.h>.
38749 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38751 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38752 path instead of returning without unlocking.
38754 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38755 immediate-write ioctls.
38756 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38760 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38761 __builtin_frame_address instead of making assumptions about the
38762 location of the return address relative to DATA. Force early load of
38763 the return address.
38764 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38765 __builtin_frame_address.
38768 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38769 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38770 implement dup3 and do some further code clean-ups.
38771 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38772 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38776 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38778 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38779 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38780 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38781 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38782 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38785 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38786 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38787 when handler == SIG_ERR, not when handler != SIG_ERR.
38789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38791 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38792 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38795 accept4 for GNU Hurd.
38796 * include/sys/socket.h (__libc_accept4): New prototype.
38797 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38798 to implement __libc_accept4.
38799 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38801 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38803 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38804 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38805 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38806 signal-defines.sym.
38808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38810 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38814 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38815 assertion on O_CLOEXEC flag.
38816 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38817 * hurd/intern-fd.c: Likewise.
38818 * hurd/port2fd.c: Likewise.
38820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38823 * bits/in.h (IPV6_PKTINFO): Define new macro.
38824 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38826 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38831 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38833 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38834 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38836 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38837 * math/libm-test.inc (logb_test) : Additional logb tests.
38839 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38840 Andreas Jaeger <aj@suse.de>
38842 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38843 * configure: Regenerated.
38844 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38845 * config.make.in (link-obsolete-rpc): New substituted variable.
38846 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38847 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38848 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38849 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38850 so that libc.a contains the symbols.
38851 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38852 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38853 * sunrpc/auth_none.c: Likewise.
38854 * sunrpc/auth_unix.c: Likewise.
38855 * sunrpc/authdes_prot.c: Likewise.
38856 * sunrpc/authuxprot.c: Likewise.
38857 * sunrpc/clnt_gen.c: Likewise.
38858 * sunrpc/clnt_perr.c: Likewise.
38859 * sunrpc/clnt_raw.c: Likewise.
38860 * sunrpc/clnt_simp.c: Likewise.
38861 * sunrpc/clnt_tcp.c: Likewise.
38862 * sunrpc/clnt_udp.c: Likewise.
38863 * sunrpc/clnt_unix.c: Likewise.
38864 * sunrpc/des_crypt.c: Likewise.
38865 * sunrpc/des_soft.c: Likewise.
38866 * sunrpc/get_myaddr.c: Likewise.
38867 * sunrpc/key_call.c: Likewise.
38868 * sunrpc/key_prot.c: Likewise.
38869 * sunrpc/netname.c: Likewise.
38870 * sunrpc/pm_getmaps.c: Likewise.
38871 * sunrpc/pm_getport.c: Likewise.
38872 * sunrpc/pmap_clnt.c: Likewise.
38873 * sunrpc/pmap_prot.c: Likewise.
38874 * sunrpc/pmap_prot2.c: Likewise.
38875 * sunrpc/pmap_rmt.c: Likewise.
38876 * sunrpc/publickey.c: Likewise.
38877 * sunrpc/rpc_cmsg.c: Likewise.
38878 * sunrpc/rpc_common.c: Likewise.
38879 * sunrpc/rpc_dtable.c: Likewise.
38880 * sunrpc/rpc_prot.c: Likewise.
38881 * sunrpc/rpc_thread.c: Likewise.
38882 * sunrpc/rtime.c: Likewise.
38883 * sunrpc/svc.c: Likewise.
38884 * sunrpc/svc_auth.c: Likewise.
38885 * sunrpc/svc_raw.c: Likewise.
38886 * sunrpc/svc_run.c: Likewise.
38887 * sunrpc/svc_tcp.c: Likewise.
38888 * sunrpc/svc_udp.c: Likewise.
38889 * sunrpc/svc_unix.c: Likewise.
38890 * sunrpc/svcauth_des.c: Likewise.
38891 * sunrpc/xcrypt.c: Likewise.
38892 * sunrpc/xdr.c: Likewise.
38893 * sunrpc/xdr_array.c: Likewise.
38894 * sunrpc/xdr_float.c: Likewise.
38895 * sunrpc/xdr_intXX_t.c: Likewise.
38896 * sunrpc/xdr_mem.c: Likewise.
38897 * sunrpc/xdr_rec.c: Likewise.
38898 * sunrpc/xdr_ref.c: Likewise.
38899 * sunrpc/xdr_sizeof.c: Likewise.
38900 * sunrpc/xdr_stdio.c: Likewise.
38902 2012-05-10 Roland McGrath <roland@hack.frob.com>
38904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38905 change. Update copyright years.
38907 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38909 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38911 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38912 Joseph Myers <joseph@codesourcery.com>
38913 Paul Pluzhnikov <ppluzhnikov@google.com>
38916 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38918 [cross-compiling] (extra-libs): Likewise.
38919 [cross-compiling] (extra-libs-others): Likewise.
38920 [cross-compiling] (librpcsvc-routines): Likewise.
38921 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38922 [cross-compiling] (omit-deps): Likewise.
38923 (sunrpc-CPPFLAGS): New variable.
38924 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38925 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38926 (cross-rpcgen-objs): New variable.
38927 (extra-objs): Append $(cross-rpcgen-objs).
38928 ($(cross-rpcgen-objs)): New rule.
38929 ($(objpfx)cross-rpcgen): Likewise.
38930 (rpcgen-cmd): Define to use $(built-program-file). Expand
38932 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38933 ($(objpfx)x%.stmp): Likewise.
38934 * sunrpc/proto.h [IS_IN_build] (_): Define.
38935 [IS_IN_build] (_libc_intl_domainname): Likewise.
38937 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38939 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38940 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38941 and R_X86_64_TPOFF64.
38943 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38945 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38946 sysdeps/unix/sysv/syscalls.list.
38949 * sysdeps/unix/sysv/syscalls.list: Remove file.
38951 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38954 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38955 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38956 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38957 (__LC_IDENTIFICATION): Make these macros useful in #if
38958 expressions, as required by C99.
38960 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38962 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38963 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38966 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38968 * stdlib/longlong.h: Updated from GCC.
38970 2012-05-09 Andreas Jaeger <aj@suse.de>
38972 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38973 default is first entry.
38974 (run_mode): Set type.
38975 (main): Remove informal message about syslog.
38976 (options): Fix typo.
38979 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38982 (llrintf): Likewise.
38983 (llrint): Likewise.
38986 (nearbyint): Likewise.
38987 (nearbyintf): Likewise.
38989 2012-05-09 Andreas Jaeger <aj@suse.de>
38990 Pedro Alves <palves@redhat.com>
38992 * nscd/nscd.c (run_mode): Use enum.
38993 (main): Cleanup coding style issue.
38995 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38996 Andreas Jaeger <aj@suse.de>
38998 * nscd/nscd.c (go_background): Replaced with...
38999 (run_mode): ... this.
39000 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39001 (options): Add -F --foreground.
39002 (main): Implement it.
39003 (parse_opt): Parse it.
39005 2012-05-09 Andreas Jaeger <aj@suse.de>
39008 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39009 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39010 -Wconversion warning.
39011 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39014 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39016 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39018 (LC_ALL): Use macro-int-constant.
39019 (LC_COLLATE): Likewise.
39020 (LC_CTYPE): Likewise.
39021 (LC_MESSAGES): Likewise.
39022 (LC_MONETARY): Likewise.
39023 (LC_NUMERIC): Likewise.
39024 (LC_TIME): Likewise.
39025 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39026 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39028 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39030 [C99-based standards] (float_t): Expect type.
39031 [C99-based standards] (double_t): Expect type.
39032 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39034 [C99-based standards] (HUGE_VALL): Likewise.
39035 [C99-based standards] (INFINITY): Likewise.
39036 [C99-based standards] (NAN): Likewise.
39037 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39038 [C99-based standards] (FP_NAN): Likewise.
39039 [C99-based standards] (FP_NORMAL): Likewise.
39040 [C99-based standards] (FP_SUBNORMAL): Likewise.
39041 [C99-based standards] (FP_ZERO): Likewise.
39042 [C99-based standards] (FP_FAST_FMA): Use
39043 optional-macro-int-constant. Specify type. Require == 1.
39044 [C99-based standards] (FP_FAST_FMAF): Likewise.
39045 [C99-based standards] (FP_FAST_FMAL): Likewise.
39046 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39047 [C99-based standards] (FP_ILOGBNAN): Likewise.
39048 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39050 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39051 [C99-based standards] (math_errhandling): Specify type.
39052 [ISO99 || ISO11] (signgam): Do not allow.
39053 [non-C99-based standards] (copysignf): Do not allow.
39054 [non-C99-based standards] (exp2f): Likewise.
39055 [non-C99-based standards] (log2f): Likewise.
39056 [non-C99-based standards] (modff): Allow.
39057 [non-C99-based standards] (erff): Do not allow.
39058 [non-C99-based standards] (erfcf): Likewise.
39059 [non-C99-based standards] (gammaf): Likewise.
39060 [non-C99-based standards] (hypotf): Likewise.
39061 [non-C99-based standards] (j0f): Likewise.
39062 [non-C99-based standards] (j1f): Likewise.
39063 [non-C99-based standards] (jnf): Likewise.
39064 [non-C99-based standards] (lgammaf): Likewise.
39065 [non-C99-based standards] (tgammaf): Likewise.
39066 [non-C99-based standards] (y0f): Likewise.
39067 [non-C99-based standards] (y1f): Likewise.
39068 [non-C99-based standards] (ynf): Likewise.
39069 [non-C99-based standards] (isnanf): Likewise.
39070 [non-C99-based standards] (acoshf): Likewise.
39071 [non-C99-based standards] (asinhf): Likewise.
39072 [non-C99-based standards] (atanhf): Likewise.
39073 [non-C99-based standards] (cbrtf): Likewise.
39074 [non-C99-based standards] (expm1f): Likewise.
39075 [non-C99-based standards] (ilogbf): Likewise.
39076 [non-C99-based standards] (log1pf): Likewise.
39077 [non-C99-based standards] (logbf): Likewise.
39078 [non-C99-based standards] (nextafterf): Likewise.
39079 [non-C99-based standards] (remainderf): Likewise.
39080 [non-C99-based standards] (rintf): Likewise.
39081 [non-C99-based standards] (scalbf): Likewise.
39082 [non-C99-based standards] (copysignl): Likewise.
39083 [non-C99-based standards] (exp2l): Likewise.
39084 [non-C99-based standards] (log2l): Likewise.
39085 [non-C99-based standards] (modfl): Allow.
39086 [non-C99-based standards] (erfl): Do not allow.
39087 [non-C99-based standards] (erfcl): Likewise.
39088 [non-C99-based standards] (gammal): Likewise.
39089 [non-C99-based standards] (hypotl): Likewise.
39090 [non-C99-based standards] (j0l): Likewise.
39091 [non-C99-based standards] (j1l): Likewise.
39092 [non-C99-based standards] (jnl): Likewise.
39093 [non-C99-based standards] (lgammal): Likewise.
39094 [non-C99-based standards] (tgammal): Likewise.
39095 [non-C99-based standards] (y0l): Likewise.
39096 [non-C99-based standards] (y1l): Likewise.
39097 [non-C99-based standards] (ynl): Likewise.
39098 [non-C99-based standards] (isnanl): Likewise.
39099 [non-C99-based standards] (acoshl): Likewise.
39100 [non-C99-based standards] (asinhl): Likewise.
39101 [non-C99-based standards] (atanhl): Likewise.
39102 [non-C99-based standards] (cbrtl): Likewise.
39103 [non-C99-based standards] (expm1l): Likewise.
39104 [non-C99-based standards] (ilogbl): Likewise.
39105 [non-C99-based standards] (log1pl): Likewise.
39106 [non-C99-based standards] (logbl): Likewise.
39107 [non-C99-based standards] (nextafterl): Likewise.
39108 [non-C99-based standards] (remainderl): Likewise.
39109 [non-C99-based standards] (rintl): Likewise.
39110 [non-C99-based standards] (scalbl): Likewise.
39111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39112 [non-C99-based standards] (FP_*): Do not allow.
39113 [C99-based standards] (FP_*): Change to
39114 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39115 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39117 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39118 (SIG_ERR): Likewise.
39119 [X/Open-based standards] (SIG_HOLD): Likewise.
39120 (SIG_IGN): Likewise.
39121 (SIGABRT): Use macro-int-constant. Specify type. Require
39123 (SIGFPE): Likewise.
39124 (SIGILL): Likewise.
39125 (SIGINT): Likewise.
39126 (SIGSEGV): Likewise.
39127 (SIGTER): Likewise.
39128 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39129 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39130 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39131 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39132 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39133 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39134 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39135 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39136 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39137 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39138 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39139 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39140 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39141 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39142 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39143 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39144 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39145 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39146 [X/Open-based standards] (SIGTRAP): Likewise.
39147 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39148 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39149 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39150 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39151 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39154 2012-05-08 Ian Wienand <ianw@vmware.com>
39157 * time/tzset.c (__tzset_parse_tz): Update default rules for
39158 daylight time changes in the Energy Policy Act of 2005.
39160 2012-05-09 Andreas Jaeger <aj@suse.de>
39163 * elf/ldconfig.c (parse_conf): Change string to make clear that
39164 ldconfig only issued a warning if ld.so.conf does not exist.
39166 2012-05-08 David S. Miller <davem@davemloft.net>
39168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39169 movxtod instead of popping the value on the stack.
39171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39173 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39175 * config.h.in: Add HAVE_ARM_PCS_VFP.
39177 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39180 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39181 checking but the checks are disabled for any reason.
39183 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39185 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39186 and ELF64_R_TYPE with ELFW(R_TYPE).
39188 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39190 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39191 (ulimit): Likewise.
39193 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39194 (settimeofday): Likewise.
39196 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39198 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39199 a struct th_u2 inside the union, and move tu_block/tu_code into
39200 a new th_u3 union of tu_block/tu_code inside of that. Move
39201 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39202 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39203 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39204 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39205 (th_stuff): Change to th_u1.tu_stuff.
39207 (th_msg): Change to th_u1.th_u2.tu_data.
39209 2012-05-07 David S. Miller <davem@davemloft.net>
39211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39214 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39215 (SETUP_PIC_REG): Use it.
39216 (SETUP_PIC_REG_LEAF): Use it.
39218 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39222 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39224 (EXPL_FINITE): Likewise.
39225 (FLDLOG): Likewise.
39226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39227 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39231 (EXPL_FINITE): Likewise.
39232 (FLDLOG): Likewise.
39233 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39234 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39236 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39237 test of -max_value argument for long double.
39238 * sysdeps/i386/fpu/libm-test-ulps: Update.
39239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241 2012-05-06 David S. Miller <davem@davemloft.net>
39243 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39244 quad soft-float symbols whose references which are compiler
39246 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39248 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39252 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39254 (EXPL_FINITE): Likewise.
39255 (FLDLOG): Likewise.
39258 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39259 Adjust comments for base varying.
39260 (__expl_finite): Change alias to EXPL_FINITE.
39261 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39263 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39264 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39266 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39267 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39269 (EXPL_FINITE): Likewise.
39270 (FLDLOG): Likewise.
39273 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39274 Adjust comments for base varying.
39275 (__expl_finite): Change alias to EXPL_FINITE.
39276 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39281 * math/libm-test.inc (check_float_internal): Correct ulp
39282 calculation for subnormal expected results.
39284 2012-05-06 Andreas Jaeger <aj@suse.de>
39286 * Makeconfig (+math-flags): New, set to -frounding-math.
39287 (+cflags): Add +math-flags so that all of glibc gets compiled with
39290 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39292 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39294 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39300 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39301 (__ieee754_expl): Allow for and saturate large arguments.
39302 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39303 (u_threshold): Likewise.
39304 (__exp): Call __ieee754_exp before checking for overflow and
39306 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39307 (u_threshold): Likewise.
39308 (__expf): Call __ieee754_expf before checking for overflow and
39310 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39311 (u_threshold): Likewise.
39312 (__expl): Call __ieee754_expl before checking for overflow and
39314 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39315 (__ieee754_expl): Allow for and saturate large arguments.
39316 * math/libm-test.inc (exp_test): Add another test. Do not allow
39317 missing overflow exception on overflow.
39318 (expm1_test): Do not allow missing overflow exception on overflow.
39320 * sysdeps/i386/fpu/e_expl.c: Move to ...
39321 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39322 rather than using inline asm.
39323 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39324 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39325 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39327 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39330 (signal): Likewise.
39334 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39336 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39337 sysdeps/unix/common/syscalls.list.
39338 (fchmod): Likewise.
39339 (fchown): Likewise.
39340 (ftruncate): Likewise.
39341 (getrusage): Likewise.
39342 (gettimeofday): Likewise.
39343 (setpgid): Likewise.
39344 (setregid): Likewise.
39345 (setreuid): Likewise.
39346 (sigaction): Likewise.
39347 (truncate): Likewise.
39348 (vhangup): Likewise.
39349 * sysdeps/unix/common/syscalls.list: Remove file.
39350 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39351 * sysdeps/unix/sysv/linux/Implies: Likewise.
39353 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39355 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39357 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39361 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39364 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39367 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39370 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39373 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39376 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39379 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39383 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39387 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39390 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39394 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39398 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39400 * sysdeps/unix/common/bits/dirent.h: Remove file.
39401 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39403 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39404 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39405 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39406 * sysdeps/unix/bsd/isatty.c: Likewise.
39407 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39408 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39409 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39411 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39415 long double comparison inaccuracies.
39416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39419 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39421 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39422 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39424 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39428 nonzero digits before rounding a hex value.
39429 * stdlib/tst-strtod.c (tests): Add another test.
39431 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39433 * sysdeps/s390/fpu/libm-test-ulps: Update.
39435 2012-05-03 Andreas Jaeger <aj@suse.de>
39437 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39438 does not get optimized out.
39439 (malloc_opt_barrier): New.
39441 2012-05-03 Andreas Jaeger <aj@suse.de>
39442 Roland McGrath <roland@hack.frob.com>
39444 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39445 intermediate file deletion.
39446 (generated): Add .symlist files.
39448 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39451 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39452 Redirect under this condition.
39453 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39454 [__USE_GNU] (__dprintf_chk): Not under this condition.
39455 [__USE_GNU] (__vdprintf_chk): Likewise.
39456 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39457 under this condition.
39458 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39459 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39460 [__USE_XOPEN2K8] (vdprintf): Likewise.
39461 [__USE_GNU] (__dprintf_chk): Not under this condition.
39462 [__USE_GNU] (__vdprintf_chk): Likewise.
39463 [__USE_GNU] (dprintf): Likewise.
39464 [__USE_GNU] (vdprintf): Likewise.
39466 2012-05-03 Roland McGrath <roland@hack.frob.com>
39468 * elf/Makefile (common-generated): Set this instead of generated for
39469 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39470 $(all-built-dso)-derived lists.
39472 2012-05-03 Andreas Jaeger <aj@suse.de>
39474 * sysdeps/i386/fpu/libm-test-ulps: Update.
39477 * FAQ.in: Likewise.
39478 * scripts/gen-FAQ.pl: Likewise.
39479 * manual/install.texi (Installation): Point to online location of
39481 * Makefile (files-for-dist): Remove FAQ.
39484 2012-05-02 Allan McRae <allan@archlinux.org>
39486 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39487 (LDFLAGS-reldepmod5.so): Likewise.
39488 (LDFLAGS-reldep6mod1.so): Likewise.
39489 (LDFLAGS-reldep6mod4.so): Likewise.
39490 (LDFLAGS-reldep8mod3.so): Likewise.
39491 (LDFLAGS-unload4mod1.so): Likewise.
39492 (LDFLAGS-unload4mod2.so): Likewise.
39493 (LDFLAGS-tst-initorder): Likewise.
39494 (LDFLAGS-tst-initordera2.so): Likewise.
39495 (LDFLAGS-tst-initordera3.so): Likewise.
39496 (LDFLAGS-tst-initordera4.so): Likewise.
39497 (LDFLAGS-tst-initorderb2.so): Likewise.
39498 (LDFLAGS-noload): Likewise.
39499 (LDFLAGS-next): Likewise.
39500 (LDFLAGS-order2mod1.so): Likewise.
39501 (LDFLAGS-order2mod2.so): Likewise.
39502 (LDFLAGS-tst-initorder2): Likewise.
39503 (LDFLAGS-tst-initorder2a.so): Likewise.
39504 (LDFLAGS-tst-initorder2b.so): Likewise.
39505 (LDFLAGS-tst-initorder2c.so): Likewise.
39506 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39508 2012-05-02 David S. Miller <davem@davemloft.net>
39510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39512 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39515 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39517 2012-05-02 Andreas Jaeger <aj@suse.de>
39519 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39520 since we manipulate rounding mode.
39521 (CPPFLAGS-test-idouble.c): Likewise.
39522 (CPPFLAGS-test-ifloat.c): Likewise.
39523 (CFLAGS-test-ldouble.c): Likewise.
39524 (CFLAGS-test-double.c): Likewise.
39525 (CFLAGS-test-float.c): Likewise.
39526 (CFLAGS-test-misc.c): Likewise.
39527 (CFLAGS-test-test-fenv.c): Likewise.
39529 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39533 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39534 comparisons to determine direction to adjust input.
39536 2012-05-01 Roland McGrath <roland@hack.frob.com>
39538 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39539 output to the target.
39541 * scripts/localplt.awk: New file.
39542 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39543 (check-localplt-CFLAGS): Variable removed.
39544 ($(all-built-dso:=.jmprel)): New static pattern rule.
39545 (generated): Add those targets.
39546 (localplt-built-dso): New variable.
39547 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39549 * elf/check-localplt.c: File removed.
39551 * scripts/check-execstack.awk: New file.
39552 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39553 (check-execstack-CFLAGS): Variable removed.
39554 ($(objpfx)check-execstack.h): Target removed.
39555 ($(objpfx)execstack-default): New target.
39556 (generated): Add that instead of check-execstack.h.
39557 ($(all-built-dso:=.phdr)): New static pattern rule.
39558 (generated): Add those targets.
39559 * elf/check-execstack.c: File removed.
39561 * scripts/check-textrel.awk: New file.
39562 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39563 (check-textrel-CFLAGS): Variable removed.
39564 (all-built-dso): Use := to define.o
39565 ($(all-built-dso:=.dyn)): New static pattern rule.
39566 (generated): Add those targets.
39567 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39568 * config.make.in (READELF): New substituted variable.
39569 * elf/check-textrel.c: File removed.
39571 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39573 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39575 * conform/data/ctype.h-data [C99-based standards] (isblank):
39577 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39578 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39580 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39581 Specify type. Require positive value.
39582 (EILSEQ): Likewise.
39583 (ERANGE): Likewise.
39584 [ISO || POSIX] (EILSEQ): Do not expect.
39585 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39586 Specify type. Require positive value.
39587 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39588 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39589 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39590 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39591 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39592 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39593 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39594 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39595 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39596 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39597 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39598 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39599 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39600 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39601 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39602 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39603 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39604 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39605 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39606 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39607 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39608 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39609 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39610 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39611 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39612 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39613 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39614 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39615 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39616 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39617 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39618 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39619 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39620 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39621 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39622 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39623 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39624 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39625 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39626 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39627 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39628 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39629 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39630 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39631 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39632 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39633 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39634 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39635 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39636 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39637 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39638 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39639 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39640 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39641 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39642 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39643 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39644 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39645 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39646 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39647 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39648 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39649 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39650 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39651 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39652 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39653 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39654 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39655 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39656 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39657 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39658 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39659 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39660 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39661 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39662 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39663 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39665 (FLT_ROUNDS): Expect as macro, not constant.
39666 (FLT_MANT_DIG): Use macro-int-constant.
39667 (DBL_MANT_DIG): Likewise.
39668 (LDBL_MANT_DIG): Likewise.
39669 (FLT_DIG): Likewise.
39670 (DBL_DIG): Likewise.
39671 (LDBL_DIG): Likewise.
39672 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39673 (DBL_MIN_EXP): Likewise.
39674 (LDBL_MIN_EXP): Likewise.
39675 (FLT_MAX_EXP): Use macro-int-constant.
39676 (DBL_MAX_EXP): Likewise.
39677 (LDBL_MAX_EXP): Likewise.
39678 (FLT_MAX_10_EXP): Likewise.
39679 (DBL_MAX_10_EXP): Likewise.
39680 (LDBL_MAX_10_EXP): Likewise.
39681 (FLT_MAX): Use macro-constant.
39682 (DBL_MAX): Likewise.
39683 (LDBL_MAX): Likewise.
39684 (FLT_EPSILON): Use macro-constant. Give upper bound.
39685 (DBL_EPSILON): Likewise.
39686 (LDBL_EPSILON): Likewise.
39687 (FLT_MIN): Likewise.
39688 (DBL_MIN): Likewise.
39689 (LDBL_MIN): Likewise.
39690 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39691 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39692 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39693 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39694 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39695 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39696 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39697 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39698 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39699 [ISO11] (FLT_TRUE_MIN): Likewise.
39700 [ISO11] (LDBL_TRUE_MIN): Likewise.
39701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39702 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39703 (SCHAR_MIN): Use macro-int-constant. Specify type.
39704 (SCHAR_MAX): Likewise.
39705 (UCHAR_MAX): Likewise.
39706 (CHAR_MIN): Likewise.
39707 (CHAR_MAX): Likewise.
39708 (MB_LEN_MAX): Use macro-int-constant.
39709 (SHRT_MIN): Use macro-int-constant. Specify type.
39710 (SHRT_MAX): Likewise.
39711 (USHRT_MAX): Likewise.
39712 (INT_MAX): Likewise.
39713 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39715 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39717 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39719 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39720 bound negative. Suffix upper bound with "L".
39721 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39723 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39725 [C99-based standards] (LLONG_MAX): Likewise.
39726 [C99-based standards] (ULLONG_MAX): Likewise.
39727 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39729 [ISO11] (max_align_t): Require type.
39730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39732 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39733 from $CFLAGS, without defining away __attribute__ calls.
39734 (checknamespace): Use $CFLAGS_namespace.
39736 * conform/conformtest.pl (@keywords): Only include C99 keywords
39737 for standards based on C99 or C11.
39739 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39741 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39744 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39745 usability of symbols in #if.
39747 * conform/conformtest.pl: If macro or constant types start
39748 "promoted:", expect the symbol to be of the following type
39749 promoted by the integer promotions.
39751 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39752 in one place. Also handle "macro-constant".
39754 * conform/conformtest.pl: Only accept expected macro values with
39755 "==". Parse all "macro" lines in one place.
39756 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39758 * conform/conformtest.pl: Handle braced types on "constant" lines
39759 instead of handling "typed-constant".
39760 * conform/data/signal.h-data: Use "constant" instead of
39763 * conform/conformtest.pl: Handle "optional-" at start of lines in
39764 one place rather than duplicating several cases. Handle each
39765 format of "macro" line with initial "optional-".
39767 * conform/conformtest.pl: Only accept expected constant or
39768 optional-constant values with "==". Parse all "constant" lines in
39769 one place. Parse all "optional-constant" lines in one place.
39770 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39771 * conform/data/fmtmsg.h-data: Likewise.
39772 * conform/data/netinet/in.h-data: Likewise.
39773 * conform/data/tar.h-data: Likewise.
39774 * conform/data/limits.h-data: Use "==" form on "constant" and
39775 "optional-constant" lines.
39777 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39778 Use -std=c99 for XOPEN2K.
39779 (@knownproblems): Remove.
39780 (newtoken): Don't check %isknown.
39782 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39783 Do not expect macro.
39784 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39792 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39793 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39795 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39796 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39797 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39798 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39799 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39800 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39801 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39802 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39804 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39807 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39808 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39810 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39811 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39812 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39814 [XPG3] (acosh): Likewise.
39815 [XPG3] (asinh): Likewise.
39816 [XPG3] (atanh): Likewise.
39817 [XPG3] (cbrt): Likewise.
39818 [XPG3] (expm1): Likewise.
39819 [XPG3] (ilogb): Likewise.
39820 [XPG3] (log1p): Likewise.
39821 [XPG3] (logb): Likewise.
39822 [XPG3] (nextafter): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39824 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39825 [XPG3] (remainder): Likewise.
39826 [XPG3] (rint): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39834 [UNIX98 || XOPEN2K] (scalb): Expect.
39835 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39836 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39842 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39843 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39844 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39845 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39846 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39847 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39848 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39849 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39850 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39851 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39853 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39854 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39855 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39856 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39862 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39863 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39864 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39868 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39869 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39880 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39881 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39882 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39883 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39884 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39885 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39886 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39887 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39888 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39889 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39890 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39891 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39892 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39893 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39894 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39895 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39896 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39897 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39898 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39899 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39900 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39901 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39902 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39903 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39904 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39905 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39906 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39907 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39908 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39909 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39910 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39911 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39912 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39913 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39914 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39915 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39916 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39917 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39918 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39919 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39920 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39932 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39933 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39935 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39936 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39937 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39973 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39974 _XOPEN_SOURCE_EXTENDED for XPG4.
39976 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39978 * Makeconfig (localtime): Remove variable.
39979 (inst_localtime-file): Likewise.
39981 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40002 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40006 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40007 comparisons to determine direction to adjust input.
40008 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40009 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40010 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40012 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40014 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40016 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40017 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40019 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40021 * math/libm-test.inc (nexttoward_test): Add more tests.
40023 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40026 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40027 in version GLIBC_2.1, not GLIBC_2.0.
40028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40031 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40034 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40036 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40037 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40038 * math/libm-test.inc (acos_test): Add more tests.
40039 (asin_test): Likewise.
40040 * sysdeps/i386/fpu/libm-test-ulps: Update.
40041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40044 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40046 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40047 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40048 * math/libm-test.inc (acos_test_tonearest): New function.
40049 (acos_test_towardzero): Likewise.
40050 (acos_test_downward): Likewise.
40051 (acos_test_upward): Likewise.
40052 (asin_test_tonearest): Likewise.
40053 (asin_test_towardzero): Likewise.
40054 (asin_test_downward): Likewise.
40055 (asin_test_upward): Likewise.
40056 (main): Call the new functions.
40057 * sysdeps/i386/fpu/libm-test-ulps: Update.
40058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40062 * math/e_exp10.c: Include <float.h>.
40063 (__ieee754_exp10): Handle underflow here rather than multiplying
40064 large negative argument by M_LN10.
40065 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40067 * math/e_exp10l.c: Include <float.h>.
40068 (__ieee754_exp10l): Handle underflow here rather than multiplying
40069 large negative argument by M_LN10l.
40070 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40071 spurious overflow exception on underflow.
40073 2012-04-29 Marek Polacek <polacek@redhat.com>
40075 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40076 (__fortify_function): New macro.
40077 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40078 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40079 __extern_always_inline.
40080 * libio/bits/stdio2.h: Likewise.
40081 * libio/bits/stdio.h: Likewise.
40082 * string/string.h: Likewise.
40083 * string/bits/string3.h: Likewise.
40084 * include/stdio.h: Likewise.
40085 * stdlib/bits/stdlib.h: Likewise.
40086 * stdlib/stdlib.h: Likewise.
40087 * rt/bits/mqueue2.h: Likewise.
40088 * rt/mqueue.h: Likewise.
40089 * posix/bits/unistd.h: Likewise.
40090 * posix/unistd.h: Likewise.
40091 * io/bits/poll2.h: Likewise.
40092 * io/bits/fcntl2.h: Likewise.
40093 * io/fcntl.h: Likewise.
40094 * io/sys/poll.h: Likewise.
40095 * misc/bits/syslog.h: Likewise.
40096 * misc/bits/syslog-ldbl.h: Likewise.
40097 * misc/sys/syslog.h: Likewise.
40098 * socket/bits/socket2.h: Likewise.
40099 * socket/sys/socket.h: Likewise.
40100 * debug/tst-chk1.c: Likewise.
40101 * wcsmbs/bits/wchar2.h: Likewise.
40102 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40103 * wcsmbs/wchar.h: Likewise.
40105 2012-04-29 Andreas Jaeger <aj@suse.de>
40107 * Makerules (tests): Remove enable-check-abi protection.
40108 (check-abi-warn): Remove.
40109 (check-abi-%): Remove check-abi-warn usage.
40111 * configure.in: Remove check-abi configure option.
40112 * configure: Regenerated.
40113 * config.make.in (enable-check-abi): Remove.
40115 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40118 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40119 double functions to double *_finite functions.
40122 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40123 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40125 * stdio-common/Makefile (tests): Add tst-sprintf3.
40126 * stdio-common/tst-sprintf3.c: New file.
40128 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40129 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40131 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40133 * conform/conformtest.pl: Remove duplicate typed-constant
40136 2012-04-28 David S. Miller <davem@davemloft.net>
40138 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40139 (check-abi-%): Remove AWK script prerequisite and explicit
40141 (check-abi): Rewrite to just diff the symlist with the abilist.
40142 (config-tls, config-abi-config): Delete, no longer used.
40143 (update-abi-%): Remove AWK script and explicit abilist directory.
40144 (update-abi): Rewrite to simply compare and conditionally copy the
40145 symlist and the sysdep abilist file. Remove update-abi-config
40147 * abilist/ld.abilist: Remove.
40148 * abilist/libBrokenLocale.abilist: Remove.
40149 * abilist/libanl.abilist: Remove.
40150 * abilist/libcrypt.abilist: Remove.
40151 * abilist/libdl.abilist: Remove.
40152 * abilist/librt.abilist: Remove.
40153 * abilist/libthread_db.abilist: Remove.
40154 * abilist/libutil.abilist: Remove.
40155 * scripts/extract-abilist.awk: Remove.
40156 * scripts/merge-abilist.awk: Remove.
40157 * sysdeps/generic/libcidn.abilist: New file.
40158 * sysdeps/generic/libnss_compat.abilist: New file.
40159 * sysdeps/generic/libnss_db.abilist: New file.
40160 * sysdeps/generic/libnss_dns.abilist: New file.
40161 * sysdeps/generic/libnss_files.abilist: New file.
40162 * sysdeps/generic/libnss_hesiod.abilist: New file.
40163 * sysdeps/generic/libnss_nis.abilist: New file.
40164 * sysdeps/generic/libnss_nisplus.abilist: New file.
40165 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40166 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40167 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40170 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40171 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40172 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40173 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40174 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40175 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40176 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40177 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40179 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40180 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40181 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40182 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40184 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40186 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40187 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40188 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40189 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40192 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40193 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40195 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40298 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40299 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40300 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40303 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40304 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40305 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40306 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40307 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40308 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40309 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40310 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40311 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40363 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40365 * conform/conformtest.pl: Fix typo in handling typed-constant from
40368 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40370 * README: Cut down references to pre-2.6 Linux kernels and
40371 Linuxthreads. Update lists of configurations in libc and ports
40372 and sort alphabetically. Say "or newer" with Linux kernel version
40375 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40377 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40380 * math/libm-test.inc (logb_test_downward): New test to expose
40381 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40384 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40387 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40389 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40390 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40392 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40394 * sysdeps/unix/i386/brk.S: Remove file.
40395 * sysdeps/unix/i386/dl-brk.S: Likewise.
40396 * sysdeps/unix/i386/pipe.S: Likewise.
40397 * sysdeps/unix/i386/sigreturn.S: Likewise.
40398 * sysdeps/unix/i386/syscall.S: Likewise.
40399 * sysdeps/unix/i386/vfork.S: Likewise.
40400 * sysdeps/unix/i386/wait.S: Likewise.
40402 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40403 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40405 * configure.in (arm*-none*): Do not allow without
40406 --enable-hacker-mode.
40407 (netbsd*): Remove case setting base_os.
40408 (386bsd*): Likewise.
40409 (freebsd*): Likewise.
40412 (sunos*): Likewise.
40413 (ultrix*): Likewise.
40414 (newsos*): Likewise.
40415 (dynix*): Likewise.
40421 (minix*): Likewise.
40422 (irix4*): Likewise.
40423 (irix6*): Likewise.
40424 (solaris[2-9]*): Likewise.
40426 * configure: Regenerated.
40428 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40431 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40432 overflow or cancellation in calculating denominator.
40433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40435 down expression to avoid unexpected rounding in newer GCCs.
40436 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40438 2012-04-26 David S. Miller <davem@davemloft.net>
40440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40441 long-double compat symbols.
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40456 2012-04-25 David S. Miller <davem@davemloft.net>
40458 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40459 HWCAP_* values only after the memory barriers have been defined.
40460 (atomic_full_barrier): Define.
40461 (atomic_read_barrier): Define.
40462 (atomic_write_barrier): Define.
40464 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40466 * shlib-versions: Add libgcc_s version information.
40467 * sysdeps/generic/libgcc_s.h: Remove.
40468 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40470 * sysdeps/gnu/unwind-resume.c: Likewise.
40471 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40473 2012-04-25 David S. Miller <davem@davemloft.net>
40475 * sysdeps/unix/sparc/brk.S: Delete.
40476 * sysdeps/unix/sparc/dl-brk.S: Delete.
40477 * sysdeps/unix/sparc/pipe.S: Delete.
40478 * sysdeps/unix/sparc/sysdep.S: Delete.
40479 * sysdeps/unix/sparc/sysdep.h: Delete.
40480 * sysdeps/unix/sparc/vfork.S: Delete.
40481 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40482 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40484 (ret_ERRVAL, r0, r1, MOVE): Define.
40485 (JUMPTARGET): Remove.
40486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40487 sysdeps/unix/sparc/sysdep.h
40488 (ENTRY, END): Remove.
40489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40491 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40493 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40494 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40497 * timezone/README: Update upstream location and email address for
40499 * timezone/zdump.c: Update from tzcode 2012b.
40500 * timezone/zic.c: Likewise.
40502 * configure.in (libc_cv_as_needed): Remove test.
40503 * configure: Regenerated.
40504 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40505 conditional definition.
40506 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40507 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40508 * config.make.in (have-as-needed): Remove variable.
40510 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40511 Paul Pluzhnikov <ppluzhnikov@google.com>
40513 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40516 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40518 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40519 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40520 * sysdeps/sh/strlen.S: Likewise.
40522 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40524 * sysdeps/unix/fork.S: Remove file.
40525 * sysdeps/unix/i386/fork.S: Likewise.
40526 * sysdeps/unix/sparc/fork.S: Likewise.
40528 * sysdeps/unix/system.c: Remove file.
40529 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40531 * sysdeps/unix/getegid.S: Remove file.
40532 * sysdeps/unix/geteuid.S: Likewise.
40534 2012-04-24 Roland McGrath <roland@hack.frob.com>
40536 * scripts/check-localplt.awk: New file.
40537 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40539 * scripts/data/localplt-generic.data: Add a comment.
40541 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40542 NODE when __dir_mkfile failed.
40543 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40544 Reported by Ludovic Courtès <ludo@gnu.org>.
40546 2012-04-24 Andreas Jaeger <aj@suse.de>
40548 * Makerules (common-clean): Also remove gen-as-const-headers
40551 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40553 * Makerules (native-compile): Do not change working directory for
40554 build. Use $(OUTPUT_OPTION) in command.
40555 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40557 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40560 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40561 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40562 * math/libm-test.inc (floor_test): Add more tests.
40563 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40565 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40567 * sysdeps/unix/getdents.c: Remove file.
40568 * sysdeps/unix/sysv/getdents.c: Likewise.
40569 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40571 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40572 sysdeps/unix/mman/syscalls.list.
40574 (mprotect): Likewise.
40576 (munmap): Likewise.
40577 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40578 * sysdeps/unix/mman/syscalls.list: Remove.
40579 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40581 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40582 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40583 * configure: Regenerated.
40584 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40585 $(libgcc_s_suffix).
40586 * config.make.in (libgcc_s_suffix): Remove variable.
40588 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40590 * sysdeps/unix/sysv/gethostname.c: Move to ...
40591 * sysdeps/posix/gethostname.c: ... here.
40593 * sysdeps/unix/execve.S: Remove file.
40595 * sysdeps/unix/_exit.S: Remove file.
40597 2012-04-23 Andreas Jaeger <aj@suse.de>
40600 * manual/Makefile: Remove make dist support, there's no
40601 need for a stand-alone documentation tar ball.
40602 (TEXI2DVI): Define always, it's not in Makeconfig.
40605 (edition): Removed.
40606 (glibc-doc-$(edition).tar): Removed
40610 (ETAGS): Remove, it's in Makeconfig.
40611 (move-if-change): Remove, it's in Makeconfig.
40613 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40616 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40617 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40618 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40619 (strtod_l, strtof_l, strtold_l): Remove __wur.
40620 It is not necessarily an error to ignore strtol's return value.
40621 One can reliably look at the stored endptr to decide whether
40622 the number had valid syntax.
40624 2012-04-21 Andreas Jaeger <aj@suse.de>
40627 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40629 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40631 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40632 * sysdeps/unix/sysv/Versions: Remove file.
40634 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40639 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40642 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40643 version from __vm86.
40645 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40647 * sysdeps/unix/common/lxstat.c: Remove file.
40648 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40650 * sysdeps/unix/sysv/Makefile: Remove file.
40652 * sysdeps/unix/sysv/direct.h: Remove file.
40654 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40655 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40656 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40657 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40658 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40659 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40660 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40662 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40664 * sysdeps/unix/xmknod.c: Remove file.
40665 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40667 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40669 * sysdeps/unix/sysv/i386/time.S: Remove file.
40671 * sysdeps/unix/fxstat.c: Remove file.
40672 * sysdeps/unix/xstat.c: Likewise.
40673 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40675 * sysdeps/unix/sysv/sigaction.c: Remove file.
40677 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40678 (sysdep_headers): Remove variable.
40679 [termio.h not in sysdep_headers] (generated): Likewise.
40680 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40681 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40682 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40683 * sysdeps/unix/sysv/tcflow.c: Likewise.
40684 * sysdeps/unix/sysv/tcflush.c: Likewise.
40685 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40686 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40687 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40688 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40689 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40691 * sysdeps/unix/siglist.c: Remove file.
40693 * sysdeps/unix/getppid.S: Remove file.
40695 * sysdeps/unix/mkdir.c: Remove file.
40696 * sysdeps/unix/rmdir.c: Likewise.
40698 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40700 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40702 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40703 errlist-compat value.
40705 2012-04-18 David S. Miller <davem@davemloft.net>
40707 * sysdeps/generic/memcopy.h (reg_char): Delete.
40708 * debug/strcat_chk.c: Use char, not reg_char.
40709 * debug/strcpy_chk.c: Likewise.
40710 * debug/strncat_chk.c: Likewise.
40711 * debug/strncpy_chk.c: Likewise.
40712 * string/memchr.c: Likewise.
40713 * string/memrchr.c: Likewise.
40714 * string/rawmemchr.c: Likewise.
40715 * string/strcat.c: Likewise.
40716 * string/strchr.c: Likewise.
40717 * string/strchrnul.c: Likewise.
40718 * string/strcmp.c: Likewise.
40719 * string/strcpy.c: Likewise.
40720 * string/strncat.c: Likewise.
40721 * string/strncmp.c: Likewise.
40722 * string/strncpy.c: Likewise.
40724 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40726 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40727 __builtin_memcopy is called when src and dest ranges are known to not
40730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40732 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40733 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40734 fwd_align_merge macro call.
40735 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40736 bwd_align_merge macro call.
40737 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40739 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40741 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40742 bwd_align_merge macros.
40743 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40744 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40745 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40747 2012-04-18 David S. Miller <davem@davemloft.net>
40749 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40751 2012-04-18 Andreas Jaeger <aj@suse.de>
40754 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40755 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40756 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40758 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40759 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40760 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40762 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40763 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40764 Adjust for changed ldbl-128 files.
40766 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40767 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40768 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40770 2012-04-17 David S. Miller <davem@davemloft.net>
40772 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40774 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40776 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40777 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40778 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40779 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40780 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40781 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40783 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40786 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40787 * math/libm-test.inc: Add ilogb errno and exception tests.
40788 * math/w_ilogb.c: New file: ilogb wrapper.
40789 * math/w_ilogbf.c: New file: ilogbf wrapper.
40790 * math/w_ilogbl.c: New file: ilogbl wrapper.
40791 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40792 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40793 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40794 exception being thrown with 0.0 as argument.
40795 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40796 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40797 exception being thrown with 0.0 as argument.
40798 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40799 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40800 exception being thrown with 0.0 as argument.
40801 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40802 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40803 exception being thrown with 0.0 as argument.
40804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40805 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40807 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40809 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40810 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40811 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40812 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40814 2012-04-17 Petr Baudis <pasky@ucw.cz>
40816 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40819 2012-04-16 Marek Polacek <polacek@redhat.com>
40821 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40823 2012-04-16 Marek Polacek <polacek@redhat.com>
40825 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40826 operands of fdivp instruction.
40828 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40830 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40831 * elf/tst-auditmod3b.c: Likewise.
40832 * elf/tst-auditmod4b.c: Likewise.
40833 * elf/tst-auditmod5b.c: Likewise.
40834 * elf/tst-auditmod6b.c: Likewise.
40835 * elf/tst-auditmod6c.c: Likewise.
40836 * elf/tst-auditmod7b.c: Likewise.
40837 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40838 * sysdeps/x86_64/preconfigure.in: Likewise.
40839 * sysdeps/x86_64/preconfigure: Regenerated.
40841 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40846 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40848 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40849 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40851 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40854 * locale/iso-639.def: Fix gl language name. Spotted by
40857 2012-04-12 Roland McGrath <roland@hack.frob.com>
40860 * libio/libio.h (__io_write_fn): Update comment.
40862 2012-04-12 Petr Baudis <pasky@ucw.cz>
40865 * stdio.texi (Hook Functions): The user provided writer function
40866 is not allowed to return -1.
40868 2012-04-11 David S. Miller <davem@davemloft.net>
40870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40872 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40874 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40875 Add a leading slash to rtkaio.
40877 2012-04-11 Jim Meyering <meyering@redhat.com>
40880 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40881 It is not necessarily an error to ignore fwrite's return
40882 value. One can reliably use ferror to test for errors after
40885 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40887 * bits/types.h (__snseconds_t): New type.
40888 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40890 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40892 (__SNSECONDS_T_TYPE): Likewise.
40893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40894 (__SNSECONDS_T_TYPE): Likewise.
40895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40896 (__SNSECONDS_T_TYPE): Likewise.
40898 2012-04-10 Andreas Jaeger <aj@suse.de>
40901 * manual/time.texi (Processor Time): Return type of times is
40902 elapsed real time since an arbitrary point in the past.
40903 (CPU Time): Move CLK_TCK from here...
40904 (Processor Time): ...to here. Correct description.
40905 * manual/conf.texi (Constants for Sysconf): Correct description of
40908 2012-04-10 David S. Miller <davem@davemloft.net>
40911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40912 where the is a gap between DT_REL(A) and DT_JMPREL.
40914 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40916 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40917 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40918 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40920 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40922 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40923 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40924 (dl_main): Handle --inhibit-cache.
40925 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40927 * elf/dl-load.c (_dl_map_object): Use it.
40928 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40930 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40933 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40934 (__ieee754_powl): Saturate large exponents rather than testing for
40935 overflow of y*log2(x).
40936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40937 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40941 * math/s_ctan.c: Include <float.h>.
40942 (__ctan): Avoid internal overflow or cancellation in calculating
40944 * math/s_ctanf.c: Likewise.
40945 * math/s_ctanl.c: Likewise.
40946 * math/s_ctanh.c: Likewise.
40947 * math/s_ctanhf.c: Likewise.
40948 * math/s_ctanhl.c: Likewise.
40949 * math/libm-test.inc (ctan_test): Add more tests.
40950 (ctanh_test): Likewise.
40951 * sysdeps/i386/fpu/libm-test-ulps: Update.
40952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40954 2012-04-09 Andreas Jaeger <aj@suse.de>
40957 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40958 is an optional BSD extension.
40961 * manual/stdio.texi (Opening Streams): Document additional fopen
40964 2012-04-09 Roland McGrath <roland@hack.frob.com>
40966 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40967 %eax without telling the compiler.
40969 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40972 * manual/install.texi: Use sourceware.org.
40974 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40977 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40978 (__ieee754_pow): Generate overflow and underflow using huge*huge
40979 and tiny*tiny rather than just returning constant infinity or zero
40980 for large exponents.
40981 * math/libm-test.inc (pow_test): Require overflow exceptions for
40982 applicable cases of large exponents.
40985 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40986 (__ieee754_pow): Use iterative multiplication algorithm only for
40987 integer exponents with absolute value below 1024. Check for odd
40988 integer exponents when using algorithm for real exponents.
40989 * math/libm-test.inc (pow_test): Add more tests.
40990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40992 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40995 * math/libm-test.inc (exp_test): Do not allow overflow exception
40998 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41001 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41002 instead of __kernel_standard_f.
41004 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41006 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41007 * sysdeps/x86_64/memset_chk.S: Likewise.
41009 2012-04-08 Andreas Jaeger <aj@suse.de>
41012 * manual/startup.texi (Environment Access): Describe return value
41013 for putenv and setenv.
41016 * manual/filesys.texi (Directory Entries): Add description for
41020 * manual/filesys.texi (Directory Entries): Clarify that it's file
41021 system not operating system in the description of DT_UNKNOWN.
41024 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41026 2012-04-08 Stephen Compall <s11@member.fsf.org>
41029 * manual/llio.texi (Opening and Closing Files): Add cross
41030 reference to explain mode argument.
41032 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41034 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41035 * sysdeps/x86_64/memset_chk.S: Likewise.
41037 2012-04-07 David S. Miller <davem@davemloft.net>
41039 * elf/elf.h (R_SPARC_WDISP10): Define.
41040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41043 R_SPARC_SIZE64 and R_SPARC_H34.
41045 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41047 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41048 conditions and remove no longer applicable assertion.
41050 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41052 * bits/byteswap.h: Include <features.h>.
41053 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41054 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41056 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41058 * bits/byteswap.h (__bswap_16): Removed.
41059 Include <bits/byteswap-16.h> to get __bswap_16.
41060 * sysdeps/i386/bits/byteswap.h: Likewise.
41061 * sysdeps/s390/bits/byteswap.h: Likewise.
41062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41063 * bits/byteswap-16.h: New file.
41064 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41065 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41066 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41067 * string/Makefile (headers): Add bits/byteswap-16.h.
41069 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41072 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41074 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41075 * nss/tst-nss-static.c: New.
41077 2012-04-06 Robert Millan <rmh@gnu.org>
41080 * manual/llio.texi (File Position Primitive): lseek
41081 refers to WHENCE when it really means OFFSET.
41083 2012-04-06 Andreas Jaeger <aj@suse.de>
41085 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41086 strncmp declarations.
41088 * abilist/libc.abilist: Add __poll and __ppoll.
41090 2012-04-05 David S. Miller <davem@davemloft.net>
41092 * scripts/check-local-headers.sh: Accept a host triplet in the
41093 path matched by the exclude regexp.
41095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41097 * sysdeps/powerpc/powerpc32/dl-machine.h
41098 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41099 * sysdeps/s390/s390-32/dl-machine.h
41100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41101 * sysdeps/sparc/sparc32/dl-machine.h
41102 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41103 * sysdeps/sparc/sparc64/dl-machine.h
41104 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41106 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41108 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41109 undefined symbol errors.
41111 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41114 2012-04-05 Michael Matz <matz@suse.de>
41117 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41119 2012-04-05 Andreas Jaeger <aj@suse.de>
41122 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41125 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41127 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41128 which ROUND is no valid rounding mode.
41130 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41134 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41138 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41139 an exception using FPU order intentionally.
41141 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41143 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41144 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41145 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41146 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41148 2012-04-05 Simon Josefsson <simon@josefsson.org>
41151 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41152 EINVAL when BUFLEN is too smal.
41154 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41157 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41158 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41160 2012-04-03 Andreas Jaeger <aj@suse.de>
41163 * manual/setjmp.texi (System V contexts): Fix sentence.
41166 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41167 New macro for this case.
41168 [!__GNUC__] (__bswap_64): New inline function for this case.
41169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41170 * bits/byteswap.h: Likewise.
41171 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41172 ull, guard with __GLIBC_HAVE_LONG_LONG.
41174 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41175 __GLIBC_HAVE_LONG_LONG.
41177 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41178 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41180 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41183 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41184 inptr and inend, rather than using last_ch.
41186 2012-04-02 David S. Miller <davem@davemloft.net>
41188 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41189 * stdio-common/printf-parse.h (read_int): Change return type to
41190 'int', return -1 on INT_MAX overflow.
41191 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41192 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41193 overflows INT_MAX. Check for overflow of in-format-string precision
41194 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41195 SIZE_MAX not INT_MAX for integer overflow test.
41196 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41197 skip the construct in the format string but do not record anything.
41198 * stdio-common/bug22.c: Adjust to test both width/prevision
41199 INT_MAX overflow as well as total length INT_MAX overflow. Check
41200 explicitly for proper errno values.
41202 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41204 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41206 * string/test-strcmp.c [! WIDE]: Likewise.
41207 * time/tst-mktime2.c: Likewise for INT_MAX.
41208 * string/test-string.h: #include <sys/param.h> for MIN.
41210 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41211 * sysdeps/i386/init-first.c (init): Likewise.
41212 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41213 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41214 * sysdeps/sh/init-first.c (init): Likewise.
41216 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41218 * po/ru.po: Update from translation team.
41219 * po/vi.po: Likewise.
41221 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41223 * resolv/nss_dns/dns-host.c: Merge copyright years.
41225 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41228 Optimize memcpy with prefetch if
41229 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41230 src, dst pointers have unequal 16 byte alignments.
41232 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41235 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41236 from a CNAME entry and return the minimum ttl for the query.
41237 (gaih_getanswer_slice): Likewise.
41239 2012-03-30 Jeff Law <law@redhat.com>
41241 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41243 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41244 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41246 * resolv/nss_dns/dns-host.c: Update copyright year.
41248 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41250 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41251 requests to save a system call. Fix check that all bytes are sent.
41253 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41254 comments for sendmmsg.
41256 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41259 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41260 with only 1 character between 0x0041 and 0x01b0.
41261 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41262 * wcsmbs/tst-mbsnrtowcs.c: New file.
41264 2012-03-29 David S. Miller <davem@davemloft.net>
41266 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41267 small copies by hand.
41269 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41272 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41273 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41276 2012-03-28 David S. Miller <davem@davemloft.net>
41278 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41279 that branches into memcpy.
41280 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41283 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41286 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41287 implementation too.
41288 * sysdeps/sparc/mempcpy.S: New file.
41290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41291 the IFUNC routine in the libc case.
41292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41295 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41296 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41297 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41298 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41299 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41300 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41301 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41303 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41304 loop to 256 bytes instead of 64 bytes and fix test signedness.
41306 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41307 * sysdeps/sparc/sparc32/Makefile: rather than here...
41308 * sysdeps/sparc/sparc64/Makefile: and here.
41310 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41312 * malloc/mallocbug.c: Avoid warnings about unused variables.
41314 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41317 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41318 in the right place. Discard and retry query if response is
41319 larger than input buffer size.
41321 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41326 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41327 x for large integer exponent.
41328 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41329 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41330 sign of result as needed afterwards.
41331 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41332 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41333 result for underflowing pow the same as for overflow.
41334 (__kernel_standard_l): Handle powl overflow and underflow here
41335 rather than calling __kernel_standard.
41336 * math/libm-test.inc (pow_test): Add more tests.
41351 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41352 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41353 (__kernel_standard_l): New function.
41354 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41356 * math/w_acosl.c (__acosl): Likewise.
41357 * math/w_asinl.c (__asinl): Likewise.
41358 * math/w_atan2l.c (__atan2l): Likewise.
41359 * math/w_atanhl.c (__atanhl): Likewise.
41360 * math/w_coshl.c (__coshl): Likewise.
41361 * math/w_exp10l.c (__exp10l): Likewise.
41362 * math/w_exp2l.c (__exp2l): Likewise.
41363 * math/w_fmodl.c (__fmodl): Likewise.
41364 * math/w_hypotl.c (__hypotl): Likewise.
41365 * math/w_j0l.c (__j0l, __y0l): Likewise.
41366 * math/w_j1l.c (__j1l, __y1l): Likewise.
41367 * math/w_jnl.c (__jnl, __ynl): Likewise.
41368 * math/w_lgammal.c (__lgammal): Likewise.
41369 * math/w_log10l.c (__log10l): Likewise.
41370 * math/w_log2l.c (__log2l): Likewise.
41371 * math/w_logl.c (__logl): Likewise.
41372 * math/w_powl.c (__powl): Likewise.
41373 * math/w_remainderl.c (__remainderl): Likewise.
41374 * math/w_scalbl.c (sysv_scalbl): Likewise.
41375 * math/w_sinhl.c (__sinhl): Likewise.
41376 * math/w_sqrtl.c (__sqrtl): Likewise.
41377 * math/w_tgammal.c (__tgammal): Likewise.
41378 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41379 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41380 * math/libm-test.inc (acos_test): Add more tests.
41381 (acosh_test): Likewise.
41382 (asin_test): Likewise.
41383 (atanh_test): Likewise.
41384 (exp_test): Likewise.
41385 (exp10_test): Likewise.
41386 (exp2_test): Likewise.
41387 (expm1_test): Likewise.
41388 (lgamma_test): Likewise.
41389 (log_test): Likewise.
41390 (log10_test): Likewise.
41391 (log1p_test): Likewise.
41392 (log2_test): Likewise.
41393 (pow_test): Do not allow some spurious overflow exceptions.
41394 (sqrt_test): Add more tests.
41395 (tgamma_test): Likewise.
41396 (y0_test): Likewise.
41397 (y1_test): Likewise.
41398 (yn_test): Likewise.
41400 2012-03-27 Anton Blanchard <anton@samba.org>
41402 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41408 2012-03-27 David S. Miller <davem@davemloft.net>
41410 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41412 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41413 have-as-vis3 check.
41415 2012-03-27 Andreas Jaeger <aj@suse.de>
41417 * sysdeps/x86_64/elf/configure.in: Moved to ...
41418 * sysdeps/x86_64/configure.in: ... here.
41419 * sysdeps/x86_64/elf/start.S: Moved to ...
41420 * sysdeps/x86_64/start.S: ... here.
41421 * sysdeps/x86_64/elf/configure: Delete.
41423 * sysdeps/x86_64/configure.in: Merge contents from
41424 sysdeps/i386/configure.in (without i686 check).
41426 * sysdeps/i386/elf/Versions: Merge into ...
41427 * sysdeps/i386/Versions: ... this.
41428 * sysdeps/i386/elf/Versions: Delete file.
41429 * sysdeps/i386/elf/start.S: Moved to ...
41430 * sysdeps/i386/start.S: ...here.
41431 * sysdeps/i386/elf/configure.in: Merge into...
41432 * sysdeps/i386/configure.in: ...here.
41433 * sysdeps/i386/elf/configure.in: Delete file.
41434 * sysdeps/i386/elf/configure: Delete file.
41436 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41437 * debug/backtracesyms.c: ... here.
41438 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41439 * debug/backtracesymsfd.c: ... here.
41440 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41441 * sysdeps/generic/ifunc-sel.h: ... here.
41443 * sysdeps/unix/i386/start.c: Delete file.
41444 * sysdeps/unix/sparc/start.c: Delete file.
41445 * sysdeps/unix/start.c: Delete file.
41447 * sysdeps/sh/elf/configure.in: Moved to ...
41448 * sysdeps/sh/configure.in: ... here.
41449 * sysdeps/sh/elf/start.S: Moved to ...
41450 * sysdeps/sh/start.S: ... here.
41451 * sysdeps/sh/elf/configure: Delete file.
41453 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41454 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41455 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41456 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41457 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41458 * sysdeps/powerpc/powerpc64/start.S: here.
41459 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41460 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41461 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41462 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41463 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41465 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41466 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41467 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41468 * sysdeps/powerpc/powerpc32/start.S: ... here.
41469 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41470 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41471 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41473 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41474 * sysdeps/powerpc/ifunc-sel.h: ... here.
41475 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41476 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41478 * sysdeps/sparc/elf/configure.in: Moved to ...
41479 * sysdeps/sparc/configure.in: ... here.
41480 * sysdeps/sparc/elf/configure: Delete file.
41481 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41482 * sysdeps/sparc/sparc32/start.S: ... here.
41483 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41484 * sysdeps/sparc/sparc64/start.S: ... here.
41485 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41486 * sysdeps/sparc/sparc32/Makefile: ... this.
41487 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41488 * sysdeps/sparc/sparc64/Makefile: ... this.
41490 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41491 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41492 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41493 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41494 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41495 * sysdeps/s390/s390-32/setjmp.S: ... here.
41496 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41497 * sysdeps/s390/s390-32/configure.in: ... here.
41498 * sysdeps/s390/s390-32/elf/configure: Delete file.
41499 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41500 * sysdeps/s390/s390-32/start.S: ... here.
41502 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41503 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41504 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41505 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41506 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41507 * sysdeps/s390/s390-64/setjmp.S: ... here.
41508 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41509 * sysdeps/s390/s390-64/configure.in: ... here
41510 * sysdeps/s390/s390-64/elf/configure: Delete file.
41511 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41512 * sysdeps/s390/s390-64/start.S: ... here.
41513 * sysdeps/s390/s390-64/elf/configure: Delete.
41515 * configure.in: Remove support for elf directories in sysdeps.
41517 * configure: Regenerated.
41518 * sysdeps/i386/configure: Regenerated.
41519 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41520 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41521 * sysdeps/s390/s390-32/configure: Regenerated.
41522 * sysdeps/s390/s390-64/configure: Regenerated.
41523 * sysdeps/sh/configure: Regenerated.
41524 * sysdeps/sparc/configure: Regenerated.
41525 * sysdeps/x86_64/configure: Regenerated.
41527 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41531 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41532 denormal result into account.
41534 2012-03-25 Roland McGrath <roland@hack.frob.com>
41536 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41537 Reported by Allan McRae <allan@archlinux.org>.
41539 2012-03-23 Jeff Law <law@redhat.com>
41541 * nss/getnssent.c (__nss_getent): Fix typo.
41543 2012-03-23 David S. Miller <davem@davemloft.net>
41545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41547 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41549 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41550 to pad to uint64_t for each field.
41551 (dl_tls_index): Replace unsigned long with uint64_t.
41553 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41554 Paul Pluzhnikov <ppluzhnikov@google.com>
41557 * grp/Makefile (otherlibs): Don't set it.
41558 * inet/Makefile (otherlibs): Likewise.
41559 * login/Makefile (otherlibs): Likewise.
41560 * nscd/Makefile (otherlibs): Likewise.
41561 * posix/Makefile (otherlibs): Likewise.
41562 * pwd/Makefile (otherlibs): Likewise.
41563 * rt/Makefile (otherlibs): Likewise.
41564 * sunrpc/Makefile (otherlibs): Likewise.
41565 * nss/Makefile (otherlibs): Likewise.
41566 Add libnss_files to routines and static-only-routines.
41567 ($(objpfx)getent): Remove rule.
41568 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41569 static-only-routines.
41571 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41574 * math/s_cexp.c: Include <float.h>.
41575 (__cexp): Handle exp result overflowing not necessarily
41576 overflowing both real and imaginary parts of result.
41577 * math/s_cexpf.c: Likewise.
41578 * math/s_cexpl.c: Likewise.
41579 * math/libm-test.inc (cexp_test): Add more tests.
41580 * sysdeps/i386/fpu/libm-test-ulps: Update.
41581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41583 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41585 * include/link.h (ELFW): New macro.
41586 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41587 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41591 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41594 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41596 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41598 (struct La_x32_retval): Likewise.
41600 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41602 * sysdeps/x86_64/preconfigure.in: New file.
41603 * sysdeps/x86_64/preconfigure: New generated file.
41605 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41608 * math/e_exp2l.c: Include <float.h>.
41609 (__ieee754_exp2l): Handle overflow and underflow cases
41610 separately. Only pass fractional part of argument to
41612 * math/libm-test.inc (exp2_test): Add more tests.
41614 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41615 negating x to take absolute value.
41616 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41618 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41619 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41621 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41622 computing low part if x was negated.
41623 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41625 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41627 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41628 la_x32_gnu_pltexit.
41629 (pltexit): Cast int_retval to ptrdiff_t.
41630 * elf/tst-auditmod3b.c: Likewise.
41631 * elf/tst-auditmod4b.c: Likewise.
41632 * elf/tst-auditmod5b.c: Likewise.
41633 * elf/tst-auditmod6b.c: Likewise.
41634 * elf/tst-auditmod6c.c: Likewise.
41635 * elf/tst-auditmod7b.c: Likewise.
41637 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41638 and x32_gnu_pltexit.
41640 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41641 __ELF_NATIVE_CLASS.
41642 (La_x32_regs): New macro.
41643 (La_x32_retval): Likewise.
41644 (la_x32_gnu_pltenter): New function prototype.
41645 (la_x32_gnu_pltexit): Likewise.
41647 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41654 * configure.in (libc_cv_cc_nofma): Check for option to disable
41655 generation of FMA instructions.
41656 * configure: Regenerate.
41657 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41658 * sysdeps/ieee754/dbl-64/Makefile: New file.
41659 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41660 Remove brandred-fma4.
41661 (CFLAGS-brandred-fma4.c): Remove.
41662 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41663 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41665 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41668 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41671 LLONG_MAX != LONG_MAX.
41672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41673 (_fitoa_word): Likewise.
41674 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41675 LLONG_MAX != LONG_MAX.
41676 * stdio-common/_itowa.h: Include <_itoa.h>.
41677 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41678 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41679 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41680 only if not defined.
41681 (_ITOA_WORD_TYPE): Likewise.
41682 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41683 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41685 2012-03-21 David S. Miller <davem@davemloft.net>
41687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41689 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41691 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41692 of x86_64 when setting libc_cv_slibdir, libdir and
41694 * sysdeps/unix/sysv/linux/configure: Regenerated.
41696 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41698 * manual/lang.texi (Old Varargs): Remove section.
41699 (How Variadic): Update menu.
41700 (va_start): Do not mention varargs.h.
41702 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41703 Joseph Myers <joseph@codesourcery.com>
41705 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41707 * configure: Regenerated.
41709 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41711 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41712 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41715 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41718 * Makefile (files-for-dist): Remove NOTES.
41719 (NOTES): Remove rule.
41720 * README: Don't refer to NOTES.
41721 * manual/creature.texi: Don't include macros.texi.
41722 * manual/intro.texi (creature.texi): Remove comment referring to
41725 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41726 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41727 * configure: Regenerated.
41728 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41729 LIBC_TRY_CC_OPTION.
41730 (libc_cv_as_i686): Likewise.
41731 (libc_cv_cc_avx): Likewise.
41732 (libc_cv_cc_sse2avx): Likewise.
41733 (libc_cv_cc_fma4): Likewise.
41734 (libc_cv_cc_novzeroupper): Likewise.
41735 * sysdeps/i386/configure: Regenerated.
41738 * sysdeps/i386/fpu/s_cexp.S: Remove.
41739 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41740 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41741 * math/libm-test.inc (cexp_test): Add more tests.
41742 * sysdeps/i386/fpu/libm-test-ulps: Update.
41743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41745 2012-03-21 Allan McRae <allan@archlinux.org>
41747 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41749 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41752 * math/w_exp2.c: Do not include <float.h>.
41753 (o_threshold, u_threshold): Remove.
41754 (__exp2): Calculate result before checking finiteness and calling
41756 * math/w_exp2f.c: Likewise.
41757 * math/w_exp2l.c: Likewise.
41758 * math/libm-test.inc (exp2_test): Require overflow exception for
41762 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41763 range of signed 64-bit integers before using fistpll. Remove
41764 checks for whether integers fit in mantissa bits.
41765 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41766 the range of signed 32-bit integers before using fistpl. Remove
41767 checks for whether integers fit in mantissa bits.
41768 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41769 (__ieee754_powl): Test for y outside the range of signed 64-bit
41770 integers before using fistpll. Reduce 64-bit values to 63-bit
41772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41773 divide-by-zero is raised for zero to large negative powers.
41774 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41775 (__ieee754_powl): Test for y outside the range of signed 64-bit
41776 integers before using fistpll. Reduce 64-bit values to 63-bit
41778 * math/libm-test.inc (pow_test): Add more tests.
41780 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41782 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41783 <stdio-common/_itoa.h>.
41784 * debug/segfault.c: Likewise.
41785 * elf/dl-cache.c: Likewise.
41786 * elf/dl-minimal.c: Likewise.
41787 * elf/dl-misc.c: Likewise.
41788 * elf/dl-sysdep.c: Likewise.
41789 * elf/dl-version.c: Likewise.
41790 * elf/rtld.c: Likewise.
41791 * hurd/hurdsock.c: Likewise.
41792 * hurd/lookup-retry.c: Likewise.
41793 * malloc/malloc.c: Likewise.
41794 * malloc/mtrace.c: Likewise.
41795 * nscd/nscd_getgr_r.c: Likewise.
41796 * nscd/nscd_getpw_r.c: Likewise.
41797 * nscd/nscd_getserv_r.c: Likewise.
41798 * posix/getopt_init.c: Likewise.
41799 * posix/wordexp.c: Likewise.
41800 * stdio-common/_itoa.c: Likewise.
41801 * stdio-common/printf_fphex.c: Likewise.
41802 * stdio-common/vfprintf.c: Likewise.
41803 * string/_strerror.c: Likewise.
41804 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41805 * sysdeps/i386/i686/hp-timing.h: Likewise.
41806 * sysdeps/mach/_strerror.c: Likewise.
41807 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41808 * sysdeps/mach/hurd/sethostid.c: Likewise.
41809 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41810 * sysdeps/mach/xpg-strerror.c: Likewise.
41811 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41812 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41813 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41814 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41815 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41816 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41817 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41818 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41819 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41820 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41821 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41822 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41823 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41824 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41825 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41826 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41827 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41828 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41829 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41830 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41831 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41833 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41835 * stdio-common/_itoa.h: Moved to ...
41836 * sysdeps/generic/_itoa.h: Here.
41838 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41840 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41841 instead of "_itoa.h" and "_itowa.h".
41842 * stdio-common/vfprintf.: Likewise.
41844 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41846 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41848 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41849 (__signbit): Likwise.
41850 (llrintf): Likwise.
41853 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41855 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41858 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41860 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41861 OVERFLOW_EXCEPTION_OK.
41862 * math/libm-test.inc ("Philosophy"): Update comment about
41864 (OVERFLOW_EXCEPTION): Define.
41865 (OVERFLOW_EXCEPTION_OK): Likewise.
41866 (INVALID_EXCEPTION_OK): Renumber.
41867 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41868 (IGNORE_ZERO_INF_SIGN): Likewise.
41869 (test_exceptions): Handle FE_OVERFLOW.
41870 (exp10_test): Expect overflow exceptions.
41871 (exp2_test): Likewise.
41872 (expm1_test): Likewise.
41873 (nextafter_test): Likewise.
41874 (pow_test): Likewise.
41875 (scalbn_test): Likewise.
41876 (scalbln_test): Likewise.
41878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/x86_64/bits/atomic.h
41881 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41883 (atomic_exchange_acq): Likewise.
41884 (__arch_exchange_and_add_body): Likewise.
41885 (__arch_add_body): Likewise.
41886 (atomic_add_negative): Likewise.
41887 (atomic_add_zero): Likewise.
41889 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41891 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41892 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41894 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41896 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41897 Check __x86_64__ instead of __WORDSIZE.
41899 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41901 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41903 2012-03-19 David S. Miller <davem@davemloft.net>
41905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41907 * sysdeps/sparc/fpu/fenv_private.h: New file.
41908 * sysdeps/sparc/fpu/math_private.h: Use it.
41909 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41911 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41912 (libc_feholdexcept_setroundl): Remove.
41913 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41915 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41916 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41918 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41920 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41921 int64_t instead of long int.
41922 (INSERT_WORDS64): Likwise.
41924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41926 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41927 _Unwind_GetCFA return to _Unwind_Ptr first.
41929 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41932 * math/s_clog.c: Include <float.h>.
41933 (__clog): Scale large or subnormal inputs.
41934 * math/s_clogf.c: Likewise.
41935 * math/s_clogl.c: Likewise.
41936 * math/s_clog10.c: Include <float.h>.
41937 (M_LOG10_2): Define.
41938 (__clog10): Scale large or subnormal inputs.
41939 * math/s_clog10f.c: Likewise.
41940 * math/s_clog10l.c: Likewise.
41941 * math/libm-test.inc (clog_test): Add more tests.
41942 (clog10_test): Likewise.
41943 * sysdeps/i386/fpu/libm-test-ulps: Update.
41944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41947 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41949 * math/libm-test.inc (atan2_test): Add another test.
41951 * Makerules (common-objdir-compile): Remove.
41952 * sysdeps/unix/Makefile (config-generated): Do not add
41953 $(unix-generated) to variable.
41954 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41955 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41957 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41959 [generic bits/local_lim.h] (before-compile): Do not append to
41961 [generic bits/local_lim.h] (common-generated): Likewise.
41962 [generic sys/param.h] (before-compile): Do not append to variable.
41963 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41964 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41966 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41968 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41969 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41970 [generic sys/param.h] ($(addprefix
41971 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41972 [generic sys/param.h] (common-generated): Do not append to
41974 [generic sys/param.h] (sysdep_headers): Likewise.
41975 [generic bits/errno.h] (before-compile): Do not append to
41977 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41979 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41980 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41981 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41982 [generic bits/errno.h] (common-generated): Do not append to
41984 [generic bits/ioctls.h] (before-compile): Do not append to
41986 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41988 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41989 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41990 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41992 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41993 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41994 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41995 [generic bits/ioctls.h] (common-generated): Do not append to
41997 [generic sys/syscall.h] (syscall.h): Remove variable.
41998 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42000 [generic sys/syscall.h] (before-compile): Do not append to
42002 [generic sys/syscall.h] (common-generated): Likewise.
42003 * sysdeps/unix/errnos-tmpl.c: Remove file.
42004 * sysdeps/unix/errnos.awk: Likewise.
42005 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42006 * sysdeps/unix/ioctls.awk: Likewise.
42007 * sysdeps/unix/mk-local_lim.c: Likewise.
42008 * sysdeps/unix/snarf-ioctls: Likewise.
42010 2012-03-19 Richard Henderson <rth@twiddle.net>
42012 * sysdeps/i386/fpu/fenv_private.h: New file.
42013 * sysdeps/i386/fpu/math_private.h: Use it.
42014 (math_opt_barrier, math_force_eval): Remove.
42015 (libc_feholdexcept_setround_53bit): Remove.
42016 (libc_feupdateenv_53bit): Remove.
42017 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42018 (math_opt_barrier, math_force_eval): Remove.
42019 (libc_feholdexcept): Remove.
42020 (libc_feholdexcept_setround): Remove.
42021 (libc_fetestexcept, libc_fesetenv): Remove.
42022 (libc_feupdateenv_test): Remove.
42023 (libc_feupdateenv, libc_feholdsetround): Remove.
42024 (libc_feresetround): Remove.
42026 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42027 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42029 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42030 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42031 (libc_feupdateenv_testl): New.
42032 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42033 (libc_feupdateenv_testf): New.
42034 (libc_feupdateenv): Use libc_feupdateenv_test.
42035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42038 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42039 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42040 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42041 (libc_feresetround_noex): New.
42042 (libc_feresetround_noexf): New.
42043 (libc_feresetround_noexl): New.
42044 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42045 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42046 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42047 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42052 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42053 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42054 SET_RESTORE_ROUND_NOEX.
42055 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42056 SET_RESTORE_ROUND_NOEXF.
42057 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42058 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42059 (libc_feholdsetroundf): New.
42060 (libc_feresetround, libc_feresetroundf): New.
42062 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42063 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42064 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42066 * sysdeps/generic/math_private.h: Include <fenv.h>.
42067 (default_libc_feholdexcept): New.
42068 (default_libc_feholdexcept_setround): New.
42069 (default_libc_fesetenv, default_libc_feupdateenv): New.
42070 (libc_feholdexcept): Only define if undefined.
42071 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42072 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42073 (libc_feholdexcept_setroundl): Likewise.
42074 (libc_feholdexcept_setround_53bit): Likewise.
42075 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42076 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42077 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42078 (libc_feupdateenv_53bit): Likewise.
42079 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42080 (libc_feholdexcept): Convert from macro to inline function.
42081 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42082 (libc_fesetenv, libc_feupdateenv): Likewise.
42084 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42085 not previously defined.
42086 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42087 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42088 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42089 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42090 * sysdeps/ieee754/flt-32/math_private.h: New file.
42091 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42092 math_private.h below SET_FLOAT_WORD.
42093 (__isnan, __isinf_ns, __finite): Remove.
42094 (__isnanf, __isinf_nsf, __finitef): Remove.
42096 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42100 2012-03-17 David S. Miller <davem@davemloft.net>
42103 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42106 2012-03-16 David S. Miller <davem@davemloft.net>
42108 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42112 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42114 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42115 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42116 sysdep_routines when subdir is sysvipc.
42117 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42118 __getshmlba helper.
42120 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42124 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42130 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42131 (__lround): Renamed to ...
42132 (__llround): This. Replace long int with long long int.
42133 Define lround functions as aliases of llround functions.
42134 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42138 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42139 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42140 adresses to uintptr_t. Replace "long int" and "unsigned long
42141 int" with "greg_t" on va_arg.
42143 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42145 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42146 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42148 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42149 Move e_machine check before EI_CLASS check. Handle x32
42150 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42151 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42152 SKIP_EM_IA_64 and include
42153 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42155 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42156 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42157 (add_system_dir): New macro.
42159 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42160 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42162 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42173 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42175 * math/w_j0f.c (j0f): Likewise.
42177 * math/w_j0l.c (__j0l): Likewise.
42179 * math/w_j1.c (j1): Likewise.
42181 * math/w_j1f.c (j1f): Likewise.
42183 * math/w_j1l.c (__j1l): Likewise.
42185 * math/w_jn.c (jn): Likewise.
42187 * math/w_jnf.c (jnf): Likewise.
42189 * math/w_jnl.c (__jnl): Likewise.
42191 * math/libm-test.inc (j0_test): Add more tests.
42192 (j1_test): Likewise.
42193 (jn_test): Likewise. Add trailing semicolon to existing test.
42194 (y0_test): Likewise.
42195 (y1_test): Likewise.
42196 * sysdeps/i386/fpu/libm-test-ulps: Update.
42197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42202 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42203 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42204 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42205 (__tanl): Set errno for infinite argument.
42206 * sysdeps/i386/fpu/mptan.c: Remove.
42207 * sysdeps/i386/fpu/s_tan.S: Likewise.
42208 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42209 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42210 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42211 * math/libm-test.inc (tan_test): Add more tests and enable more
42212 tests for double and long double.
42213 * sysdeps/i386/fpu/libm-test-ulps: Update.
42214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42216 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42218 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42219 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42221 2012-03-16 Roland McGrath <roland@hack.frob.com>
42223 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42224 * configure.in: Use it for both main tree and add-ons.
42225 * configure: Regenerated.
42227 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42229 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42231 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42233 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42237 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42238 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42243 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42245 != 0 for prec == 2.
42246 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42247 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42248 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42249 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42250 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42251 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42252 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42253 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42254 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42255 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42256 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42257 * math/libm-test.inc (cos_test): Add more tests and enable more
42258 tests for long double.
42259 (sin_test): Likewise.
42260 (sincos_test): Likewise.
42261 * sysdeps/i386/fpu/libm-test-ulps: Update.
42262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42264 2012-03-16 David S. Miller <davem@davemloft.net>
42266 * sysdeps/sparc/fpu/math_private.h: New file.
42268 2012-03-15 David S. Miller <davem@davemloft.net>
42270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42284 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42285 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42287 * sysdeps/sparc/sparc-ifunc.h: New file.
42288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42333 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42335 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42339 2012-03-15 Andreas Jaeger <aj@suse.de>
42342 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42343 ieee754/flt-32 implementation for sin, cos and sincos.
42344 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42345 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42346 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42347 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42348 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42349 ieee754/flt-32 implementation for tan.
42351 * math/libm-test.inc (cos_test): Enable some large input tests for
42353 (sin_test): Likewise.
42354 (sincos_test): Likewise.
42355 (tan_test): Add tests for large input.
42357 * sysdeps/i386/fpu/libm-test-ulps: Update.
42359 2012-03-15 Andreas Jaeger <aj@suse.de>
42362 * math/libm-test.inc (cos_test): Add more test cases.
42363 (sin_test): Likewise.
42364 (sincos_test): Likewise.
42366 2012-03-15 Andreas Jaeger <aj@suse.de>
42369 * math/libm-test.inc (cos_test): Add a test case for large input
42371 (sin_test): Likewise.
42372 (sincos_test): Likewise.
42374 2012-03-15 Andreas Jaeger <aj@suse.de>
42375 Joseph Myers <joseph@codesourcery.com>
42378 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42379 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42380 * sysdeps/i386/fpu/branred.c: Likewise.
42381 * sysdeps/i386/fpu/dosincos.c: Likewise.
42382 * sysdeps/i386/fpu/mpa.c: Likewise.
42383 * sysdeps/i386/fpu/s_cos.S: Likewise.
42384 * sysdeps/i386/fpu/s_sin.S: Likewise.
42385 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42386 * sysdeps/i386/fpu/sincos32.c: Likewise.
42388 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42390 (libc_feupdateenv_53bit): Define.
42391 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42393 (libc_feupdateenv_53bit): Define.
42395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42396 53 bit (without extend i386 double precision).
42398 * math/libm-test.inc (sincos_test): Add tests for large input.
42402 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42404 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42408 2012-03-15 David S. Miller <davem@davemloft.net>
42410 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42411 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42412 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42413 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42438 fmin/fmax sysdep routines.
42439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42441 2012-03-14 David S. Miller <davem@davemloft.net>
42443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42515 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42520 * sysdeps/sparc/configure.in: New file.
42521 * sysdeps/sparc/configure: Generate.
42522 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42523 * configure: Regenerate.
42524 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42525 * config.make.in (have-as-vis3): New.
42526 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42527 available use -Av9d instead of -Av9a.
42528 * sysdeps/sparc/sparc64/Makefile: Likewise.
42529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42544 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42545 fzeros/fnegs to load 0x80000000 into a float register instead of
42547 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42549 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42553 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42554 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42555 ($(inst_includedir)/bits/syscall.h): Remove rule.
42556 ($(objpfx)bits/syscall.d): Include instead of
42557 $(objpfx)syscall-list.d.
42558 (generated): Change syscall-list.h and syscall-list.d to
42559 bits/syscall.h and bits/syscall.d.
42561 2012-03-14 Roland McGrath <roland@hack.frob.com>
42564 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42566 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42569 * math/s_csqrt.c: Include <float.h>.
42570 (__csqrt): Scale large or subnormal inputs.
42571 * math/s_csqrtf.c: Likewise.
42572 * math/s_csqrtl.c: Likewise.
42573 * math/libm-test.inc (csqrt_test): Add more tests.
42574 * sysdeps/i386/fpu/libm-test-ulps: Update.
42575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42578 * math/libm-test.inc (hypot_test): Add more tests.
42580 2012-03-13 David S. Miller <davem@davemloft.net>
42583 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42584 double-precision for the calculation instead of scaling.
42586 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42588 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42589 manipulate bits before adding and subtracting TWO52[sx].
42590 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42593 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42595 2012-03-13 David S. Miller <davem@davemloft.net>
42597 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42598 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42600 rtld-global-offsets.h
42601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42603 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42606 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42608 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42609 'err' in the ifdef scope in which it is actually used.
42611 * nss/nss_db/db-init.c: Include string.h
42613 2012-03-12 David S. Miller <davem@davemloft.net>
42615 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42616 masking out of the most significant byte of random value used.
42617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42618 Fix coding style in previous change.
42620 * sysdeps/unix/sysv/linux/kernel-features.h
42621 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42622 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42624 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42627 2012-03-11 David S. Miller <davem@davemloft.net>
42629 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42630 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42631 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42632 for 'resultvar' otherwise things get truncated on 64-bit.
42634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42635 Fix masking out of the most significant byte of random value used.
42637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42639 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42643 2012-03-09 David S. Miller <davem@davemloft.net>
42645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42646 variables with appropriate CPP guards.
42647 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42648 from the frame pointer, not the stack pointer. Correct layout
42649 comments. Fix test on resulting framesize and the management of
42650 the outregs buffer for pltexit. Preserve floating point return
42651 values across _dl_call_pltexit call.
42652 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42653 framesize and the management of the outregs buffer for pltexit.
42654 Preserve floating point return values across _dl_call_pltexit
42656 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42657 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42658 (la_sparc64_gnu_pltexit): New functions.
42659 (print_exit): Fix format string for return register value.
42661 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42663 * sunrpc/Makefile (others): Add rpcgen.
42664 ($(objpfx)rpcgen): Remove special build rule and dependency on
42666 * sunrpc/rpcgen.c: New file.
42668 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42671 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42672 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42673 * sysdeps/i386/crti.S: Likewise.
42674 * sysdeps/i386/crtn.S: Likewise.
42675 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42676 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42677 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42678 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42679 * sysdeps/sh/crti.S: Likewise.
42680 * sysdeps/sh/crtn.S: Likewise.
42681 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42684 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42686 * locale/programs/locfile-kw.gperf: Likewise.
42687 * locale/programs/charmap-kw.h: Regenerated.
42688 * locale/programs/locfile-kw.h: Likewise.
42691 * intl/plural.y: Replace FSF snail mail address with URL.
42692 * intl/plural.c: Regenerated.
42694 2012-03-09 Richard Henderson <rth@twiddle.net>
42696 * include/math_private.h: Remove file.
42697 * math/math_private.h: Move file ...
42698 * sysdeps/generic/math_private.h: ... here.
42700 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42701 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42702 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42704 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42705 and <math_private.h>.
42706 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42707 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42708 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42709 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42710 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42722 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42724 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42725 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42727 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42728 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42730 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42731 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42732 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42733 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42734 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42736 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42738 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42739 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42742 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42743 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42744 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42746 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42747 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42749 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42750 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42751 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42752 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42753 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42755 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42756 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42758 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42760 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42764 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42765 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42766 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42767 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42769 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42770 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42771 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42772 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42773 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42798 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42799 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42801 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42805 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42806 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42807 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42808 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42809 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42814 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42816 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42817 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42818 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42819 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42820 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42822 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42823 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42824 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42826 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42827 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42828 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42829 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42830 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42832 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42833 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42834 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42835 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42836 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42838 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42839 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42840 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42841 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42842 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42843 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42844 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42845 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42846 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42848 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42849 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42850 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42854 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42855 * sysdeps/ieee754/k_standard.c: Likewise.
42856 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42857 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42860 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42862 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42863 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42864 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42865 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42866 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42868 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42869 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42873 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42883 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42889 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42893 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42894 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42895 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42896 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42897 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42898 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42900 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42901 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42907 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42908 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42909 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42910 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42911 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42912 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42913 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42917 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42918 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42919 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42922 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42923 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42971 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42978 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42983 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42988 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43004 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43005 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43006 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43016 * sysdeps/ieee754/s_lib_version.c: Likewise.
43017 * sysdeps/ieee754/s_matherr.c: Likewise.
43018 * sysdeps/ieee754/s_signgam.c: Likewise.
43019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43021 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43022 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43023 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43024 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43025 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43026 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43027 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43028 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43029 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43030 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43031 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43032 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43033 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43035 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43036 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43041 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43043 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43044 * sunrpc/rpc_main.c: Likewise.
43045 * sunrpc/rpc_svcout.c: Likewise.
43047 2012-03-09 David S. Miller <davem@davemloft.net>
43049 * include/math_private.h: New file.
43051 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43053 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43054 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43055 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43056 from <bits/socket_type.h>.
43057 (enum __socket_type): Don't define here.
43058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43060 bits/socket_type.h.
43063 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43064 checking __USE_GNU.
43066 * Makerules ($(inst_includedir)/%.h): New rule.
43067 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43068 (install-others): Remove variable setting.
43069 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43071 2012-03-08 Richard Henderson <rth@twiddle.net>
43073 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43074 from macro to inline function; merge with the
43075 !__LIBC_INTERNAL_MATH_INLINES version.
43076 (__ieee754_sqrtf): Likewise.
43078 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43079 to inline function.
43080 (__rintf, __floor, __floorf): Likewise.
43082 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43083 macro to inline function.
43084 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43087 not <math/math_private.h>.
43089 2012-03-08 David S. Miller <davem@davemloft.net>
43091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43093 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43095 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43097 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43099 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43100 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43102 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43104 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43105 be defined individually, they must be defined as a block. Define
43106 S for printing a string instead of hidint the different by using a
43107 macro for adding the 'l'.
43108 * stdio-common/tst-fphex-wide.c: Adjust.
43110 2012-03-07 Marek Polacek <polacek@redhat.com>
43112 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43114 2012-03-08 Marek Polacek <polacek@redhat.com>
43117 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43118 * stdio-common/tst-fphex.c: Define a few macros to make the
43119 test reusable. Use them.
43120 * stdio-common/tst-fphex-wide.c: New file.
43122 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43125 * manual/macros.texi (gnusystems): New macro.
43126 (nongnusystems): Likewise.
43127 (gnulinuxhurdsystems): Likewise.
43128 (gnuhurdsystems): Likewise..
43129 (gnulinuxsystems): Likewise.
43130 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43131 variants of the GNU system, not "GNU system".
43132 * manual/conf.texi: Likewise.
43133 * manual/errno.texi: Likewise. Update example of errno macro
43135 * manual/filesys.texi: Likewise.
43136 (getumask): Document as specific to GNU/Hurd.
43137 * manual/install.texi: Likewise. Reword some references to
43139 * manual/intro.texi: Likewise.
43140 * manual/io.texi: Likewise.
43141 (File Name Portability): Detail which constraints are inapplicable
43142 to all GNU systems and which are only inapplicable to GNU/Hurd.
43143 * manual/job.texi: Likewise.
43144 * manual/llio.texi: Likewise.
43145 (O_NOCTTY): Document as present on GNU/Linux.
43146 * manual/maint.texi: Likewise.
43147 * manual/memory.texi: Likewise.
43148 * manual/pattern.texi: Likewise.
43149 * manual/pipe.texi: Likewise.
43150 * manual/process.texi: Likewise.
43151 * manual/resource.texi: Likewise.
43152 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43154 * manual/setjmp.texi: Likewise.
43155 * manual/signal.texi: Likewise.
43156 * manual/startup.texi: Likewise.
43157 * manual/stdio.texi: Likewise.
43158 * manual/terminal.texi: Likewise.
43159 (ONLCR): Document as POSIX.
43160 (OXTABS): Document availability on GNU/Linux as XTABS.
43161 (ONOEOT): Document availability separately from other bits.
43162 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43163 * manual/time.texi: Likewise.
43164 * manual/users.texi: Likewise.
43165 * INSTALL: Regenerated.
43166 * sysdeps/gnu/errlist.c: Regenerated.
43168 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43169 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43170 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43172 * configure: Regenerated.
43174 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43176 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43177 default includes instead of AC_HEADER_CHECK.
43178 * sysdeps/i386/configure: Regenerated.
43181 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43182 * math/s_cacoshf.c (__cacoshf): Likewise.
43183 * math/s_cacoshl.c (__cacoshl): Likewise.
43184 * math/s_casinh.c (__casinh): Set signs of result from argument.
43185 * math/s_casinhf.c (__casinhf): Likewise.
43186 * math/s_casinhl.c (__casinhl): Likewise.
43187 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43188 (casinh_test): Add more tests.
43189 * sysdeps/i386/fpu/libm-test-ulps: Update.
43190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43192 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43194 * po/zh_TW.po: Update from translation team.
43196 * login/Makefile (distribute): Remove variable.
43197 * catgets/Makefile: Likewise.
43198 * mach/Makefile: Likewise.
43199 * malloc/Makefile: Likewise.
43200 * misc/Makefile: Likewise.
43201 * iconv/Makefile: Likewise.
43202 * nscd/Makefile: Likewise.
43203 * hurd/Makefile: Likewise.
43204 * manual/Makefile: Likewise.
43205 * locale/Makefile: Likewise.
43206 * intl/Makefile: Likewise.
43207 * conform/Makefile: Likewise.
43208 * nss/Makefile: Likewise.
43209 * time/Makefile: Likewise.
43210 * soft-fp/Makefile: Likewise.
43211 * dirent/Makefile: Likewise.
43212 * gmon/Makefile: Likewise.
43213 * po/Makefile: Likewise.
43214 * rt/Makefile: Likewise.
43215 * socket/Makefile: Likewise.
43216 * math/Makefile: Likewise.
43217 * signal/Makefile: Likewise.
43218 * debug/Makefile: Likewise.
43219 * elf/Makefile: Likewise.
43220 * timezone/Makefile: Likewise.
43221 * stdlib/Makefile: Likewise.
43222 * iconvdata/Makefile: Likewise.
43223 * sunrpc/Makefile: Likewise.
43224 * io/Makefile: Likewise.
43225 * argp/Makefile: Likewise.
43226 * inet/Makefile: Likewise.
43227 * hesiod/Makefile: Likewise.
43228 * grp/Makefile: Likewise.
43229 * csu/Makefile: Likewise.
43230 * wctype/Makefile: Likewise.
43231 * crypt/Makefile: Likewise.
43232 * libio/Makefile: Likewise.
43233 * string/Makefile: Likewise.
43234 * nis/Makefile: Likewise.
43235 * resolv/Makefile: Likewise.
43236 * stdio-common/Makefile: Likewise.
43237 * wcsmbs/Makefile: Likewise.
43238 * dlfcn/Makefile: Likewise.
43239 * posix/Makefile: Likewise.
43242 * timezone/Makefile: Don't install timezone files, just the programs
43245 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43247 * nss/databases.def: Add missing gshadow entry.
43249 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43251 2012-03-06 Marek Polacek <polacek@redhat.com>
43254 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43255 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43256 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43257 * stdio-common/tst-long-dbl-fphex.c: New file.
43259 2012-03-06 David S. Miller <davem@davemloft.net>
43261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43262 (set_obp_int): New function.
43263 (get_obp_int): New function.
43264 (__get_clockfreq_via_dev_openprom): Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43266 Avoid unused variable warnings on 'val' and use builtin_expect.
43267 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43269 (INLINE_CLONE_SYSCALL): Likewise.
43271 2012-03-05 David S. Miller <davem@davemloft.net>
43273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43275 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43280 only for |x| >= 40.
43281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43283 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43286 Replace gettimeofday with __vdso_gettimeofday.
43288 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43289 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43290 __vdso_clock_gettime and __vdso_getcpu.
43292 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43293 time with __vdso_time.
43295 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43297 * manual/lang.texi (size_t): Note types to which size_t may be
43298 equivalent with the GNU C Library, but do not describe when
43299 differences between them are significant.
43301 2012-03-05 Andreas Jaeger <aj@suse.de>
43303 * sysdeps/i386/fpu/libm-test-ulps: Update.
43305 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43308 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43309 (__ieee754_pow): Save and restore rounding mode and use
43310 round-to-nearest for main computations.
43311 * math/libm-test.inc (pow_test_tonearest): New function.
43312 (pow_test_towardzero): Likewise.
43313 (pow_test_downward): Likewise.
43314 (pow_test_upward): Likewise.
43315 (main): Call the new functions.
43316 * sysdeps/i386/fpu/libm-test-ulps: Update.
43317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43320 * math/libm-test.inc (cosh_test_tonearest): New function.
43321 (cosh_test_towardzero): Likewise.
43322 (cosh_test_downward): Likewise.
43323 (cosh_test_upward): Likewise.
43324 (sinh_test_tonearest): Likewise.
43325 (sinh_test_towardzero): Likewise.
43326 (sinh_test_downward): Likewise.
43327 (sinh_test_upward): Likewise.
43328 (main): Call the new functions.
43329 * sysdeps/i386/fpu/libm-test-ulps: Update.
43330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43332 2012-03-05 Tom de Vries <tom@codesourcery.com>
43334 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43335 default stack guard is set in last bytes.
43336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43338 2012-03-05 Kees Cook <keescook@chromium.org>
43340 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43343 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43344 possibly allocate from heap instead of stack.
43345 * stdio-common/bug-vfprintf-nargs.c: New file.
43346 * stdio-common/Makefile (tests): Add nargs overflow test.
43348 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43352 2012-03-03 Marek Polacek <polacek@redhat.com>
43354 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43355 * math/math_private.h: Likewise.
43356 * stdlib/tst-strtod.c: Likewise.
43357 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43358 * sysdeps/x86_64/bits/atomic.h: Likewise.
43360 2012-03-02 David S. Miller <davem@davemloft.net>
43362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43366 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43367 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43368 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43369 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43371 2012-03-02 Roland McGrath <roland@hack.frob.com>
43374 * manual/examples/README: New file, says the example source files
43375 can be used under GPL>=2.
43376 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43377 line containing just "*/".
43378 * manual/examples/add.c: Add copyright header (GPL>=2).
43379 * manual/examples/argp-ex1.c: Likewise.
43380 * manual/examples/argp-ex2.c: Likewise.
43381 * manual/examples/argp-ex3.c: Likewise.
43382 * manual/examples/argp-ex4.c: Likewise.
43383 * manual/examples/atexit.c: Likewise.
43384 * manual/examples/db.c: Likewise.
43385 * manual/examples/dir.c: Likewise.
43386 * manual/examples/dir2.c: Likewise.
43387 * manual/examples/execinfo.c: Likewise.
43388 * manual/examples/filecli.c: Likewise.
43389 * manual/examples/filesrv.c: Likewise.
43390 * manual/examples/fmtmsgexpl.c: Likewise.
43391 * manual/examples/genpass.c: Likewise.
43392 * manual/examples/inetcli.c: Likewise.
43393 * manual/examples/inetsrv.c: Likewise.
43394 * manual/examples/isockad.c: Likewise.
43395 * manual/examples/longopt.c: Likewise.
43396 * manual/examples/memopen.c: Likewise.
43397 * manual/examples/memstrm.c: Likewise.
43398 * manual/examples/mkfsock.c: Likewise.
43399 * manual/examples/mkisock.c: Likewise.
43400 * manual/examples/mygetpass.c: Likewise.
43401 * manual/examples/pipe.c: Likewise.
43402 * manual/examples/popen.c: Likewise.
43403 * manual/examples/rprintf.c: Likewise.
43404 * manual/examples/search.c: Likewise.
43405 * manual/examples/select.c: Likewise.
43406 * manual/examples/setjmp.c: Likewise.
43407 * manual/examples/sigh1.c: Likewise.
43408 * manual/examples/sigusr.c: Likewise.
43409 * manual/examples/stpcpy.c: Likewise.
43410 * manual/examples/strdupa.c: Likewise.
43411 * manual/examples/strftim.c: Likewise.
43412 * manual/examples/strncat.c: Likewise.
43413 * manual/examples/subopt.c: Likewise.
43414 * manual/examples/swapcontext.c: Likewise.
43415 * manual/examples/termios.c: Likewise.
43416 * manual/examples/testopt.c: Likewise.
43417 * manual/examples/testpass.c: Likewise.
43418 * manual/examples/timeval_subtract.c: Likewise.
43421 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43423 * manual/timeval_subtract.c.texi: ... here, new file.
43425 2012-03-02 David S. Miller <davem@davemloft.net>
43427 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43429 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43432 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43433 (__sin): Save and restore rounding mode and use round-to-nearest
43434 for all computations.
43435 (__cos): Save and restore rounding mode and use round-to-nearest
43436 for all computations.
43437 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43439 (tan): Save and restore rounding mode and use round-to-nearest for
43441 * math/libm-test.inc (cos_test_tonearest): New function.
43442 (cos_test_towardzero): Likewise.
43443 (cos_test_downward): Likewise.
43444 (cos_test_upward): Likewise.
43445 (sin_test_tonearest): Likewise.
43446 (sin_test_towardzero): Likewise.
43447 (sin_test_downward): Likewise.
43448 (sin_test_upward): Likewise.
43449 (tan_test_tonearest): Likewise.
43450 (tan_test_towardzero): Likewise.
43451 (tan_test_downward): Likewise.
43452 (tan_test_upward): Likewise.
43453 (main): Call the new functions.
43454 * sysdeps/i386/fpu/libm-test-ulps: Update.
43455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43458 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43459 small n, then large n, before computing and testing k+n.
43460 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43465 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43466 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43471 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43472 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43473 * math/libm-test.inc (scalbn_test): Add more tests.
43474 (scalbln_test): Likewise.
43476 * manual/filesys.texi (mode_t): Describe constraints on size and
43477 signedness, not exact equivalence to a particular type.
43479 (ino64_t): Likewise.
43481 (nlink_t): Likewise.
43482 (blkcnt_t): Likewise.
43483 (blkcnt64_t): Likewise.
43484 * manual/llio.texi (off_t): Likewise.
43487 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43488 (__ieee754_exp): Save and restore rounding mode and use
43489 round-to-nearest for all computations.
43490 * math/libm-test.inc (exp_test_tonearest): New function.
43491 (exp_test_towardzero): Likewise.
43492 (exp_test_downward): Likewise.
43493 (exp_test_upward): Likewise.
43494 (main): Call the new functions.
43495 * sysdeps/i386/fpu/libm-test-ulps: Update.
43496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43498 2012-03-01 Chris Demetriou <cgd@google.com>
43500 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43501 have predictable order.
43503 2012-03-01 David S. Miller <davem@davemloft.net>
43505 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43507 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43508 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43509 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43510 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43512 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43513 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43514 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43516 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43517 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43518 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43519 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43520 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43524 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43525 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43526 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43528 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43529 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43530 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43531 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43532 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43535 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43536 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43537 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43538 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43539 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43541 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43542 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43544 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43545 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43546 * sysdeps/sparc/elf/configure: Regenerated.
43548 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43550 * configure.in (AS, LD): Require binutils 2.20 or later.
43551 * configure: Regenerated.
43552 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43553 as required minimum version.
43554 * INSTALL: Regenerated.
43558 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43559 before squaring exponent.
43560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43561 bottom long double and 27 bits of top long double before squaring
43563 * math/libm-test.inc (erfc_test): Add more tests.
43564 * sysdeps/i386/fpu/libm-test-ulps: Update.
43565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43568 2012-03-01 Kai Tietz <ktietz@redhat.com>
43570 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43571 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43572 containing bit-fields.
43573 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43574 * soft-fp/single.h (_FP_UNION_S): Likewise.
43575 * soft-fp/double.h (_FP_UNION_D): Likewise.
43577 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43580 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43581 not include ../strcmp.S.
43582 [USE_AS_STRNCASECMP_L]: Likewise.
43583 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43584 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43585 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43586 (__strncasecmp_l_ia32): Define as alias to
43587 __strncasecmp_l_nonascii.
43590 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43591 * sysdeps/i386/fpu/libm-test-ulps: Update.
43592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43594 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43597 2012-02-29 Jeff Law <law@redhat.com>
43599 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43600 out of bounds read.
43602 2012-02-29 Marek Polacek <polacek@redhat.com>
43605 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43606 * elf/Makefile: Add rules to run tst-unused-dep.out.
43608 2012-02-28 David S. Miller <davem@davemloft.net>
43610 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43611 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43613 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43614 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43615 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43617 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43619 * math/libm-test.inc (llround_test): Move one test from
43620 lround_test. Use TEST_f_L in moved test.
43621 (lround_test): Move misplaced test to llround_test. Add testcase
43624 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43626 * sysdeps/x86_64/fpu/e_expf.S: New file.
43627 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43629 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43632 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43633 of remain_len that may cause incomplete multi-byte character and
43635 * posix/bug-regex33.c: New file.
43636 * posix/Makefile (tests): Add bug-regex33.
43638 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43640 * manual/macros.texi: New file.
43641 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43642 * manual/libc.texinfo: Include macros.texi.
43643 * manual/creatute.texi: Likewise.
43644 * manual/install.texi: Likewise.
43645 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43646 @glibcadj{} in references to the GNU C Library.
43647 * manual/charset.texi: Likewise.
43648 * manual/conf.texi: Likewise.
43649 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43650 when not using those macros.
43651 * manual/creature.texi: Likewise.
43652 * manual/crypt.texi: Likewise.
43653 * manual/errno.texi: Likewise.
43654 * manual/filesys.texi: Likewise.
43655 * manual/header.texi: Likewise.
43656 * manual/install.texi: Likewise.
43657 * manual/intro.texi: Likewise.
43658 * manual/io.texi: Likewise.
43659 * manual/job.texi: Likewise.
43660 * manual/lang.texi: Likewise.
43661 * manual/libc.texiinfo: Likewise.
43662 * manual/llio.texi: Likewise.
43663 * manual/locale.texi: Likewise.
43664 * manual/maint.texi: Likewise.
43665 * manual/math.texi: Likewise.
43666 * manual/memory.texi: Likewise.
43667 * manual/message.texi: Likewise.
43668 * manual/nss.texi: Likewise.
43669 * manual/pattern.texi: Likewise.
43670 * manual/process.texi: Likewise.
43671 * manual/resource.texi: Likewise.
43672 * manual/search.texi: Likewise.
43673 * manual/setjmp.texi: Likewise.
43674 * manual/signal.texi: Likewise.
43675 * manual/socket.texi: Likewise.
43676 * manual/startup.texi: Likewise.
43677 * manual/stdio.texi: Likewise.
43678 * manual/string.texi: Likewise.
43679 * manual/sysinfo.texi: Likewise.
43680 * manual/syslog.texi: Likewise.
43681 * manual/terminal.texi: Likewise.
43682 * manual/time.texi: Likewise.
43683 * manual/users.texi: Likewise.
43684 * INSTALL: Regenerated.
43685 * NOTES: Regenerated.
43686 * sysdeps/gnu/errlist.c: Regenerated.
43688 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43690 * include/dirent.h: Include <dirstream.h> before
43693 2012-02-28 David S. Miller <davem@davemloft.net>
43695 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43696 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43697 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43698 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43700 2012-02-27 David S. Miller <davem@davemloft.net>
43702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43704 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43705 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43708 frame pointer instead of stack pointer relative arg slot.
43709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43710 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43711 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43713 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43716 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43718 2012-02-27 David S. Miller <davem@davemloft.net>
43720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43726 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43729 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43731 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43732 later. Allow versions 5-9.
43733 * configure: Regenerated.
43734 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43735 required minimum version and 4.6 as recommended version. Do not
43736 mention bugs in GCC 2.7 and 2.8.
43737 * INSTALL: Regenerated.
43739 2012-02-27 David S. Miller <davem@davemloft.net>
43741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43747 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43748 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43751 manipulate bits before adding and subtracting TWO112[sx].
43752 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43754 2012-02-27 Roland McGrath <roland@hack.frob.com>
43757 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43758 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43759 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43760 being in POSIX, because they are in 1003.1-2008.
43762 * rt/tst-aio.c: Include <fcntl.h>.
43763 * rt/tst-aio7.c: Likewise.
43764 * rt/tst-aio64.c: Likewise.
43766 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43768 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43770 * manual/install.texi (--with-headers): Describe headers as
43771 interface headers, not private headers.
43772 (Specific advice for GNU/Linux systems): Describe use of headers
43773 from "make headers_install", not private headers from older
43775 * INSTALL: Regenerated.
43776 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43778 * sysdeps/unix/sysv/linux/configure: Regenerated.
43780 * manual/llio.texi (fclean): Remove documentation.
43782 * manual/Makefile (libc-texi-generated): New variable. Include
43784 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43785 $(libc-texi-generated), not duplicated list of files.
43786 (version.texi, stamp-version): New rules.
43787 (realclean): Remove $(libc-texi-generated), not individual files
43788 from that list. Do not remove dir-add.texinfo.
43789 * manual/libc.texinfo: Comment out uses of edition numbers and
43790 references to printed manual. Remove last-updated dates.
43791 (EDITION): Comment out.
43793 (VERSION, UPDATED): Remove.
43794 (version.texi): Include.
43796 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43798 * sysdeps/posix/spawni.c: Include <signal.h>.
43799 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43800 * sysdeps/pthread/aio_fsync.c: Likewise.
43802 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43804 * conform/Makefile (tests): Run only when not cross-compiling and
43805 when fast-check is not defined.
43807 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43808 * conform/data/limits.h-data: Fixes for POSIX2008.
43809 * conform/run-conformtest.sh: Run all tests.
43810 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43812 * include/bits/dlfcn.h: Likewise.
43813 * include/langinfo.h: Likewise.
43814 * include/monetary.h: Likewise.
43815 * include/sys/poll.h: Likewise.
43817 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43819 * posix/spawn.h: Define __need_sigset_t.
43820 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43821 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43822 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43823 to get sigevent_t only.
43824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43825 only for __USE_GNU.
43826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43827 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43828 process_vm_writev only for __USE_GNU.
43829 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43831 * conform/Makefile: For now ignore errors from run-conformtest.
43832 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43833 POSIX to avoid namespace pollution. Don't prepend headers.
43834 * conform/data/aio.h-data: Fixes for POSIX testing.
43835 * conform/data/fcntl.h-data: Likewise.
43836 * conform/data/glob.h-data: Likewise.
43837 * conform/data/grp.h-data: Likewise.
43838 * conform/data/pthread.h-data: Likewise.
43839 * conform/data/pwd.h-data: Likewise.
43840 * conform/data/signal.h-data: Likewise.
43841 * conform/data/spawn.h-data: Likewise.
43842 * conform/data/stdio.h-data: Likewise.
43843 * conform/data/stdlib.h-data: Likewise.
43844 * conform/data/stropts.h-data: Likewise.
43845 * conform/data/sys/mman.h-data: Likewise.
43846 * conform/data/sys/stat.h-data: Likewise.
43847 * conform/data/sys/types.h-data: Likewise.
43848 * conform/data/sys/wait.h-data: Likewise.
43849 * conform/data/time.h-data: Likewise.
43850 * conform/data/unistd.h-data: Likewise.
43851 * conform/data/utime.h-data: Likewise.
43853 * io/sys/stat.h: fchmod was always in POSIX.
43854 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43855 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43856 * rt/aio.h: Define __need_timespec before including <time.h>.
43857 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43858 struct. Add forward declaration of pthread_attr_t and use it in
43860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43861 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43862 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43863 always remove CLK_TCK definition.
43865 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43867 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43869 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43871 * conform/run-conformtest.sh: New file.
43872 * conform/Makefile: Run run-conformtest for tests.
43873 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43876 * conform/data/uchar.h-data: New file.
43877 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43878 * conform/data/arpa/inet.h-data: Likewise.
43879 * conform/data/assert.h-data: Likewise.
43880 * conform/data/complex.h-data: Likewise.
43881 * conform/data/cpio.h-data: Likewise.
43882 * conform/data/ctype.h-data: Likewise.
43883 * conform/data/dirent.h-data: Likewise.
43884 * conform/data/dlfcn.h-data: Likewise.
43885 * conform/data/errno.h-data: Likewise.
43886 * conform/data/fcntl.h-data: Likewise.
43887 * conform/data/float.h-data: Likewise.
43888 * conform/data/fmtmsg.h-data: Likewise.
43889 * conform/data/fnmatch.h-data: Likewise.
43890 * conform/data/ftw.h-data: Likewise.
43891 * conform/data/glob.h-data: Likewise.
43892 * conform/data/grp.h-data: Likewise.
43893 * conform/data/iconv.h-data: Likewise.
43894 * conform/data/inttypes.h-data: Likewise.
43895 * conform/data/langinfo.h-data: Likewise.
43896 * conform/data/libgen.h-data: Likewise.
43897 * conform/data/limits.h-data: Likewise.
43898 * conform/data/locale.h-data: Likewise.
43899 * conform/data/math.h-data: Likewise.
43900 * conform/data/monetary.h-data: Likewise.
43901 * conform/data/mqueue.h-data: Likewise.
43902 * conform/data/ndbm.h-data: Likewise.
43903 * conform/data/net/if.h-data: Likewise.
43904 * conform/data/netdb.h-data: Likewise.
43905 * conform/data/netinet/in.h-data: Likewise.
43906 * conform/data/nl_types.h-data: Likewise.
43907 * conform/data/poll.h-data: Likewise.
43908 * conform/data/pthread.h-data: Likewise.
43909 * conform/data/pwd.h-data: Likewise.
43910 * conform/data/regex.h-data: Likewise.
43911 * conform/data/sched.h-data: Likewise.
43912 * conform/data/search.h-data: Likewise.
43913 * conform/data/semaphore.h-data: Likewise.
43914 * conform/data/setjmp.h-data: Likewise.
43915 * conform/data/signal.h-data: Likewise.
43916 * conform/data/spawn.h-data: Likewise.
43917 * conform/data/stdarg.h-data: Likewise.
43918 * conform/data/stdio.h-data: Likewise.
43919 * conform/data/stdlib.h-data: Likewise.
43920 * conform/data/string.h-data: Likewise.
43921 * conform/data/strings.h-data: Likewise.
43922 * conform/data/stropts.h-data: Likewise.
43923 * conform/data/sys/ipc.h-data: Likewise.
43924 * conform/data/sys/mman.h-data: Likewise.
43925 * conform/data/sys/msg.h-data: Likewise.
43926 * conform/data/sys/resource.h-data: Likewise.
43927 * conform/data/sys/select.h-data: Likewise.
43928 * conform/data/sys/sem.h-data: Likewise.
43929 * conform/data/sys/shm.h-data: Likewise.
43930 * conform/data/sys/socket.h-data: Likewise.
43931 * conform/data/sys/stat.h-data: Likewise.
43932 * conform/data/sys/statvfs.h-data: Likewise.
43933 * conform/data/sys/time.h-data: Likewise.
43934 * conform/data/sys/timeb.h-data: Likewise.
43935 * conform/data/sys/times.h-data: Likewise.
43936 * conform/data/sys/types.h-data: Likewise.
43937 * conform/data/sys/uio.h-data: Likewise.
43938 * conform/data/sys/un.h-data: Likewise.
43939 * conform/data/sys/utsname.h-data: Likewise.
43940 * conform/data/sys/wait.h-data: Likewise.
43941 * conform/data/syslog.h-data: Likewise.
43942 * conform/data/tar.h-data: Likewise.
43943 * conform/data/termios.h-data: Likewise.
43944 * conform/data/utime.h-data: Likewise.
43945 * conform/data/utmpx.h-data: Likewise.
43946 * conform/data/varargs.h-data: Likewise.
43947 * conform/data/wchar.h-data: Likewise.
43948 * conform/data/wctype.h-data: Likewise.
43949 * conform/data/wordexp.h-data: Likewise.
43951 * include/stropts.h: New file.
43952 * include/uchar.h: New file.
43953 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43954 * include/assert.h: Likewise.
43955 * include/ctype.h: Likewise.
43956 * include/dirent.h: Likewise.
43957 * include/dlfcn.h: Likewise.
43958 * include/fcntl.h: Likewise.
43959 * include/fnmatch.h: Likewise.
43960 * include/glob.h: Likewise.
43961 * include/grp.h: Likewise.
43962 * include/libio.h: Likewise.
43963 * include/locale.h: Likewise.
43964 * include/math.h: Likewise.
43965 * include/net/if.h: Likewise.
43966 * include/netdb.h: Likewise.
43967 * include/netinet/in.h: Likewise.
43968 * include/pthread.h: Likewise.
43969 * include/pwd.h: Likewise.
43970 * include/regex.h: Likewise.
43971 * include/sched.h: Likewise.
43972 * include/search.h: Likewise.
43973 * include/setjmp.h: Likewise.
43974 * include/signal.h: Likewise.
43975 * include/stdio.h: Likewise.
43976 * include/stdlib.h: Likewise.
43977 * include/string.h: Likewise.
43978 * include/sys/cdefs.h: Likewise.
43979 * include/sys/mman.h: Likewise.
43980 * include/sys/msg.h: Likewise.
43981 * include/sys/resource.h: Likewise.
43982 * include/sys/select.h: Likewise.
43983 * include/sys/socket.h: Likewise.
43984 * include/sys/stat.h: Likewise.
43985 * include/sys/statvfs.h: Likewise.
43986 * include/sys/time.h: Likewise.
43987 * include/sys/times.h: Likewise.
43988 * include/sys/uio.h: Likewise.
43989 * include/sys/utsname.h: Likewise.
43990 * include/sys/wait.h: Likewise.
43991 * include/termios.h: Likewise.
43992 * include/time.h: Likewise.
43993 * include/ulimit.h: Likewise.
43994 * include/unistd.h: Likewise.
43995 * include/utime.h: Likewise.
43996 * include/wchar.h: Likewise.
43997 * include/wctype.h: Likewise.
43998 * include/wordexp.h: Likewise.
44000 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44002 * time/time.h: TIME_UTC must be a macro.
44003 Make timespec_get available for ISO C11 only as well.
44005 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44007 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44008 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44010 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44012 * configure.in: Use -o not -a in test for unsupported multi-arch.
44014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44016 * manual/texinfo.tex: Update to version 2012-01-19.16.
44018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44020 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44022 2012-02-24 Roland McGrath <roland@hack.frob.com>
44025 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44026 * manual/fdl-1.3.texi: New file.
44027 * manual/fdl-1.1.texi: File removed.
44030 * manual/libc.texinfo (FDL_VERSION): New @set.
44031 Use it for mention of FDL in cover text.
44032 (Documentation License): Use it in @include file name.
44034 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44035 Roland McGrath <roland@hack.frob.com>
44038 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44039 (not LONG_LONG_MAX and LONG_LONG_MIN.
44040 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44041 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44043 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44045 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44049 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44050 manipulate bits before adding and subtracting TWO23[sx].
44051 * math/libm-test.inc (nearbyint_test): Add more tests.
44053 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44056 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44057 bits before adding and subtracting TWO23[sx].
44058 * math/libm-test.inc (rint_test): Add more tests.
44059 (rint_test_tonearest): Likewise.
44060 (rint_test_towardzero): Likewise.
44061 (rint_test_downward): Likewise.
44062 (rint_test_upward: Likewise.
44064 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44067 * include/stdc-predef.h: New file. Extracted from features.h.
44068 * include/features.h: Include stdc-predef.h.
44069 * Makefile (headers): Add stdc-predef.h.
44070 * CONFORMANCE (Compiler limitations): Update.
44072 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44074 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44076 2012-02-21 David S. Miller <davem@davemloft.net>
44078 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44079 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44081 2012-02-20 David S. Miller <davem@davemloft.net>
44083 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44084 using a normal save/restore sequence, rather than allocating a
44085 dummy stack frame just to store a frame pointer and restore.
44086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44088 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44090 * manual/install.texi: Fix stray word in line-wrapped comment.
44092 2012-02-20 David S. Miller <davem@davemloft.net>
44094 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44095 both binutils and gcc support GOTDATA.
44097 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44098 "rd %pc" in the PIC register setup sequences.
44100 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44101 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44104 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44109 (SYSCALL_ERROR_HANDLER): Likewise.
44110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44111 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44113 (SYSCALL_ERROR_HANDLER): Likewise.
44115 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44116 (HAVE_GCC_GOTDATA): New.
44117 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44118 relocation support in both binutils and gcc.
44119 * sysdeps/sparc/elf/configure: Regenerate.
44121 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44122 * sysdeps/sparc/sparc32/elf/configure: Delete.
44123 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44124 * sysdeps/sparc/sparc64/elf/configure: Delete.
44125 * sysdeps/sparc/elf/configure.in: New file.
44126 * sysdeps/sparc/elf/configure: Generate.
44128 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44129 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44131 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44132 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44136 * manual/install.texi: Do not mention specific glibc version
44138 * manual/libc.texinfo (VERSION, UPDATED): Update.
44139 (@copying): Use @copyright{} and range of years.
44141 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44144 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44145 [crti.S not in sysdirs] (generated): Do not append.
44146 [crti.S not in sysdirs] (omit-deps): Likewise.
44147 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44148 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44149 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44150 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44151 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44153 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44154 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44155 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44156 * csu/defs.awk: Remove file.
44157 * sysdeps/generic/initfini.c: Likewise.
44158 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44160 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44163 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44165 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44166 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44167 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44168 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44169 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44170 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44172 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44173 (__EPOLL_PACKED): Define to empty if not defined by
44175 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44179 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44181 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44182 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44183 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44184 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44186 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44190 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44192 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44194 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44199 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44201 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44202 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44204 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44206 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44207 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44209 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44211 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44214 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44216 * math/w_acos.c: Use non-signaling floating-point comparisons.
44217 * math/w_acosf.c: Likewise.
44218 * math/w_acosh.c: Likewise.
44219 * math/w_acoshf.c: Likewise.
44220 * math/w_acoshl.c: Likewise.
44221 * math/w_acosl.c: Likewise.
44222 * math/w_asin.c: Likewise.
44223 * math/w_asinf.c: Likewise.
44224 * math/w_asinl.c: Likewise.
44225 * math/w_atanh.c: Likewise.
44226 * math/w_atanhf.c: Likewise.
44227 * math/w_atanhl.c: Likewise.
44228 * math/w_exp2.c: Likewise.
44229 * math/w_exp2f.c: Likewise.
44230 * math/w_exp2l.c: Likewise.
44231 * math/w_j0.c: Likewise.
44232 * math/w_j0f.c: Likewise.
44233 * math/w_j0l.c: Likewise.
44234 * math/w_j1.c: Likewise.
44235 * math/w_j1f.c: Likewise.
44236 * math/w_j1l.c: Likewise.
44237 * math/w_jn.c: Likewise.
44238 * math/w_jnf.c: Likewise.
44239 * math/w_log.c: Likewise.
44240 * math/w_log10.c: Likewise.
44241 * math/w_log10f.c: Likewise.
44242 * math/w_log10l.c: Likewise.
44243 * math/w_log2.c: Likewise.
44244 * math/w_log2f.c: Likewise.
44245 * math/w_log2l.c: Likewise.
44246 * math/w_logf.c: Likewise.
44247 * math/w_logl.c: Likewise.
44248 * math/w_sqrt.c: Likewise.
44249 * math/w_sqrtf.c: Likewise.
44250 * math/w_sqrtl.c: Likewise.
44251 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44252 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44253 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44254 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44255 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44257 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44260 * manual/string.texi (strnlen): Use correct parameter name in
44261 equivalent expression.
44263 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44266 * manual/users.texi (seteuid): Consistently use neweuid for
44269 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44272 * manual/nss.texi (Services in the NSS configuration): Correct
44273 list of services in example configuration file.
44275 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44278 * manual/arith.texi: Remove statements about negative zero
44279 behaving identically to zero.
44281 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44284 * manual/install.texi: Do not document upgrading from libc5.
44286 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44289 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44291 2012-02-18 David S. Miller <davem@davemloft.net>
44293 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44294 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44295 %o7 across the call.
44296 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44299 SETUP_PIC_REG_LEAF.
44300 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44301 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44302 * sysdeps/sparc/crtn.S: Likewise.
44304 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44306 * aout/Makefile: Remove.
44308 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44311 * manual/examples/argp-ex1.c (main): Format definition in GNU
44313 * manual/examples/argp-ex2.c (main): Likewise.
44314 * manual/examples/argp-ex3.c (main): Likewise.
44315 * manual/examples/argp-ex4.c (main): Likewise.
44316 * manual/examples/longopt.c (main): Use new-style prototype
44318 * manual/examples/strncat.c (main): Specify return type and use
44319 (void) for arguments.
44320 * manual/examples/subopt.c (main): Use char **argv argument.
44322 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44325 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44328 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44331 * manual/string.texi (strchr): Change when strchrnul is
44334 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44337 * manual/locale.texi (setlocale): Document LOCPATH.
44339 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44342 * manual/process.texi (execle): Move @dots{} before last argument.
44344 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44347 * manual/charset.texi (Generic Charset Conversion): Fix typo
44348 (LC_TYPE -> LC_CTYPE).
44350 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44353 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44354 (scalbnf): Likewise.
44355 (scalbnl): Likewise.
44356 (scalbln): Likewise.
44357 (scalblnf): Likewise.
44358 (scalblnl): Likewise.
44359 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44360 (vwarnx): Likewise.
44363 * manual/filesys.texi (telldir): Use braces around return type.
44364 * manual/llio.texi (mmap): Add space after comma.
44365 (mmap64): Likewise.
44366 * manual/math.texi (jn): Use @var{} on parameter names.
44372 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44374 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44376 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44377 (sched_get_priority_max): Likewise.
44378 * manual/signal.texi (sigvec): Add space after comma.
44379 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44381 (if_indextoname): Likewise.
44382 (if_freenameindex): Likewise.
44383 (sendto): Use ',' instead of '.' in prototype.
44384 * manual/startup.texi (syscall): Use @dots{} instead of literal
44386 * manual/stdio.texi (__fpending): Separate initial words of
44387 paragraph from @deftypefun line.
44388 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44390 (vsyslog): Use @var{} on parameter names.
44391 * manual/terminal.texi (stty): Use @var{} on parameter names.
44392 * manual/users.texi (getutmp): Use @var{} on parameter names.
44393 (getutmpx): Likewise.
44395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44398 * manual/stdio.texi (fopen): Fix typos in description of
44401 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44404 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44405 get clock_id definition.
44407 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44410 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44411 (madvise): Cast every argument to void on its own.
44413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44416 * manual/startup.texi (Exit Status): Fix typo.
44418 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44421 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44422 * manual/examples/argp-ex2.c: Likewise.
44423 * manual/examples/argp-ex3.c: Likewise.
44425 2012-02-16 Richard Henderson <rth@redhat.com>
44427 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44428 * sysdeps/s390/s390-32/initfini.c: Remove.
44429 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44430 * sysdeps/s390/s390-64/initfini.c: Remove.
44432 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44434 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44435 compiler output for sysdeps/generic/initfini.c.
44436 * sysdeps/sh/elf/initfini.c: Remove file.
44438 2012-02-16 David S. Miller <davem@davemloft.net>
44441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44443 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44444 * sysdeps/sparc/crti.S: New file.
44445 * sysdeps/sparc/crtn.S: New file.
44446 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44447 * sysdeps/sparc/sparc64/Makefile: Likewise.
44449 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44452 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44454 2012-02-15 Roland McGrath <roland@hack.frob.com>
44457 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44459 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44460 (write, read, close): Likewise.
44461 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44463 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44465 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44466 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44467 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44468 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44470 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44474 2012-02-14 Marek Polacek <polacek@redhat.com>
44476 * sysdeps/x86_64/crti.S: New file.
44477 * sysdeps/x86_64/crtn.S: New file.
44478 * sysdeps/x86_64/elf/initfini.c: Remove file.
44480 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44482 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44483 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44484 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44485 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44487 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44491 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44493 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44494 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44495 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44496 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44498 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44502 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44504 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44505 __feraiseexcept instead of feraiseexcept.
44507 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44508 nanosleep invocations.
44509 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44510 strings, and add error checking for a nanosleep invocations.
44512 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44514 Replace FSF snail mail address with URLs, as per GNU coding standards.
44515 Most of the snail mail addresses were wrong anyway, and omitting
44516 them makes the source code easier to maintain. Almost all of the
44517 changes are to license notices and to locale LC_IDENTIFICATION
44518 addresses, except for this one:
44519 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44520 not its snail mail address.
44522 2012-02-09 Richard Henderson <rth@twiddle.net>
44524 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44525 of kernel-features.h.
44527 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44529 2012-02-08 Marek Polacek <polacek@redhat.com>
44531 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44532 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44533 * sysdeps/gnu/_G_config.h: Likewise.
44534 * sysdeps/generic/_G_config.h: Likewise.
44536 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44538 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44542 * sysdeps/powerpc/powerpc32/crti.S: New file.
44543 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44544 * sysdeps/powerpc/powerpc64/crti.S: New file.
44545 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44547 * Makeconfig (have-initfini): Don't set.
44548 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44549 * configure.in (nopic_initfini): Don't substitute.
44550 * config.h.in (HAVE_INITFINI): Don't #undef.
44551 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44552 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44554 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44556 Support crti.S and crtn.S provided directly by architectures.
44557 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44558 [crti.S in sysdirs] (omit-deps): Likewise.
44559 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44560 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44561 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44562 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44563 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44564 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44565 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44566 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44567 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44568 compiler output for sysdeps/generic/initfini.c.
44569 * sysdeps/i386/elf/Makefile: Remove file.
44570 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44572 2012-02-07 Marek Polacek <polacek@redhat.com>
44574 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44575 * sysdeps/gnu/_G_config.h: Likewise.
44576 * sysdeps/mach/hurd/_G_config.h: Likewise.
44578 2012-02-07 Marek Polacek <polacek@redhat.com>
44580 * math/Makefile (tests): Add tst-CMPLX2.
44581 * math/tst-CMPLX2.c: New file.
44583 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44585 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44587 * math/libm-test.inc (jn_test): Add missing L suffix.
44589 2012-02-06 Marek Polacek <polacek@redhat.com>
44591 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44592 * sysdeps/i386/fpu/e_powf.S: Likewise.
44593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44594 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44596 * sysdeps/i386/fpu/e_pow.S: Likewise.
44597 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44598 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44599 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44600 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44601 * sysdeps/i386/fpu/e_log2.S: Likewise.
44602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44604 * sysdeps/i386/fpu/e_powl.S: Likewise.
44605 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44606 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44607 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44608 * sysdeps/i386/fpu/e_logl.S: Likewise.
44609 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44610 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44611 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44612 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44614 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44615 * sysdeps/i386/fpu/e_log.S: Likewise.
44616 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44617 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44618 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44619 * sysdeps/i386/fpu/e_logf.S: Likewise.
44620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44621 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44622 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44623 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44624 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44625 * sysdeps/i386/fpu/e_log10.S: Likewise.
44626 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44627 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44628 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44629 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44630 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44631 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44632 * sysdeps/i386/asm-syntax.h: Likewise.
44633 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44634 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44635 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44636 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44637 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44638 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44639 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44640 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44642 * sysdeps/powerpc/sysdep.h: Likewise.
44643 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44644 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44646 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44649 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44651 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44653 * sysdeps/i386/sysdep.h: Include <features.h>.
44654 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44657 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44659 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44661 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44664 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44666 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44667 (SETUP_PIC_REG): Use GET_PC_THUNK.
44668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44671 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44673 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44674 for non-PIC compilation.
44675 (SETUP_PIC_REG): Add .p2align directive.
44676 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44677 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44679 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44680 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44681 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44682 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44684 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44685 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44686 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44687 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44688 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44689 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44690 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44691 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44692 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44693 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44694 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44695 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44696 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44698 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44699 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44704 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44705 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44706 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44707 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44708 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44709 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44710 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44711 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44712 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44713 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44714 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44715 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44716 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44718 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44720 * math/tst-CMPLX.c: Include <stdio.h>.
44722 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44724 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44726 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44727 * sysdeps/sparc/bits/mathdef.h: Likewise.
44729 2012-01-31 Marek Polacek <polacek@redhat.com>
44731 * libio/libio.h: Don't define _PARAMS.
44732 * locale/programs/config.h: Don't define PARAMS.
44733 * stdlib/strtol_l.c: Likewise.
44734 (__strtol_l): Remove PARAMS from the prototype.
44736 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44738 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44739 names. Just use the correct names. Remove unnecessary wrapper
44741 * malloc/arena.c: Likewise.
44742 * malloc/hooks.c: Likewise.
44744 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44745 ARENA_TEST says not to. Simplify test for creation of a new arena.
44746 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44748 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44750 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44752 (update_get_addr): New function.
44753 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44754 GET_ADDR_MODULE parameter.
44756 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44758 * crypt/cert.c: Remove __STDC__ conditionals.
44759 * crypt/crypt-entry.c: Likewise.
44760 * crypt/crypt_util.c: Likewise.
44761 * libio/filedoalloc.c: Likewise.
44762 * libio/fileops.c: Likewise.
44763 * libio/genops.c: Likewise.
44764 * libio/iofclose.c: Likewise.
44765 * libio/iofdopen.c: Likewise.
44766 * libio/iofopen.c: Likewise.
44767 * libio/iofopen64.c: Likewise.
44768 * libio/iogetdelim.c: Likewise.
44769 * libio/iopopen.c: Likewise.
44770 * libio/obprintf.c: Likewise.
44771 * libio/oldfileops.c: Likewise.
44772 * libio/oldiofclose.c: Likewise.
44773 * libio/oldiofdopen.c: Likewise.
44774 * libio/oldiofopen.c: Likewise.
44775 * libio/oldiopopen.c: Likewise.
44776 * libio/wfiledoalloc.c: Likewise.
44777 * libio/wgenops.c: Likewise.
44778 * locale/programs/xmalloc.c: Likewise.
44779 * misc/syslog.c: Likewise.
44780 * stdio-common/xbug.c: Likewise.
44781 * string/memchr.c: Likewise.
44782 * string/memcmp.c: Likewise.
44783 * string/memrchr.c: Likewise.
44784 * string/rawmemchr.c: Likewise.
44785 * sysdeps/posix/getcwd.c: Likewise.
44786 * time/strftime_l.c: Likewise.
44788 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44790 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44791 * config.make.in (config-cflags-sse2avx): Define.
44792 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44795 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44797 * scripts/config.guess: Update from upstream config git repository.
44798 * scripts/config.sub: Likewise.
44800 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44802 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44804 (R_TILEPRO_*, R_TILEGX_*): New macros.
44806 * scripts/firstversions.awk: Fix bug in version range handling.
44808 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44810 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44812 * include/sys/epoll.h: New file.
44813 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44816 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44818 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44819 Avoid unnecessary __WORDSIZE == 64 test.
44820 (fmaxf): Use VEX format if possible.
44825 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44826 * math/math_private.h: Remove libc_fegetround* and
44828 * sysdeps/i386/configure.in: Check for -msse2avx.
44829 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44830 also if SSE2AVX is defined.
44831 Remove libc_fegetround* and libc_fesetround*.
44832 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44833 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44834 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44836 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44837 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44838 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44839 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44840 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44842 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44844 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44846 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44848 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44850 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44853 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44855 * Makeconfig (libm): Define.
44856 * elf/Makefile: Add rules to build and run tst-relsort1.
44857 * elf/tst-relsort1.c: New file.
44858 * elf/tst-relsort1mod1.c: New file.
44859 * elf/tst-relsort1mod2.c: New file.
44861 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44863 * math/s_ldexp.c: Remove __STDC__ conditionals.
44864 * math/s_ldexpf.c: Likewise.
44865 * math/s_ldexpl.c: Likewise.
44866 * math/s_nextafter.c: Likewise.
44867 * math/s_nexttowardf.c: Likewise.
44868 * math/s_significand.c: Likewise.
44869 * math/s_significandf.c: Likewise.
44870 * math/s_significandl.c: Likewise.
44871 * math/w_jnl.c: Likewise.
44872 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44873 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44874 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44875 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44876 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44878 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44879 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44880 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44881 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44882 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44883 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44884 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44885 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44886 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44887 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44888 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44889 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44891 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44892 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44893 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44894 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44896 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44897 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44898 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44899 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44900 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44901 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44902 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44903 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44904 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44906 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44907 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44908 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44909 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44910 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44911 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44912 * sysdeps/ieee754/k_standard.c: Likewise.
44913 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44914 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44915 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44916 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44917 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44918 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44920 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44921 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44922 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44923 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44926 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44927 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44929 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44932 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44935 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44936 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44937 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44938 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44944 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44948 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44949 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44950 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44951 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44952 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44953 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44955 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44956 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44957 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44958 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44962 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44963 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44965 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44966 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44967 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44968 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44969 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44970 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44972 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44974 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44975 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44977 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44978 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44979 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44980 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44981 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44982 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44983 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44984 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44985 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44986 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44987 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44989 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44990 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44991 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44992 * sysdeps/ieee754/s_matherr.c: Likewise.
44993 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44994 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44998 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45000 * crypt/md5.h: Remove __STDC__ conditionals.
45001 * libio/libioP.h: Likewise.
45002 * locale/programs/config.h: Likewise.
45003 * sysdeps/generic/sysdep.h: Likewise.
45004 * sysdeps/i386/asm-syntax.h: Likewise.
45005 * sysdeps/s390/asm-syntax.h: Likewise.
45006 * sysdeps/unix/sysdep.h: Likewise.
45007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45010 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45012 * libio/libio.h: Remove __STDC__ conditionals.
45013 * malloc/obstack.h: Likewise.
45014 * math/complex.h: Likewise.
45015 * math/math.h: Likewise.
45016 * sysdeps/generic/_G_config.h: Likewise.
45017 * sysdeps/gnu/_G_config.h: Likewise.
45018 * sysdeps/mach/hurd/_G_config.h: Likewise.
45019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45020 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45021 * sysdeps/sparc/bits/mathdef.h: Likewise.
45023 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45026 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45027 Clean up HAS_* macros.
45028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45029 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45039 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45041 * elf/tst-unique3.cc (gets): Remove declaration.
45042 * elf/tst-unique3lib.cc (gets): Likewise.
45043 * elf/tst-unique3lib2.cc (gets): Likewise.
45044 * elf/tst-unique4.cc (gets): Likewise.
45046 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45048 * include/stdio.h: Add C++ protection. Add gets declarations and
45050 * debug/tst-chk1.c: Don't declare gets here.
45051 * stdio-common/tst-gets.c: Likewise.
45053 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45055 * posix/glob: Remove directory.
45057 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45059 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45061 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45063 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45064 of the non-standard EPFNOSUPPORT.
45066 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45068 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45069 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45070 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45072 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45074 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45076 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45078 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45080 * nscd/grpcache.c (cache_addgr): Likewise.
45081 * nscd/hstcache.c (cache_addhst): Likewise.
45082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45083 * nscd/pwdcache.c (cache_addpw): Likewise.
45084 * nscd/servicescache.c (cache_addserv): Likewise.
45086 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45088 * malloc/malloc.c: Various cleanups.
45089 * malloc/hooks.c: Likewise.
45091 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45092 * stdlib/bug-fmtmsg1.c: New file.
45094 * stdlib/fmtmsg.c (init): Add missing unlock.
45095 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45097 2012-01-12 Marek Polacek <polacek@redhat.com>
45099 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45102 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45104 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45105 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45106 macro to ensure uniqueness of label name.
45107 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45108 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45110 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45112 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45114 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45119 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45123 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45124 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45125 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45127 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45129 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45130 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45134 * math/bits/math-finite.h: Add ldexp support.
45136 2012-01-10 Marek Polacek <polacek@redhat.com>
45138 * locale/programs/localedef.h (show_archive_content): Add noreturn
45141 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45145 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45147 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45149 * io/Makefile (headers): Add bits/poll2.h.
45151 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45154 typo #include statement.
45156 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45158 * include/sys/cdefs.h: Define __attribute_alloc_size.
45159 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45160 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45161 * elf/pldd.c: Likewise.
45162 * iconv/iconv_charmap.c: Likewise.
45163 * iconv/iconvconfig.c: Likewise.
45164 * iconv/strtab.c: Likewise.
45165 * locale/programs/locale.c: Likewise.
45166 * locale/programs/localedef.h: Likewise.
45167 * locale/programs/simple-hash.c: Likewise.
45168 * nscd/nscd.h: Likewise.
45169 * nss/makedb.c: Likewise.
45170 * sysdeps/generic/ldconfig.h: Likewise.
45171 * locale/programs/localedef.c: Remove xmalloc prototype.
45172 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45174 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45179 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45181 * math/Makefile (tests): Add tst-CMPLX.
45182 * math/tst-CMPLX.c: New file.
45184 * math/complex.h (CMPLXL): Fix typo.
45186 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45187 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45189 * debug/tst-chk1.c: Add poll and ppoll tests.
45190 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45191 * include/sys/poll.h: Add hidden proto for ppoll.
45192 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45193 * sysdeps/mach/hurd/ppoll.c: Likewise.
45194 * io/ppoll.c: Likewise.
45195 * debug/poll_chk.c: New file.
45196 * debug/ppoll_chk.c: New file.
45197 * include/bits/poll2.h: New file.
45198 * io/bits/poll2.h: New file.
45201 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45203 * configure.in: static is always set to yes. Remove.
45204 * config.make.in: Don't set build-static.
45205 * Makeconfig: Remove use of build-static.
45206 * dlfcn/Makefile: Likewise.
45207 * elf/Makefile: Likewise.
45208 * math/Makefile: Likewise.
45209 * misc/Makefile: Likewise.
45210 * nptl/Makefile: Likewise.
45211 * sysdeps/mach/hurd/Makefile: Likewise.
45213 * configure.in: PWD_P is not used anymore.
45214 * config.make.in: Remove PWD_P entry.
45216 * configure.in: Remove last remnants of RANLIB.
45217 No need to check for signed size_t anymore.
45218 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45220 Remove __builtin_expect test because we require at least gcc 3.4.
45221 * aclocal.m4: Likewise.
45223 * wcsmbs/mbrtoc16.c: Implement using towc function.
45224 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45225 * wcsmbs/wcsmbsload.c: Likewise.
45226 * iconv/gconv_simple.c: Likewise.
45227 * iconv/gconv_int.h: Likewise.
45228 * iconv/gconv_builtin.h: Likewise.
45229 * iconv/iconv_prog.c: Remove CHAR16 handling.
45231 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45233 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45235 * configure.in: Remove --with-elf and --enable-bounded options.
45236 Dont set base_machine for ia64. More non-ELF conditions removed.
45237 Remove testing and setting of leading underscore information.
45238 * config.make.in (build-bounded): Set to no.
45239 * config.h.in: Remove NO_UNDERSCORES entry.
45240 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45242 * csu/start.c: Remove !NO_UNDERSCORE code.
45243 * locale/localeinfo.h: Likewise.
45244 * sysdeps/generic/machine-gmon.h: Likewise.
45245 * sysdeps/generic/sysdep.h: Likewise.
45246 * sysdeps/i386/sysdep.h: Likewise.
45247 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45248 * sysdeps/mach/sysdep.h: Likewise.
45249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45251 * sysdeps/sh/sysdep.h: Likewise.
45252 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45253 * sysdeps/unix/i386/sysdep.S: Likewise.
45254 * sysdeps/unix/sparc/start.c: Likewise.
45255 * sysdeps/unix/sparc/sysdep.S: Likewise.
45256 * sysdeps/unix/sparc/sysdep.h: Likewise.
45257 * sysdeps/unix/start.c: Likewise.
45258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45259 * sysdeps/x86_64/sysdep.h: Likewise.
45261 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45264 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45266 * argp/argp-fmtstream.h: Use const instead __const.
45267 * argp/argp.h: Likewise.
45268 * assert/assert.h: Likewise.
45269 * bits/fenv.h: Likewise.
45270 * bits/sched.h: Likewise.
45271 * bits/sigset.h: Likewise.
45272 * bits/sigthread.h: Likewise.
45273 * catgets/nl_types.h: Likewise.
45274 * conform/data/pthread.h-data: Likewise.
45275 * crypt/crypt-private.h: Likewise.
45276 * crypt/crypt.h: Likewise.
45277 * crypt/crypt_util.c: Likewise.
45278 * ctype/ctype.h: Likewise.
45279 * debug/execinfo.h: Likewise.
45280 * debug/mbsnrtowcs_chk.c: Likewise.
45281 * debug/mbsrtowcs_chk.c: Likewise.
45282 * debug/wcsnrtombs_chk.c: Likewise.
45283 * debug/wcsrtombs_chk.c: Likewise.
45284 * debug/wcstombs_chk.c: Likewise.
45285 * dirent/dirent.h: Likewise.
45286 * dlfcn/dlfcn.h: Likewise.
45287 * elf/neededtest4.c: Likewise.
45288 * grp/grp.h: Likewise.
45289 * gshadow/gshadow.h: Likewise.
45290 * iconv/gconv.h: Likewise.
45291 * iconv/gconv_int.h: Likewise.
45292 * iconv/gconv_simple.c: Likewise.
45293 * iconv/iconv.h: Likewise.
45294 * iconv/loop.c: Likewise.
45295 * iconv/skeleton.c: Likewise.
45296 * include/aio.h: Likewise.
45297 * include/aliases.h: Likewise.
45298 * include/argz.h: Likewise.
45299 * include/arpa/inet.h: Likewise.
45300 * include/assert.h: Likewise.
45301 * include/dirent.h: Likewise.
45302 * include/dlfcn.h: Likewise.
45303 * include/execinfo.h: Likewise.
45304 * include/fcntl.h: Likewise.
45305 * include/fenv.h: Likewise.
45306 * include/glob.h: Likewise.
45307 * include/grp.h: Likewise.
45308 * include/libintl.h: Likewise.
45309 * include/mntent.h: Likewise.
45310 * include/netdb.h: Likewise.
45311 * include/pwd.h: Likewise.
45312 * include/rpc/netdb.h: Likewise.
45313 * include/sched.h: Likewise.
45314 * include/search.h: Likewise.
45315 * include/shadow.h: Likewise.
45316 * include/signal.h: Likewise.
45317 * include/stdio.h: Likewise.
45318 * include/stdlib.h: Likewise.
45319 * include/string.h: Likewise.
45320 * include/sys/socket.h: Likewise.
45321 * include/sys/stat.h: Likewise.
45322 * include/sys/statfs.h: Likewise.
45323 * include/sys/statvfs.h: Likewise.
45324 * include/sys/syslog.h: Likewise.
45325 * include/sys/time.h: Likewise.
45326 * include/sys/uio.h: Likewise.
45327 * include/time.h: Likewise.
45328 * include/unistd.h: Likewise.
45329 * include/utmp.h: Likewise.
45330 * include/wchar.h: Likewise.
45331 * include/wctype.h: Likewise.
45332 * inet/aliases.h: Likewise.
45333 * inet/arpa/inet.h: Likewise.
45334 * inet/netinet/ether.h: Likewise.
45335 * inet/netinet/in.h: Likewise.
45336 * intl/libintl.h: Likewise.
45337 * io/bits/fcntl2.h: Likewise.
45338 * io/fcntl.h: Likewise.
45339 * io/ftw.h: Likewise.
45340 * io/sys/poll.h: Likewise.
45341 * io/sys/stat.h: Likewise.
45342 * io/sys/statfs.h: Likewise.
45343 * io/sys/statvfs.h: Likewise.
45344 * io/utime.h: Likewise.
45345 * libio/bits/stdio.h: Likewise.
45346 * libio/bits/stdio2.h: Likewise.
45347 * libio/libio.h: Likewise.
45348 * libio/libioP.h: Likewise.
45349 * libio/stdio.h: Likewise.
45350 * locale/lc-ctype.c: Likewise.
45351 * locale/locale.h: Likewise.
45352 * login/utmp.h: Likewise.
45353 * malloc/arena.c: Likewise.
45354 * malloc/malloc.c: Likewise.
45355 * malloc/malloc.h: Likewise.
45356 * malloc/mcheck.c: Likewise.
45357 * malloc/mtrace.c: Likewise.
45358 * math/bits/mathcalls.h: Likewise.
45359 * math/fenv.h: Likewise.
45360 * math/math_private.h: Likewise.
45361 * misc/bits/error.h: Likewise.
45362 * misc/bits/syslog.h: Likewise.
45363 * misc/err.h: Likewise.
45364 * misc/error.h: Likewise.
45365 * misc/fstab.h: Likewise.
45366 * misc/mntent.h: Likewise.
45367 * misc/regexp.h: Likewise.
45368 * misc/search.h: Likewise.
45369 * misc/sgtty.h: Likewise.
45370 * misc/sys/mman.h: Likewise.
45371 * misc/sys/syslog.h: Likewise.
45372 * misc/sys/uio.h: Likewise.
45373 * misc/sys/xattr.h: Likewise.
45374 * misc/ttyent.h: Likewise.
45375 * nis/rpcsvc/ypclnt.h: Likewise.
45376 * nss/nss.h: Likewise.
45377 * posix/bits/unistd.h: Likewise.
45378 * posix/fnmatch.h: Likewise.
45379 * posix/glob.h: Likewise.
45380 * posix/sched.h: Likewise.
45381 * posix/spawn.h: Likewise.
45382 * posix/sys/wait.h: Likewise.
45383 * posix/unistd.h: Likewise.
45384 * posix/wordexp.h: Likewise.
45385 * pwd/pwd.h: Likewise.
45386 * resolv/netdb.h: Likewise.
45387 * resource/sys/resource.h: Likewise.
45388 * rt/aio.h: Likewise.
45389 * rt/bits/mqueue2.h: Likewise.
45390 * rt/mqueue.h: Likewise.
45391 * shadow/shadow.h: Likewise.
45392 * signal/signal.h: Likewise.
45393 * socket/send.c: Likewise.
45394 * socket/sendto.c: Likewise.
45395 * socket/sys/socket.h: Likewise.
45396 * stdio-common/printf.h: Likewise.
45397 * stdlib/bits/stdlib.h: Likewise.
45398 * stdlib/fmtmsg.h: Likewise.
45399 * stdlib/monetary.h: Likewise.
45400 * stdlib/stdlib.h: Likewise.
45401 * stdlib/ucontext.h: Likewise.
45402 * streams/stropts.h: Likewise.
45403 * string/argz.h: Likewise.
45404 * string/bits/string2.h: Likewise.
45405 * string/string.h: Likewise.
45406 * string/strings.h: Likewise.
45407 * sunrpc/rpc/auth.h: Likewise.
45408 * sunrpc/rpc/auth_des.h: Likewise.
45409 * sunrpc/rpc/clnt.h: Likewise.
45410 * sunrpc/rpc/netdb.h: Likewise.
45411 * sunrpc/rpc/pmap_clnt.h: Likewise.
45412 * sunrpc/rpc/xdr.h: Likewise.
45413 * sysdeps/generic/inttypes.h: Likewise.
45414 * sysdeps/generic/net/if.h: Likewise.
45415 * sysdeps/generic/sys/swap.h: Likewise.
45416 * sysdeps/gnu/net/if.h: Likewise.
45417 * sysdeps/gnu/utmpx.h: Likewise.
45418 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45419 * sysdeps/i386/i486/bits/string.h: Likewise.
45420 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45421 * sysdeps/s390/bits/string.h: Likewise.
45422 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45423 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45424 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45425 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45426 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45427 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45428 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45429 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45430 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45431 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45432 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45433 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45434 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45436 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45437 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45438 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45442 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45444 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45445 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45446 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45447 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45450 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45451 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45452 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45453 * sysvipc/sys/ipc.h: Likewise.
45454 * sysvipc/sys/msg.h: Likewise.
45455 * sysvipc/sys/sem.h: Likewise.
45456 * sysvipc/sys/shm.h: Likewise.
45457 * termios/termios.h: Likewise.
45458 * time/sys/time.h: Likewise.
45459 * time/time.h: Likewise.
45460 * wcsmbs/bits/wchar2.h: Likewise.
45461 * wcsmbs/uchar.h: Likewise.
45462 * wcsmbs/wchar.h: Likewise.
45463 * wctype/wctype.h: Likewise.
45466 * Makeconfig: Remove all but ELF support including AIX support.
45467 * Makerules: Likewise.
45468 * config.h.in: Likewise.
45469 * config.make.in: Likewise.
45470 * configure: Likewise.
45471 * configure.in: Likewise.
45472 * csu/Makefile: Likewise.
45473 * csu/version.c: Likewise.
45474 * debug/Makefile: Likewise.
45475 * dlfcn/Makefile: Likewise.
45476 * elf/Makefile: Likewise.
45477 * extra-lib.mk: Likewise.
45478 * iconv/Makefile: Likewise.
45479 * include/libc-symbols.h: Likewise.
45480 * include/shlib-compat.h: Likewise.
45481 * resolv/Makefile: Likewise.
45482 * resolv/res_libc.c: Likewise.
45483 * rt/Makefile: Likewise.
45484 * sysdeps/i386/asm-syntax.h: Likewise.
45485 * sysdeps/i386/sysdep.h: Likewise.
45486 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45487 * sysdeps/mach/sysdep.h: Likewise.
45488 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45489 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45490 * sysdeps/s390/asm-syntax.h: Likewise.
45491 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45493 * sysdeps/sh/sysdep.h: Likewise.
45494 * sysdeps/unix/sparc/sysdep.h: Likewise.
45495 * sysdeps/wordsize-32/divdi3.c: Likewise.
45496 * sysdeps/x86_64/sysdep.h: Likewise.
45498 * argp/Versions: Remove _argp_unlock_xxx.
45501 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45502 * abilist/libBrokenLocale.abilist: Likewise.
45503 * abilist/libanl.abilist: Likewise.
45504 * abilist/libc.abilist: Likewise.
45505 * abilist/libcrypt.abilist: Likewise.
45506 * abilist/libdl.abilist: Likewise.
45507 * abilist/libm.abilist: Likewise.
45508 * abilist/libnsl.abilist: Likewise.
45509 * abilist/libpthread.abilist: Likewise.
45510 * abilist/libresolv.abilist: Likewise.
45511 * abilist/librt.abilist: Likewise.
45512 * abilist/libthread_db.abilist: Likewise.
45513 * abilist/libutil.abilist: Likewise.
45514 * abilist/libnss_db.abilist: New file.
45516 * scripts/abilist.awk: Add support for indirect functions.
45518 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45520 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45522 * shlib-versions: Remove entries for ports architectures.
45524 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45526 * elf/stackguard-macros.h: Remove support for IA-64.
45527 * elf/tst-auditmod1.c: Likewise.
45528 * sysdeps/generic/ldsodefs.h: Likewise.
45530 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45531 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45535 * configure.in: Remove --enable-omitfp support.
45537 * config.make.in: Likewise.
45538 * Makeconfig: Likewise.
45539 * manual/install.texi: Likewise.
45541 In case anyone cares, the IA-64 architecture could move to ports.
45542 * sysdeps/ia64/*: Removed.
45543 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45544 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45547 * configure.in: Remove entries for unsupported architectures.
45550 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45551 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45553 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45554 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45555 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45556 fall back to using wcrtomb.
45557 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45558 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45560 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45561 * wcsmbs/tst-c16c32-1.c: New file.
45563 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45566 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45568 * elf/tst-unique3.cc: Add explicit declaration of gets.
45569 * elf/tst-unique3lib.cc: Likewise.
45570 * elf/tst-unique3lib2.cc: Likewise.
45571 * elf/tst-unique4.cc: Likewise.
45573 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45575 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45578 * assert/assert.h (static_assert): Don't define for C++.
45579 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45580 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45582 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45584 * iconv/loop.c (single loop): Fix assertion in storing of
45587 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45589 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45591 * posix/getconf.c: Update copyright year.
45592 * nss/getent.c: Likewise.
45593 * nss/makedb.c: Likewise.
45594 * iconv/iconvconfig.c: Likewise.
45595 * iconv/iconv_prog.c: Likewise.
45596 * elf/ldconfig.c: Likewise.
45597 * elf/pldd.c: Likewise.
45598 * elf/sotruss.ksh: Likewise.
45599 * catgets/gencat.c: Likewise.
45600 * csu/version.c: Likewise.
45601 * elf/ldd.bash.in: Likewise.
45602 * elf/sprof.c (print_version): Likewise.
45603 * locale/programs/locale.c: Likewise.
45604 * locale/programs/localedef.c: Likewise.
45605 * login/programs/pt_chown.c: Likewise.
45606 * nscd/nscd.c (print_version): Likewise.
45607 * debug/xtrace.sh: Likewise.
45608 * malloc/memusage.sh: Likewise.
45609 * malloc/mtrace.pl: Likewise.
45610 * debug/catchsegv.sh: Likewise.
45612 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45614 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45617 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45620 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45621 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45623 * iconv/gconv_int.h: Likewise.
45624 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45625 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45626 from libc for GLIBC_2.16.
45627 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45628 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45629 * wcsmbs/uchar.h: Really define mbstate_t.
45630 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45631 * wcsmbs/c16rtomb.c: New file.
45632 * wcsmbs/mbrtoc16.c: New file.
45633 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45634 for C/POSIX locale.
45635 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45636 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45638 * wcsmbs/wchar.h: Add missing __restrict.
45640 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45643 * time/Makefile (routines): Add timespec_get.
45644 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45645 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45646 timespec for ISO C11.
45647 * time/timespec_get.c: New file.
45648 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45649 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45652 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45653 * stdlib/stdlib.h: Declare aligned_alloc.
45654 * Versions.def: Add GLIBC_2.16 for libc.
45655 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45658 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45661 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45665 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45668 * assert/assert.h (static_assert): Define.
45670 * version.h: Update for 2.16 development version.
45673 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45676 * version.h (RELEASE): Bump for 2.15 release.
45677 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45679 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45680 Patch by Marek Polacek <mpolacek@redhat.com>.
45682 * bits/byteswap.h: Protect long long constants with __extension__.
45683 * sysdeps/i386/bits/byteswap.h: Likewise.
45684 * sysdeps/ia64/bits/byteswap.h: Likewise.
45685 * sysdeps/s390/bits/byteswap.h: Likewise.
45686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45688 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45691 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45692 destination buffer.
45693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45695 2011-12-23 Marek Polacek <polacek@redhat.com>
45697 * elf/dl-addr.c (determine_info): Add inline keyword.
45698 * elf/tst-auditmod4b.c (check_avx): Likewise.
45699 * elf/tst-auditmod6b.c (check_avx): Likewise.
45700 * elf/tst-auditmod6c.c (check_avx): Likewise.
45701 * elf/tst-auditmod7b.c (check_avx): Likewise.
45703 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45705 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45708 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45712 processing for last bytes.
45714 2011-08-06 Bruno Haible <bruno@clisp.org>
45717 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45718 U+0385, not to U+1FEE.
45721 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45722 entry for U+00A5 U+0301.
45724 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45727 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45728 buffer for the output is too small.
45730 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45734 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45735 SSE flags if possible.
45737 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45741 processing for last bytes.
45743 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45745 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45746 (syscall-list-default-options, syscall-list-default-condition)
45747 (syscall-list-includes): Define.
45748 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45749 list of ABIs and options and #if conditions for each ABI. Do not
45750 handle common syscalls between ABIs specially.
45751 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45753 (syscall-list-variants, syscall-list-32bit-options)
45754 (syscall-list-32bit-condition, syscall-list-64bit-options)
45755 (syscall-list-64bit-condition): Define.
45756 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45757 (syscall-list-variants, syscall-list-32bit-options)
45758 (syscall-list-32bit-condition, syscall-list-64bit-options)
45759 (syscall-list-64bit-condition): Define.
45760 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45762 (syscall-list-variants, syscall-list-32bit-options)
45763 (syscall-list-32bit-condition, syscall-list-64bit-options)
45764 (syscall-list-64bit-condition): Define.
45765 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45767 (syscall-list-variants, syscall-list-32bit-options)
45768 (syscall-list-32bit-condition, syscall-list-64bit-options)
45769 (syscall-list-64bit-condition): Define.
45771 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45773 * locale/iso-639.def: Add brx entry.
45776 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45777 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45779 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45780 __feraiseexcept_renamed.
45782 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45785 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45786 EPOLLET with unsigned values.
45787 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45790 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45791 to large cancellation.
45792 * math/s_cacoshf.c: Likewise.
45793 * math/s_cacoshl.c: Likewise.
45795 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45799 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45800 * math/s_cacoshf.c: Likewise.
45801 * math/s_cacoshl.c: Likewise.
45803 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45806 * iconv/gconv.h: Define __GCONV_SWAP.
45807 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45808 * iconvdata/utf-16.c: Likewise.
45809 * iconvdata/utf-32.c: Likewise.
45811 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45815 numerator after shifting it by one limb.
45817 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45820 under [__USE_EXTERN_INLINES].
45822 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45825 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45827 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45829 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45830 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45832 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45833 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45834 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45835 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45836 for strncasecmp/strncasecmp_l compilation.
45837 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45838 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45840 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45843 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45846 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45849 * time/tzfile.c (__tzfile_read): Check values from file header.
45851 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45853 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45854 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45855 * powerpc/powerpc32/dl-start.S: Likewise.
45856 * powerpc/powerpc32/elf/start.S: Likewise.
45857 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45858 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45859 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45860 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45861 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45862 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45863 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45864 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45865 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45866 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45867 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45868 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45869 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45870 * powerpc/powerpc32/memset.S: Likewise.
45871 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45872 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45873 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45874 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45875 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45876 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45877 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45878 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45879 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45880 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45881 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45882 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45883 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45885 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45887 * math/libm-test.inc: Added more nearbyint tests.
45888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45893 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45895 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45898 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45900 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45901 Add wcscpy-ssse3 wcscpy-c.
45902 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45903 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45904 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45905 * sysdeps/x86_64/wcschr.S: New file.
45906 * sysdeps/x86_64/wcsrchr.S: New file.
45907 * string/test-strcmp.c: Remove checking of wcscmp function for
45909 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45910 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45911 wcsrchr-sse2 wcsrchr-c.
45912 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45913 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45914 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45915 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45916 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45917 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45918 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45919 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45920 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45921 * wcsmbc/wcschr.c (WCSCHR): New macro.
45923 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45925 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45926 * wcsmbs/test-wcsrchr.c: New file.
45927 * string/test-strrchr.c: Add wcsrchr support.
45929 * wcsmbs/test-wcscpy.c: New file.
45930 * string/test-strcpy.c: Add wcscpy support.
45933 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45938 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45941 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45943 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45945 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45946 Minor optimizations.
45948 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45949 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45950 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45952 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45954 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45955 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45956 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45957 for gcc to avoid warnings.
45958 * inet/Makefile (tests): Add tst-checks.
45959 * inet/tst-checks.c: New file.
45961 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45964 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45967 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45968 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45970 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45972 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45974 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45977 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45979 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45981 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45982 conditional on GCC version.
45983 (__arch_compare_and_exchange_val_8_acq)
45984 (__arch_compare_and_exchange_val_16_acq)
45985 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45986 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45987 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45989 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45991 * sysdeps/sh/backtrace.c: New file.
45993 2011-12-02 Andreas Schwab <schwab@redhat.com>
45995 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45998 2011-12-01 Andreas Schwab <schwab@redhat.com>
46000 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46001 falling back to utime.
46003 2011-11-30 Andreas Schwab <schwab@redhat.com>
46005 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46006 expectations for float.
46008 2011-11-29 Andreas Schwab <schwab@redhat.com>
46010 * locale/weight.h (findidx): Add parameter len.
46011 * locale/weightwc.h (findidx): Likewise.
46012 * posix/fnmatch_loop.c (FCT): Adjust caller.
46013 * posix/regcomp.c (build_equiv_class): Likewise.
46014 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46015 * posix/regexec.c (check_node_accept_bytes): Likewise.
46016 * string/strcoll_l.c (STRCOLL): Likewise.
46017 * string/strxfrm_l.c (STRXFRM): Likewise.
46019 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46021 * Makefile.in: Remove CVSOPT handling.
46022 * configure.in: Remove use of AC_REVISION.
46023 * iconvdata/Makefile (distribute): No need to filter out CVS.
46024 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46027 2011-11-16 Andreas Schwab <schwab@redhat.com>
46029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46030 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46031 [USE_AS_STRNCASECMP_L]: Likewise.
46032 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46033 NO_TLS_DIRECT_SEG_REFS.
46034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46035 Fix argument offsets for non-PIC.
46036 [USE_AS_STRNCASECMP_L]: Likewise.
46037 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46038 NO_TLS_DIRECT_SEG_REFS.
46040 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46042 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46044 * locale/loadlocale.c (_nl_load_locale): Likewise.
46046 2011-11-15 Andreas Schwab <schwab@redhat.com>
46048 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46049 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46050 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46051 (SYSCALL_GETTIME): Set errno on error.
46053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46054 count references to noai6ai_cached.
46056 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46058 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46060 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46061 FD_CLOEXEC for /proc/self/maps.
46063 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46064 FD_CLOEXEC for /proc/meminfo.
46066 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46069 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46070 FD_CLOEXEC for given file.
46072 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46074 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46075 FD_CLOEXEC for /etc/hosts.
46076 (_gethtent): Likewise.
46078 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46080 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46081 cancellation and set FD_CLOEXEC for /etc/netgroup.
46083 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46084 reading /etc/publickey.
46086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46087 allow cancellation when reading /etc/group.
46089 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46091 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46093 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46094 when using data file.
46096 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46098 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46099 (write_nis_obj): Use "c" and "e" in fopen.
46101 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46103 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46105 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46107 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46109 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46112 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46114 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46116 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46118 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46119 file parsing and set FD_CLOEXEC.
46121 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46123 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46125 2011-11-14 Andreas Schwab <schwab@redhat.com>
46127 * malloc/arena.c (arena_get2): Don't call reused_arena when
46128 _int_new_arena failed.
46130 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46132 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46133 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46136 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46138 to compile strcasecmp and strncasecmp.
46139 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46140 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46144 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46146 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46147 locale-defines.sym to gen-as-const-headers.
46148 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46149 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46151 to compile strcasecmp and strncasecmp.
46152 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46153 strcasecmp_l and strncasecmp_l.
46154 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46155 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46156 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46157 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46158 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46159 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46160 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46161 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46162 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46163 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46164 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46166 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46168 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46169 result of SYSDEP_GETTIME_CPU to retval.
46170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46171 parameter list to macro. Remove trailing semicolon. Adjust users.
46173 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46176 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46178 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46180 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46181 from unused variable.
46183 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46185 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46188 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46191 * sunrpc/rpc_prot.c (rejected): Fix case value.
46193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46194 unsigned long long int to avoid warnings in shift.
46196 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46198 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46201 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46202 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46203 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46205 * nis/nis_table.c (nis_list): Use variable of correct type for
46206 result of __follow_path call.
46208 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46210 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46211 of math functions ceil, trunc, floor, round, and sqrt, when
46212 avaliable on the platform.
46213 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46215 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46216 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46217 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46219 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46221 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46222 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46224 2011-11-11 Roland McGrath <roland@hack.frob.com>
46226 * include/unistd.h: Fix __readlink return type.
46227 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46229 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46231 * stdlib/ucontext.h: Undo last change for makecontext.
46233 2011-11-11 Andreas Schwab <schwab@redhat.com>
46235 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46237 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46238 * setjmp/setjmp.h: Mark functions as non-leaf.
46239 * setjmp/bits/setjmp2.h: Likewise.
46240 * stdlib/ucontext.h: Likewise.
46242 2011-11-10 Andreas Schwab <schwab@redhat.com>
46244 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46245 (reused_arena): Don't check arena limit.
46246 (arena_get2): Atomically check arena limit.
46248 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46250 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46251 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46256 2011-11-07 Andreas Schwab <schwab@redhat.com>
46258 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46259 handler when locking.
46261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46262 Fix size of allocated buffer.
46264 2011-11-04 Andreas Schwab <schwab@redhat.com>
46267 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46268 declarations for long double functions.
46269 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46271 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46273 2011-11-03 Andreas Schwab <schwab@redhat.com>
46275 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46278 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46281 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46283 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46285 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46287 * include/alloca.h (stackinfo_alloca_round): Define.
46288 (extend_alloca): Use it.
46289 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46290 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46293 * scripts/check-local-headers.sh: Ignore libaudit.h.
46295 * nscd/Makefile (extra-objs): Make recursively expanded.
46297 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46299 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46302 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46303 * posix/tst-rfc3484-2.c: Likewise.
46304 * posix/tst-rfc3484-3.c: Likewise.
46306 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46308 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46310 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46311 process_vm_writev from libc using GLIBC_2.15 version.
46313 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46315 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46317 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46320 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46323 * nss/getent.c (initgroups_keys): Show error message in case no group
46326 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46327 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46328 __bump_nl_timestamp.
46329 * nscd/connections (nscd_init): When host database is served open
46330 netlink socket and request notification about configuration changes.
46331 (main_loop_poll): Track netlink file descriptor and bump timestamp
46332 in case data becomes available.
46333 (main_loop_epoll): Likewise.
46334 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46335 (database_pers_head): Add extra_data fileds.
46336 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46337 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46338 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46341 in6ai data, call __free_in6ai.
46342 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46343 Add -DHAVE_NETLINK.
46344 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46345 interface information. Reuse previous data if netlink timestamp
46347 (__bump_nl_timestamp): New function.
46348 (__free_in6ai): New function.
46350 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46353 close_not_cancel_no_status here.
46354 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46356 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46359 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46362 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46363 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46364 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46366 2011-07-03 Andreas Jaeger <aj@suse.de>
46369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46370 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46371 * math/libm-test.inc (sin_test): Add test case.
46373 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46376 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46377 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46379 * elf/chroot_canon.c (chroot_canon): Cleanups.
46381 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46384 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46385 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46387 * string/test-strchr.c: Make usable for strchrnul testing.
46388 * string/test-strchrnul.c: New file.
46389 * string/Makefile (strop-tests): Add strchrnul.
46391 * po/it.po: Update from translation team.
46392 * po/es.po: Likewise.
46394 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46397 the three constants needed as parameters. Drop the others.
46398 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46399 __m128i_strloadu_tolower.
46400 Create and initialize variable zero and use it in all the places
46401 where _mm_setzero_si128 was used.
46403 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46404 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46405 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46408 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46409 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46410 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46411 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46412 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46413 __mpranred, __mptan.
46414 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46415 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46416 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46417 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46418 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46419 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46421 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46422 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46424 2011-10-28 Andreas Schwab <schwab@redhat.com>
46426 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46427 redefine if SHARED.
46428 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46431 wide char related routines to wcsmbs subdir.
46433 2011-10-27 Andreas Schwab <schwab@redhat.com>
46436 * misc/sys/cdefs.h (__THROWNL): Define.
46437 * posix/unistd.h: Use __THREADNL instead of __THREAD
46438 for memory synchronization functions.
46440 2011-10-26 Roland McGrath <roland@hack.frob.com>
46443 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46445 * manual/stdio.texi (Obstack Streams): Node removed.
46447 2011-10-26 Andreas Schwab <schwab@redhat.com>
46449 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46451 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46453 * math/math_private.h (math_force_eval): Allow non-addressable
46455 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46457 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46459 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46460 file is not needed.
46462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46465 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46466 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46467 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46468 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46469 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46471 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46472 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46473 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46474 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46475 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46476 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46477 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46478 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46479 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46480 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46481 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46482 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46483 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46484 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46485 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46486 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46487 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46488 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46489 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46491 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46492 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46495 place. Use VEX encoding when compiling for AVX.
46497 2011-10-25 Andreas Schwab <schwab@redhat.com>
46499 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46500 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46502 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46504 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46506 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46507 useless if() expression.
46508 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46509 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46510 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46512 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46514 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46518 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46519 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46520 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46521 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46522 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46523 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46526 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46528 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46530 2011-10-25 Andreas Schwab <schwab@redhat.com>
46532 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46536 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46538 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46539 .text section. Avoid duplicate constants.
46540 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46549 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46550 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46551 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46552 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46553 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46554 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46556 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46557 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46560 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46561 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46562 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46564 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46565 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46566 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46567 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46569 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46570 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46571 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46573 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46574 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46575 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46576 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46578 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46579 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46581 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46582 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46586 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46588 * sysdeps/x86_64/dla.h: Move to ...
46589 * sysdeps/x86_64/fpu/dla.h: ...here.
46590 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46591 situations. Use __builtin_fma only for gcc 4.6 and up.
46593 * config.make.in: Add have-mfma4 entry.
46594 * configure.in: Substitute libc_cv_cc_fma4.
46595 * math/Makefile (dbl-only-routines): Add sincostab.
46596 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46597 Use __sincostab not sincos.
46598 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46605 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46606 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46607 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46608 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46610 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46611 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46613 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46614 define aliases when function name is a macro.
46615 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46616 sysdeps/ieee754/dbl-64/sincos.tbl.
46617 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46618 fma4-enabled routines.
46619 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46620 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46621 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46622 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46623 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46624 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46626 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46628 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46629 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46631 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46632 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46634 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46635 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46636 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46637 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46639 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46640 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46644 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46645 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46650 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46661 2011-10-24 Andreas Schwab <schwab@redhat.com>
46663 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46665 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46669 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46673 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46674 Remove unused variable magic_bits.
46675 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46677 * string/strnlen.c: Define and use STRNLEN macro.
46678 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46679 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46681 * wcsmbs/wcslen.c: Define and use WCSLEN.
46682 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46683 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46684 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46685 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46686 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46687 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46688 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46690 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46693 strnlen-sse2-no-bsf.
46694 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46696 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46697 Add strnlen support.
46698 (USE_AS_STRNLEN): New macro.
46699 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46700 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46701 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46702 * sysdeps/x86_64/wcslen.S: New file.
46704 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46706 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46707 XMM-moves are used for copying on small sizes.
46709 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46711 * wcsmbs/Makefile (strop-tests): Add wcschr.
46712 * wcsmbs/test-wcschr.c: New file.
46713 * string/test-strchr.c: Update.
46714 Add wcschr support.
46717 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46719 * wcsmbs/Makefile (strop-tests): Add wcslen.
46720 * wcsmbs/test-wcslen.c: New file.
46721 * string/test-strlen.c: Update.
46722 Add wcslen support.
46725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46727 * po/it.po: Update from translation team.
46729 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46731 * sysdeps/x86_64/wcscmp.S: Update.
46732 Fix wrong comparison semantics.
46733 wcscmp shall use signed comparison not unsigned.
46734 Don't use substraction to avoid overflow bug.
46735 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46736 * wcsmbc/wcscmp.c: Likewise.
46737 * string/test-strcmp.c: Likewise.
46738 Add new tests to check cases with negative values.
46740 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46742 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46743 * sysdeps/x86_64/dla.h: ...here. New file.
46744 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46754 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46757 __ynl_finite aliases.
46759 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46763 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46765 [DLA_FMA] (EMULV): Use DLA_FMA.
46766 [DLA_FMA] (MUL12): Use EMULV.
46767 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46768 that are not needed.
46769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46777 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46779 * math/s_nan.c: Undef __nan.
46780 * math/s_nanf.c: Undef __nanf.
46781 * math/s_nanl.c: Undef __nanl.
46782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46785 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46787 * math/s_catan.c: Add branch predictions.
46788 * math/s_catanf.c: Likewise.
46789 * math/s_catanh.c: Likewise.
46790 * math/s_catanhf.c: Likewise.
46791 * math/s_catanhl.c: Likewise.
46792 * math/s_catanl.c: Likewise.
46793 * math/s_cexp.c: Likewise.
46794 * math/s_cexpf.c: Likewise.
46795 * math/s_cexpl.c: Likewise.
46796 * math/s_clog.c: Likewise.
46797 * math/s_clog10.c: Likewise.
46798 * math/s_clog10f.c: Likewise.
46799 * math/s_clog10l.c: Likewise.
46800 * math/s_clogf.c: Likewise.
46801 * math/s_clogl.c: Likewise.
46802 * math/s_csqrt.c: Likewise.
46803 * math/s_csqrtf.c: Likewise.
46804 * math/s_csqrtl.c: Likewise.
46805 * math/s_ctanf.c: Likewise.
46806 * math/s_ctanh.c: Likewise.
46807 * math/s_ctanhf.c: Likewise.
46808 * math/s_ctanhl.c: Likewise.
46809 * math/s_ctanl.c: Likewise.
46811 * math/math_private.h: Define __nan, __nanf, __nanl.
46812 * math/s_cacosh.c: Include <math_private.h>.
46813 * math/s_cacoshl.c: Likewise.
46814 * math/s_casinh.c: Likewise.
46815 * math/s_casinhf.c: Likewise.
46816 * math/s_casinhl.c: Likewise.
46817 * math/s_ccos.c: Rely entire on ccosh.
46818 * math/s_ccosf.c: Rely entire on ccoshf.
46819 * math/s_ccosl.c: Rely entirely on ccoshl.
46820 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46821 Remove tests for FE_INVALID.
46822 * math/s_ccoshf.c: Likewise.
46823 * math/s_ccoshl.c: Likewise.
46824 * math/s_csin.c: Likewise.
46825 * math/s_csinf.c: Likewise.
46826 * math/s_csinh.c Likewise.
46827 * math/s_csinhf.c: Likewise.
46828 * math/s_csinhl.c: Likewise.
46829 * math/s_csinl.c: Likewise.
46830 * math/s_ctan.c: Likewise.
46831 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46832 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46833 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46835 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46838 compilation problems.
46840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46843 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46845 * sysdeps/i386/configure.in: Test for -mfma4 option.
46846 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46847 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46848 COMMON_CPUID_INDEX_80000001.
46849 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46850 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46851 use it if FMA3 is not supported.
46852 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46854 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46855 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46857 2011-10-20 Andreas Schwab <schwab@redhat.com>
46860 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46861 it would create a cycle with a link time dependency.
46863 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46865 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46867 * string/Makefile (strop-tests): Add rawmemchr.
46868 * string/test-rawmemchr.c: New file.
46870 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46871 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46872 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46873 when compiling str{,n}casecmp and when AVX is available. Hook up
46874 new optimized code in initializers.
46876 2011-10-19 Andreas Schwab <schwab@redhat.com>
46878 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46879 __feraiseexcept instead of feraiseexcept.
46881 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46883 * math/math_private.h: Define defaults for libc_fetestexcept and
46885 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46886 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46887 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46888 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46889 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46890 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46891 libc_fetestexcept and libc_feupdateenv.
46893 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46894 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46895 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46896 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46897 libc_feholdexcept_setround.
46899 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46900 Add s_nearbyint-c and s_nearbyintf-c.
46901 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46902 nearbyintf inlines.
46903 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46904 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46905 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46906 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46908 * math/math_private.h: Define defaults for libc_fegetround,
46909 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46910 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46911 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46913 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46914 standard functions.
46915 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46916 Remove comments and hacks for old compiler versions.
46917 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46918 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46919 libc_feholdexceptl.
46921 2011-10-18 Andreas Schwab <schwab@redhat.com>
46923 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46924 (__feraiseexcept_renamed): Add __NTH.
46925 (feraiseexcept): Add __NTH. Rename local variables to fix
46926 namespace violations.
46928 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46930 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46932 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46934 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46935 recently added interfaces.
46936 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46938 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46939 about macro parameter expansion.
46941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46942 __NO_MATH_INLINES is defined. Cleanups.
46944 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46945 and __floorf is target has SSE4.1.
46946 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46947 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46948 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46949 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46951 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46953 (floorf): Likewise.
46955 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46957 2011-10-17 Andreas Schwab <schwab@redhat.com>
46959 * misc/sys/cdefs.h: Fix last change.
46961 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46964 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46966 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46968 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46969 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46971 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46976 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46977 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46978 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46979 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46980 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46981 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46982 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46983 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46984 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46985 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46986 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46987 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46988 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46989 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46991 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46992 ceil, ceilf, floor, floorf.
46994 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46995 Perform IRELATIVE relocations last.
46997 * elf/do-rel.h: Add another parameter nrelative, replacing the
46998 local variable with the same name. Change name of the function
46999 to end in Rel or Rela (uppercase).
47000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47001 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47002 elf_dynamic_do_##reloc function.
47004 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47006 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47007 is sufficient, at least on modern CPUs.
47009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47011 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47012 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47014 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47016 * math/bits/math-finite.h: Add entries for exp.
47017 * math/e_expl.c: Add __*_finite alias.
47018 * sysdeps/i386/fpu/e_exp.S: Likewise.
47019 * sysdeps/i386/fpu/e_expf.S: Likewise.
47020 * sysdeps/i386/fpu/e_expl.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47022 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47023 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47026 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47027 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47029 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47030 is sufficient, at least on modern CPUs.
47032 * ctype/ctype-info.c (__ctype_init): Define.
47033 * include/ctype.h (__ctype_init): Declare.
47034 (__ctype_b_loc): The variable is always initialized.
47035 (__ctype_toupper_loc): Likewise.
47036 (__ctype_tolower_loc): Likewise.
47037 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47038 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47040 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47042 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47044 * configure.in: Also look in $cxxmachine/include for C++ system
47047 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47049 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47050 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47051 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47052 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47053 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47054 (USE_AS_WMEMCMP): New macro.
47056 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47057 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47058 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47059 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47061 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47062 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47063 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47064 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47065 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47066 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47067 (USE_AS_WMEMCMP): New macro.
47068 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47069 * sysdeps/string/test-memcmp.c: Update.
47070 Fix simple_wmemcmp.
47072 * wcsmbs/wmemcmp.c: Update.
47073 (WMEMCMP): New macro.
47076 2011-10-12 Andreas Jaeger <aj@suse.de>
47079 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47081 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47083 * libio/iofwide.c (do_length): Avoid warning.
47085 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47087 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47089 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47091 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47092 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47093 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47094 * sysdeps/i386/i686/fpu/e_log.S: New file.
47095 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47096 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47098 * ctype/ctype.h: Add support for inlined isXXX functions when
47099 compiling C++ code.
47101 2011-10-14 Andreas Schwab <schwab@redhat.com>
47103 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47105 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47107 2011-10-13 Roland McGrath <roland@hack.frob.com>
47110 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47112 2011-10-13 Andreas Schwab <schwab@redhat.com>
47114 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47115 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47118 * sysdeps/x86_64/memrchr.S: Check for zero size.
47120 * string/stratcliff.c: Add memrchr tests.
47122 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47125 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47126 rawmemchr-sse2 rawmemchr-sse2-bsf.
47127 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47128 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47129 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47130 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47131 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47132 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47133 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47134 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47135 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47136 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47137 * string/memrchr.c (MEMRCHR): New macro.
47139 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47141 Add integration with gcc's -ffinite-math-only and optimize wrapper
47143 * Versions.def: Define GLIBC_2.15 version for libm.
47144 * math/Makefile (headers): Add bits/math-finite.h.
47145 * math/bits/math-finite.h: New file.
47146 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47147 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47148 * math/e_acoshl.c: Add __*_finite alias.
47149 * math/e_acosl.c: Likewise.
47150 * math/e_asinl.c: Likewise.
47151 * math/e_atan2l.c: Likewise.
47152 * math/e_atanhl.c: Likewise.
47153 * math/e_coshl.c: Likewise.
47154 * math/e_exp10.c: Likewise.
47155 * math/e_exp10f.c: Likewise.
47156 * math/e_exp10l.c: Likewise.
47157 * math/e_exp2l.c: Likewise.
47158 * math/e_fmodl.c: Likewise.
47159 * math/e_gammal_r.c: Likewise.
47160 * math/e_hypotl.c: Likewise.
47161 * math/e_j0l.c: Likewise.
47162 * math/e_j1l.c: Likewise.
47163 * math/e_jnl.c: Likewise.
47164 * math/e_lgammal_r.c: Likewise.
47165 * math/e_log10l.c: Likewise.
47166 * math/e_log2l.c: Likewise.
47167 * math/e_logl.c: Likewise.
47168 * math/e_powl.c: Likewise.
47169 * math/e_sinhl.c: Likewise.
47170 * math/e_sqrtl.c: Likewise.
47171 * math/e_scalb.c: Completely rewritten and optimized.
47172 * math/e_scalbf.c: Likewise.
47173 * math/e_scalbl.c: Likewise.
47174 * math/w_acos.c: Likewise.
47175 * math/w_acosf.c: Likewise.
47176 * math/w_acosl.c: Likewise.
47177 * math/w_acosh.c: Likewise.
47178 * math/w_acoshf.c: Likewise.
47179 * math/w_acoshl.c: Likewise.
47180 * math/w_asin.c: Likewise.
47181 * math/w_asinf.c: Likewise.
47182 * math/w_asinl.c: Likewise.
47183 * math/w_atan2.c: Likewise.
47184 * math/w_atan2f.c: Likewise.
47185 * math/w_atan2l.c: Likewise.
47186 * math/w_atanh.c: Likewise.
47187 * math/w_atanhf.c: Likewise.
47188 * math/w_atanhl.c: Likewise.
47189 * math/w_exp10.c: Likewise.
47190 * math/w_exp10f.c: Likewise.
47191 * math/w_exp10l.c: Likewise.
47192 * math/w_fmod.c: Likewise.
47193 * math/w_fmodf.c: Likewise.
47194 * math/w_fmodl.c: Likewise.
47195 * math/w_j0.c: Likewise.
47196 * math/w_j0f.c: Likewise.
47197 * math/w_j0l.c: Likewise.
47198 * math/w_j1.c: Likewise.
47199 * math/w_j1f.c: Likewise.
47200 * math/w_j1l.c: Likewise.
47201 * math/w_jn.c: Likewise.
47202 * math/w_jnf.c: Likewise.
47203 * math/w_log.c: Likewise.
47204 * math/w_logf.c: Likewise.
47205 * math/w_logl.c: Likewise.
47206 * math/w_log10.c: Likewise.
47207 * math/w_log10f.c: Likewise.
47208 * math/w_log10l.c: Likewise.
47209 * math/w_log2.c: Likewise.
47210 * math/w_log2f.c: Likewise.
47211 * math/w_log2l.c: Likewise.
47212 * math/w_pow.c: Likewise.
47213 * math/w_powf.c: Likewise.
47214 * math/w_powl.c: Likewise.
47215 * math/w_remainder.c: Likewise.
47216 * math/w_remainderf.c: Likewise.
47217 * math/w_remainderl.c: Likewise.
47218 * math/w_scalb.c: Likewise.
47219 * math/w_scalbf.c: Likewise.
47220 * math/w_scalbl.c: Likewise.
47221 * math/w_sqrt.c: Likewise.
47222 * math/w_sqrtf.c: Likewise.
47223 * math/w_sqrtl.c: Likewise.
47224 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47225 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47227 * math/math_private.h: Declare __kernel_standard_f.
47228 * math/w_cosh.c: Remove cruft and optimize a bit.
47229 * math/w_coshf.c: Likewise.
47230 * math/w_coshl.c: Likewise.
47231 * math/w_exp2.c: Likewise.
47232 * math/w_exp2f.c: Likewise.
47233 * math/w_exp2l.c: Likewise.
47234 * math/w_hypot.c: Likewise.
47235 * math/w_hypotf.c: Likewise.
47236 * math/w_hypotl.c: Likewise.
47237 * math/w_lgamma.c: Likewise.
47238 * math/w_lgamma_r.c: Likewise.
47239 * math/w_lgammaf.c: Likewise.
47240 * math/w_lgammaf_r.c: Likewise.
47241 * math/w_lgammal.c: Likewise.
47242 * math/w_lgammal_r.c: Likewise.
47243 * math/w_sinh.c: Likewise.
47244 * math/w_sinhf.c: Likewise.
47245 * math/w_sinhl.c: Likewise.
47246 * math/w_tgamma.c: Likewise.
47247 * math/w_tgammaf.c: Likewise.
47248 * math/w_tgammal.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47251 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47252 Minor optimizations. Pretty printing. Remove cruft.
47253 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47254 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47255 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47256 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47257 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47258 * sysdeps/i386/fpu/e_asin.S: Likewise.
47259 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47260 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47261 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47262 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47264 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47265 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47266 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47267 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47268 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47269 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47270 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47271 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47272 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47273 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47274 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47275 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47276 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47277 * sysdeps/i386/fpu/e_log.S: Likewise.
47278 * sysdeps/i386/fpu/e_log10.S: Likewise.
47279 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47280 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47281 * sysdeps/i386/fpu/e_log2.S: Likewise.
47282 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47283 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47284 * sysdeps/i386/fpu/e_logf.S: Likewise.
47285 * sysdeps/i386/fpu/e_logl.S: Likewise.
47286 * sysdeps/i386/fpu/e_pow.S: Likewise.
47287 * sysdeps/i386/fpu/e_powf.S: Likewise.
47288 * sysdeps/i386/fpu/e_powl.S: Likewise.
47289 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47290 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47291 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47294 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47295 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47296 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47297 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47301 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47303 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47304 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47311 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47312 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47314 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47315 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47318 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47319 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47320 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47321 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47322 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47323 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47324 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47325 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47326 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47327 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47328 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47329 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47330 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47331 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47332 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47333 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47334 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47335 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47336 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47337 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47338 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47339 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47351 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47353 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47378 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47383 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47386 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47389 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47391 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47392 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47393 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47394 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47395 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47396 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47397 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47398 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47399 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47400 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47401 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47403 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47406 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47407 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47408 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47409 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47410 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47411 (__isnanf): Likewise.
47412 (__isinf_ns): Likewise.
47413 (__isinf_nsf): Likewise.
47414 (__finite): Likewise.
47415 (__finitef): Likewise.
47416 (__ieee754_sqrt): Define as macro.
47417 (__ieee754_sqrtf): Define as macro.
47418 (__ieee754_sqrtl): Define as macro.
47419 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47421 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47422 __FINITE_MATH_ONLY__ consistent.
47423 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47425 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47427 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47430 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47432 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47434 * po/ja.po: Update from translation team.
47436 2011-10-08 Roland McGrath <roland@hack.frob.com>
47438 * locale/programs/locarchive.c (prepare_address_space): New function.
47439 (create_archive, enlarge_archive, open_archive): Use it.
47441 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47442 inside [SHARED], where it is used.
47444 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47446 * nss/getent.c (netgroup_keys): Remove unused variable.
47447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47449 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47451 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47452 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47454 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47455 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47456 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47457 * math/Makefile (libm-calls): Add s_isinf_ns.
47458 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47459 * math/multc3.c: Likewise.
47460 * math/s_casin.c: Likewise.
47461 * math/s_casinf.c: Likewise.
47462 * math/s_casinl.c: Likewise.
47463 * math/s_ccos.c: Likewise.
47464 * math/s_ccosf.c: Likewise.
47465 * math/s_ccosl.c: Likewise.
47466 * math/s_ctan.c: Likewise.
47467 * math/s_ctanf.c: Likewise.
47468 * math/s_ctanh.c: Likewise.
47469 * math/s_ctanhf.c: Likewise.
47470 * math/s_ctanhl.c: Likewise.
47471 * math/s_ctanl.c: Likewise.
47472 * math/w_fmod.c: Likewise.
47473 * math/w_fmodf.c: Likewise.
47474 * math/w_fmodl.c: Likewise.
47475 * math/w_remainder.c: Likewise.
47476 * math/w_remainderf.c: Likewise.
47477 * math/w_remainderl.c: Likewise.
47478 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47479 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47480 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47482 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47483 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47484 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47485 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47487 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47489 * stdio-common/printf_fphex.c: Likewise.
47490 * stdio-common/printf_size.c: Likewise.
47492 * math/e_exp10.c: Include math_private.h using <...> not "...".
47493 * math/e_exp10f.c: Likewise.
47494 * math/e_exp10l.c: Likewise.
47495 * math/e_exp2l.c: Likewise.
47496 * math/e_j0l.c: Likewise.
47497 * math/e_j1l.c: Likewise.
47498 * math/e_jnl.c: Likewise.
47499 * math/e_lgammal_r.c: Likewise.
47500 * math/e_rem_pio2l.c: Likewise.
47501 * math/e_scalb.c: Likewise.
47502 * math/e_scalbf.c: Likewise.
47503 * math/e_scalbl.c: Likewise.
47504 * math/k_cosl.c: Likewise.
47505 * math/k_sinl.c: Likewise.
47506 * math/k_tanl.c: Likewise.
47507 * math/s_cacoshf.c: Likewise.
47508 * math/s_catan.c: Likewise.
47509 * math/s_catanf.c: Likewise.
47510 * math/s_catanh.c: Likewise.
47511 * math/s_catanhf.c: Likewise.
47512 * math/s_catanhl.c: Likewise.
47513 * math/s_catanl.c: Likewise.
47514 * math/s_ccosh.c: Likewise.
47515 * math/s_ccoshf.c: Likewise.
47516 * math/s_ccoshl.c: Likewise.
47517 * math/s_cexp.c: Likewise.
47518 * math/s_cexpf.c: Likewise.
47519 * math/s_cexpl.c: Likewise.
47520 * math/s_clog.c: Likewise.
47521 * math/s_clog10.c: Likewise.
47522 * math/s_clog10f.c: Likewise.
47523 * math/s_clog10l.c: Likewise.
47524 * math/s_clogf.c: Likewise.
47525 * math/s_clogl.c: Likewise.
47526 * math/s_csin.c: Likewise.
47527 * math/s_csinf.c: Likewise.
47528 * math/s_csinh.c: Likewise.
47529 * math/s_csinhf.c: Likewise.
47530 * math/s_csinhl.c: Likewise.
47531 * math/s_csinl.c: Likewise.
47532 * math/s_csqrt.c: Likewise.
47533 * math/s_csqrtf.c: Likewise.
47534 * math/s_csqrtl.c: Likewise.
47535 * math/s_ctan.c: Likewise.
47536 * math/s_ctanf.c: Likewise.
47537 * math/s_ctanh.c: Likewise.
47538 * math/s_ctanhf.c: Likewise.
47539 * math/s_ctanhl.c: Likewise.
47540 * math/s_ctanl.c: Likewise.
47541 * math/s_ldexp.c: Likewise.
47542 * math/s_ldexpf.c: Likewise.
47543 * math/s_ldexpl.c: Likewise.
47544 * math/s_significand.c: Likewise.
47545 * math/s_significandf.c: Likewise.
47546 * math/s_significandl.c: Likewise.
47547 * math/w_acos.c: Likewise.
47548 * math/w_acosf.c: Likewise.
47549 * math/w_acosh.c: Likewise.
47550 * math/w_acoshf.c: Likewise.
47551 * math/w_acoshl.c: Likewise.
47552 * math/w_acosl.c: Likewise.
47553 * math/w_asin.c: Likewise.
47554 * math/w_asinf.c: Likewise.
47555 * math/w_asinl.c: Likewise.
47556 * math/w_atan2.c: Likewise.
47557 * math/w_atan2f.c: Likewise.
47558 * math/w_atan2l.c: Likewise.
47559 * math/w_atanh.c: Likewise.
47560 * math/w_atanhf.c: Likewise.
47561 * math/w_atanhl.c: Likewise.
47562 * math/w_cosh.c: Likewise.
47563 * math/w_coshf.c: Likewise.
47564 * math/w_coshl.c: Likewise.
47565 * math/w_dremf.c: Likewise.
47566 * math/w_exp10.c: Likewise.
47567 * math/w_exp10f.c: Likewise.
47568 * math/w_exp10l.c: Likewise.
47569 * math/w_exp2.c: Likewise.
47570 * math/w_exp2f.c: Likewise.
47571 * math/w_fmod.c: Likewise.
47572 * math/w_fmodf.c: Likewise.
47573 * math/w_fmodl.c: Likewise.
47574 * math/w_hypot.c: Likewise.
47575 * math/w_hypotf.c: Likewise.
47576 * math/w_hypotl.c: Likewise.
47577 * math/w_j0.c: Likewise.
47578 * math/w_j0f.c: Likewise.
47579 * math/w_j0l.c: Likewise.
47580 * math/w_j1.c: Likewise.
47581 * math/w_j1f.c: Likewise.
47582 * math/w_j1l.c: Likewise.
47583 * math/w_jn.c: Likewise.
47584 * math/w_jnf.c: Likewise.
47585 * math/w_jnl.c: Likewise.
47586 * math/w_lgamma.c: Likewise.
47587 * math/w_lgamma_r.c: Likewise.
47588 * math/w_lgammaf.c: Likewise.
47589 * math/w_lgammaf_r.c: Likewise.
47590 * math/w_lgammal.c: Likewise.
47591 * math/w_lgammal_r.c: Likewise.
47592 * math/w_log.c: Likewise.
47593 * math/w_log10.c: Likewise.
47594 * math/w_log10f.c: Likewise.
47595 * math/w_log10l.c: Likewise.
47596 * math/w_log2.c: Likewise.
47597 * math/w_log2f.c: Likewise.
47598 * math/w_log2l.c: Likewise.
47599 * math/w_logf.c: Likewise.
47600 * math/w_logl.c: Likewise.
47601 * math/w_pow.c: Likewise.
47602 * math/w_powf.c: Likewise.
47603 * math/w_powl.c: Likewise.
47604 * math/w_remainder.c: Likewise.
47605 * math/w_remainderf.c: Likewise.
47606 * math/w_remainderl.c: Likewise.
47607 * math/w_scalb.c: Likewise.
47608 * math/w_scalbf.c: Likewise.
47609 * math/w_scalbl.c: Likewise.
47610 * math/w_sinh.c: Likewise.
47611 * math/w_sinhf.c: Likewise.
47612 * math/w_sinhl.c: Likewise.
47613 * math/w_sqrt.c: Likewise.
47614 * math/w_sqrtf.c: Likewise.
47615 * math/w_sqrtl.c: Likewise.
47616 * math/w_tgamma.c: Likewise.
47617 * math/w_tgammaf.c: Likewise.
47618 * math/w_tgammal.c: Likewise.
47620 * po/ja.po: Update from translation team.
47622 2011-09-29 Andreas Jaeger <aj@suse.de>
47625 * sunrpc/netname.c (netname2host): Fix logic.
47629 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47631 * math/w_remainder.c (__remainder): Likewise.
47632 * math/w_remainderf.c (__remainderf): Likewise.
47633 * math/libm-test.inc (remainder_test): Add test cases.
47635 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47637 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47640 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47642 * string/test-memcmp.c: Avoid unncessary #defines.
47643 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47645 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47647 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47648 Use new sse2 version for core i3 - i7 as it's faster
47649 than sse42 version.
47650 (bit_Prefer_PMINUB_for_stringop): New.
47651 * sysdeps/x86_64/rawmemchr.S: Update.
47652 Replace with faster SSE2 version.
47653 * sysdeps/x86_64/memrchr.S: New file.
47654 * sysdeps/x86_64/memchr.S: Update.
47655 Replace with faster SSE2 version.
47657 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47659 * elf/dl-load.c (lose): Add cast to avoid warning.
47661 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47663 * po/ca.po: Update from translation team.
47665 * inet/getnetgrent_r.c: Hook up nscd.
47666 * nscd/Makefile (routines): Add nscd_netgroup.
47667 (nscd-modules): Add netgroupcache.
47668 (CFLAGS-netgroupcache.c): Define.
47669 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47670 (cache_search): Add const to second parameter.
47671 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47673 (dbs): Add netgrdb entry.
47674 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47675 (verify_persistent_db): Handle netgrdb.
47676 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47677 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47679 (netgroup_response_header): Define.
47680 (innetgroup_response_header): Define.
47681 (datahead): Add netgroup_response_header and innetgroup_response_header
47683 * nscd/nscd.conf: Add entries for netgroup cache.
47684 * nscd/nscd.h (dbtype): Add netgrdb.
47685 (_PATH_NSCD_NETGROUP_DB): Define.
47686 (netgroup_iov_disabled): Declare.
47687 (xmalloc, xcalloc, xrealloc): Move declarations here.
47688 (cache_search): Adjust prototype.
47689 Add netgroup-related prototypes.
47690 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47691 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47692 (__nscd_innetgr): Declare.
47693 * nscd/selinux.c (perms): Use access_vector_t as element type and
47694 add netgroup-related initializers.
47695 * nscd/netgroupcache.c: New file.
47696 * nscd/nscd_netgroup.c: New file.
47697 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47698 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47699 For four parameters use innetgr.
47700 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47701 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47702 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47703 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47705 * nscd/connections.c (register_traced_file): Don't register file
47706 for disabled databases.
47708 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47710 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47712 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47713 from tree and freeing node.
47715 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47717 * nss/nsswitch.c (__nss_database_lookup): Handle
47718 nss_parse_service_list out of memory case.
47720 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47722 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47723 out of memory case.
47725 2011-10-04 Andreas Schwab <schwab@redhat.com>
47727 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47728 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47730 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47731 elf_machine_rela, elf_machine_lazy_rel.
47732 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47733 (ELF_DYNAMIC_DO_REL): Likewise.
47734 (ELF_DYNAMIC_DO_RELA): Likewise.
47735 (ELF_DYNAMIC_RELOCATE): Likewise.
47736 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47737 to ELF_DYNAMIC_DO_REL.
47738 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47739 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47740 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47743 skip_ifunc, don't call ifunc function if non-zero.
47744 (elf_machine_rela): Likewise.
47745 (elf_machine_lazy_rel): Likewise.
47746 (elf_machine_lazy_rela): Likewise.
47747 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47748 (elf_machine_lazy_rel): Likewise.
47749 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47751 (elf_machine_lazy_rel): Likewise.
47752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47754 (elf_machine_lazy_rel): Likewise.
47755 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47756 (elf_machine_lazy_rel): Likewise.
47757 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47758 (elf_machine_lazy_rel): Likewise.
47759 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47760 (elf_machine_lazy_rel): Likewise.
47761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47762 (elf_machine_lazy_rel): Likewise.
47763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47764 (elf_machine_lazy_rel): Likewise.
47765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47766 (elf_machine_lazy_rel): Likewise.
47768 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47770 * nss/nss_files/files-init.c (_nss_files_init): Use static
47771 initialization for all the *_traced_file variables.
47773 2011-09-28 Andreas Schwab <schwab@redhat.com>
47775 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47777 2011-09-27 Roland McGrath <roland@hack.frob.com>
47780 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47782 2011-09-27 Andreas Schwab <schwab@redhat.com>
47784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47785 Reread the line before reparsing it.
47787 2011-09-26 Andreas Schwab <schwab@redhat.com>
47789 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47791 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47792 Maxim Kuvyrkov <maxim@codesourcery.com>
47793 Joseph Myers <joseph@codesourcery.com>
47795 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47796 if needed for __stack_chk_guard.
47798 2011-09-19 Roland McGrath <roland@hack.frob.com>
47800 * sysdeps/posix/spawni.c (script_execute): Always define it.
47801 It will be optimized away if unused.
47802 (maybe_script_execute): New function.
47803 (__spawni): Call it.
47805 * Makerules: Don't include tls.make.
47806 (config-tls): Always set to thread.
47807 * tls.make.c: File removed.
47809 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47811 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47812 * config.make.in (CPPFLAGS-config): New substituted variable.
47814 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47816 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47819 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47820 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47822 2011-09-15 Roland McGrath <roland@hack.frob.com>
47824 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47825 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47827 (CALL_FAIL): Likewise.
47828 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47829 (CALL_FAIL): Macro removed.
47830 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47832 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47834 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47835 for __FINITE_MATH_ONLY__ == 1.
47837 2011-09-15 Andreas Schwab <schwab@redhat.com>
47839 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47840 __ieee754_sqrt instead of sqrt.
47841 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47842 __ieee754_sqrtf instead of sqrtf.
47843 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47844 __floorf instead of floorf.
47845 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47846 __floorf, __truncf instead of floorf, truncf.
47848 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47850 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47852 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47853 __extern_always_inline.
47854 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47857 2011-09-14 Andreas Schwab <schwab@redhat.com>
47859 * elf/rtld.c (dl_main): Also relocate in dependency order when
47860 doing symbol dependency testing.
47862 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47865 Always define `refsym'.
47867 2011-09-13 Andreas Schwab <schwab@redhat.com>
47869 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47870 (__FD_ELT): Renamed from __FDELT.
47871 * misc/bits/select2.h (__FD_ELT): Likewise.
47872 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47873 __FD_MASK instead of __FDELT, __FDMASK.
47874 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47876 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47879 * elf/Makefile (gen-ldd): Fix pattern.
47881 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47882 (init_tls): Likewise.
47884 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47888 2011-09-12 Andreas Schwab <schwab@redhat.com>
47890 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47891 `struct cmsghdr *' instead of `void *'.
47892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47895 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47897 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47899 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47900 ldd_rewrite_script.
47902 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47904 * configure.in: Remove --with-tls option.
47905 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47906 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47907 out in case it is missing.
47908 * sysdeps/ia64/elf/configure.in: Likewise.
47909 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47910 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47911 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47912 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47913 * sysdeps/sh/elf/configure.in: Likewise.
47914 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47915 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47916 * sysdeps/x86_64/elf/configure.in: Likewise.
47917 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47918 * sysdeps/mach/hurd/tls.h: Likewise.
47921 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47924 * configure.in: Fix use of AC_INIT.
47926 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47928 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47930 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47932 * malloc/hooks.c: Likewise.
47935 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47936 variables statically.
47937 (narenas): Initialize.
47938 (list_lock): Initialize.
47939 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47940 initializtion of main_arena and list_lock. Small cleanups.
47941 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47942 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47943 Add initializers to main_arena and mp_.
47944 (malloc_state): Remove pagesize member. Change all users to use
47947 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47948 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47949 is always initialized.
47951 * malloc/malloc.c: Removed unused configurations and dead code.
47952 * malloc/arena.c: Likewise.
47953 * malloc/hooks.c: Likewise.
47954 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47956 * include/tls.h: Removed. USE___THREAD must always be defined.
47957 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47958 * elf/dl-libc.c: Likewise.
47959 * elf/dl-tsd.c: Likewise.
47960 * include/errno.h: Likewise.
47961 * include/netdb.h: Likewise.
47962 * include/resolv.h: Likewise.
47963 * inet/herrno-loc.c: Likewise.
47964 * inet/herrno.c: Likewise.
47965 * malloc/arena.c: Likewise.
47966 * malloc/hooks.c: Likewise.
47967 * malloc/malloc.c: Likewise.
47968 * resolv/res-state.c: Likewise.
47969 * resolv/res_libc.c: Likewise.
47970 * sysdeps/i386/dl-machine.h: Likewise.
47971 * sysdeps/ia64/dl-machine.h: Likewise.
47972 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47973 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47974 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47975 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47976 * sysdeps/sh/dl-machine.h: Likewise.
47977 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47978 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47979 * sysdeps/unix/i386/sysdep.S: Likewise.
47980 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47981 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47986 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47991 * sysdeps/x86_64/dl-machine.h: Likewise.
47992 * tls.make.c: Likewise.
47994 * configure.in: Remove --with-__thread option. Make tests for
47995 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47996 tls_model attribute fail if no support is available. Remove
47998 * Makeconfig: Adjust for dropped configure option. All features are
48000 * Makerules: Likewise.
48001 * Versions.def: Likewise.
48002 * argp/argp-fmtstream.c: Likewise.
48003 * argp/argp-fmtstream.h: Likewise.
48004 * argp/argp-help.c: Likewise.
48005 * assert/assert.c: Likewise.
48006 * config.h.in: Likewise.
48007 * config.make.in: Likewise.
48008 * configure: Likewise.
48009 * configure.in: Likewise.
48010 * csu/Versions: Likewise.
48011 * csu/init.c: Likewise.
48012 * elf/tst-audit2.c: Likewise.
48013 * elf/tst-tls10.c: Likewise.
48014 * elf/tst-tls10.h: Likewise.
48015 * elf/tst-tls11.c: Likewise.
48016 * elf/tst-tls12.c: Likewise.
48017 * elf/tst-tls14.c: Likewise.
48018 * elf/tst-tlsmod11.c: Likewise.
48019 * elf/tst-tlsmod12.c: Likewise.
48020 * elf/tst-tlsmod13.c: Likewise.
48021 * elf/tst-tlsmod13a.c: Likewise.
48022 * elf/tst-tlsmod14a.c: Likewise.
48023 * elf/tst-tlsmod15b.c: Likewise.
48024 * elf/tst-tlsmod16a.c: Likewise.
48025 * elf/tst-tlsmod16b.c: Likewise.
48026 * elf/tst-tlsmod7.c: Likewise.
48027 * elf/tst-tlsmod8.c: Likewise.
48028 * elf/tst-tlsmod9.c: Likewise.
48029 * gmon/gmon.c: Likewise.
48030 * grp/fgetgrent_r.c: Likewise.
48031 * grp/putgrent.c: Likewise.
48032 * hurd/fopenport.c: Likewise.
48033 * include/libc-symbols.h: Likewise.
48034 * include/tls.h: Likewise.
48035 * intl/gettextP.h: Likewise.
48036 * intl/loadinfo.h: Likewise.
48037 * locale/global-locale.c: Likewise.
48038 * locale/localeinfo.h: Likewise.
48039 * mach/devstream.c: Likewise.
48040 * malloc/arena.c: Likewise.
48041 * malloc/set-freeres.c: Likewise.
48042 * misc/err.c: Likewise.
48043 * misc/getttyent.c: Likewise.
48044 * misc/mntent_r.c: Likewise.
48045 * posix/getopt.c: Likewise.
48046 * posix/wordexp.c: Likewise.
48047 * pwd/fgetpwent_r.c: Likewise.
48048 * resolv/Versions: Likewise.
48049 * resolv/res_hconf.c: Likewise.
48050 * shadow/fgetspent_r.c: Likewise.
48051 * shadow/putspent.c: Likewise.
48052 * stdio-common/printf_fphex.c: Likewise.
48053 * stdio-common/tmpfile.c: Likewise.
48054 * stdlib/abort.c: Likewise.
48055 * stdlib/fmtmsg.c: Likewise.
48056 * sunrpc/auth_unix.c: Likewise.
48057 * sunrpc/clnt_perr.c: Likewise.
48058 * sunrpc/clnt_tcp.c: Likewise.
48059 * sunrpc/clnt_udp.c: Likewise.
48060 * sunrpc/clnt_unix.c: Likewise.
48061 * sunrpc/openchild.c: Likewise.
48062 * sunrpc/svc_simple.c: Likewise.
48063 * sunrpc/svc_tcp.c: Likewise.
48064 * sunrpc/svc_udp.c: Likewise.
48065 * sunrpc/svc_unix.c: Likewise.
48066 * sunrpc/xdr.c: Likewise.
48067 * sunrpc/xdr_array.c: Likewise.
48068 * sunrpc/xdr_rec.c: Likewise.
48069 * sunrpc/xdr_ref.c: Likewise.
48070 * sunrpc/xdr_stdio.c: Likewise.
48072 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48074 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48076 2011-07-03 Andreas Jaeger <aj@suse.de>
48078 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48079 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48080 regenerate with gen-libm-tests.pl.
48082 2010-05-12 Petr Baudis <pasky@suse.cz>
48085 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48086 around j0() zero points by switching to j1().
48087 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48088 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48092 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48094 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48096 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48099 Patch in part by Pavel Roskin <proski@gnu.org>.
48102 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48104 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48105 Free memory block if necessary.
48108 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48109 be NULL. Don't lock in this case.
48111 2011-09-09 Roland McGrath <roland@hack.frob.com>
48113 * elf/elf.h (ELFOSABI_GNU): New macro.
48114 (ELFOSABI_LINUX): Define to that.
48116 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48118 * string/strncat.c (strncat): Undef the symbol in case it has been
48119 defined in bits/string.h.
48121 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48123 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48125 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48128 2011-08-17 Andreas Jaeger <aj@suse.de>
48130 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48132 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48133 Ian Lance Taylor <iant@google.com>
48135 * math/libm-test.inc (lround_test): New testcase.
48136 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48138 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48140 * Makefile: Remove support for automatic cvs check-ins.
48141 * Makerules: Likewise.
48142 * config.make.in: Likewise.
48143 * configure.in: Likewise.
48144 * intl/Makefile: Likewise.
48145 * locale/Makefile: Likewise.
48146 * po/Makefile: Likewise.
48147 * posix/Makefile: Likewise.
48148 * sysdeps/gnu/Makefile: Likewise.
48149 * sysdeps/mach/hurd/Makefile: Likewise.
48150 * sysdeps/sparc/sparc32/Makefile: Likewise.
48153 * posix/Makefile (bug-regex32-ENV): Define.
48154 Patch by John Stanley <jpsinthemix@verizon.net>.
48156 * misc/Makefile (headers): Add bits/select2.h.
48157 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48158 * misc/bits/select2.h: New file.
48159 * include/bits/select2.h: New file.
48160 * debug/Makefile (routines): Add fdelt_chk.
48161 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48162 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48164 * debug/fdelt_chk.c: New file.
48166 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48167 * wcsmbs/test-wmemcmp.c: Likewise.
48168 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48169 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48171 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48173 * string/Makefile (strop-tests): Add memcmp.
48174 * string/test-wmemcmp.c: New file.
48175 * string/test-memcmp.c: Add wmemcmp support.
48177 2011-09-08 Roland McGrath <roland@hack.frob.com>
48180 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48183 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48184 garbage value in a __mach_port_mod_refs call in the cases of the
48185 task-self and thread-self ports.
48187 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48189 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48191 2011-09-08 Andreas Schwab <schwab@redhat.com>
48193 * elf/dl-load.c (lose): Check for non-null L.
48195 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48197 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48199 * elf/dl-libc.c (dlerror_run): Pass back error code from
48203 * elf/dl-load.c (lose): Free l_origin if it is valid.
48205 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48207 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48208 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48209 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48211 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48212 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48214 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48216 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48217 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48218 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48219 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48220 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48221 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48222 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48223 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48224 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48225 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48227 2011-08-15 Alan Modra <amodra@gmail.com>
48230 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48231 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48232 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48233 ppc_mcount to static-only-routines.
48234 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48236 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48237 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48239 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48241 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48242 for finite and infinity parameters.
48244 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48247 and add nop instructions for throughput optimization.
48248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48250 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48253 aligned copy for power7 with vector-scalar instructions.
48254 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48256 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48261 2011-09-07 Andreas Schwab <schwab@redhat.com>
48264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48267 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48269 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48270 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48271 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48272 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48275 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48277 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48278 Forgot to demangle the pointer.
48280 * sysdeps/i386/sysdep.h: Define atom_text_section.
48281 * sysdeps/x86_64/sysdep.h: Likewise.
48282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48283 section with atom_text_section.
48284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48285 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48286 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48288 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48290 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48292 already be defined. Change to take two parameters and don't assign
48293 result to variable. Adjust all users.
48294 Define INTERNAL_GETTIME if not already defined.
48295 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48298 HAVE_CLOCK_GETTIME_VSYSCALL.
48299 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48302 gettimeofday vsyscall, just use time.
48304 2011-09-06 Andreas Schwab <schwab@redhat.com>
48306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48309 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48311 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48315 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48317 syscall if possible.
48319 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48321 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48322 e_ident. Don't pass to find_mapsXX.
48323 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48325 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48328 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48329 * sysdeps/x86_64/multiarch/strchr.S: Update.
48330 Check bit_slow_BSF bit.
48331 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48332 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48333 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48338 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48340 (tryshell): Define.
48341 (__spawni): Change last parameter to be flag. Test
48342 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48343 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48344 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48345 * posix/spawni.c: Likewise.
48346 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48347 * posix/spawnp.c: Likewise. Change normal version to use
48348 SPAWN_XFLAGS_USE_PATH.
48349 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48350 SPAWN_XFLAGS_TRY_SHELL.
48353 * posix/glob.h: Remove gcc 1.x support.
48356 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48358 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48361 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48363 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48364 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48365 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48366 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48367 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48368 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48370 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48372 * sysdeps/x86_64/wcscmp.S: New file.
48374 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48375 wcscmp-c wcscmp-sse2
48376 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48377 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48378 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48379 * wcsmbs/wcscmp.c: Allow renaming.
48381 2011-09-05 David S. Miller <davem@davemloft.net>
48383 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48384 stack slot, rather than the struct return pointer slot.
48385 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48386 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48388 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48390 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48392 * po/ja.po: Update from translation team.
48395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48396 kernel in 64-bit binaries.
48398 2011-09-01 David S. Miller <davem@davemloft.net>
48400 * elf/elf.h (HWCAP_SPARC_*): Move to..
48401 * sysdeps/sparc/sysdep.h: this new file and add new values.
48402 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48403 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48404 _DL_HWCAP_COUNT to 24.
48405 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48407 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48408 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48409 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48411 instead of magic constants.
48412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48414 2011-08-31 David S. Miller <davem@davemloft.net>
48416 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48418 Reimplement to do errno handling inline.
48419 (SYSCALL_ERROR_HANDLER): New macro.
48420 (__SYSCALL_STRING): Do not do errno handling in asm.
48421 (__CLONE_SYSCALL_STRING): Delete.
48422 (__INTERNAL_SYSCALL_STRING): Delete.
48423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48424 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48425 (PSEUDO): Reimplement to do errno handling inline.
48426 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48427 (SYSCALL_ERROR_HANDLER): New macro.
48428 (__SYSCALL_STRING): Do not do errno handling in asm.
48429 (__CLONE_SYSCALL_STRING): Delete.
48430 (__INTERNAL_SYSCALL_STRING): Delete.
48431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48432 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48434 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48435 (inline_syscall*): Add 'err' argument.
48436 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48437 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48438 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48439 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48441 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48442 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48444 2011-08-30 Andreas Schwab <schwab@redhat.com>
48446 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48448 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48450 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48453 2011-08-24 David S. Miller <davem@davemloft.net>
48455 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48457 2011-08-24 Andreas Schwab <schwab@redhat.com>
48459 * elf/Makefile: Add rules to build and run unload8 test.
48460 * elf/unload8.c: New file.
48461 * elf/unload8mod1.c: New file.
48462 * elf/unload8mod1x.c: New file.
48463 * elf/unload8mod2.c: New file.
48464 * elf/unload8mod3.c: New file.
48466 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48469 2011-08-23 David S. Miller <davem@davemloft.net>
48471 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48472 subtract stack bias.
48473 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48474 %sp not %fp in calculations.
48475 (_JMPBUF_UNWINDS_ADJ): Likewise.
48477 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48478 (aio_suspend): Call it to force an exception region around the
48479 AIO_MISC_WAIT() invocation.
48481 2011-08-23 Andreas Schwab <schwab@redhat.com>
48483 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48486 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48488 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48490 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48491 and <dl-machine.h>.
48492 (Elf64_FuncDesc): Remove.
48494 2011-08-22 David S. Miller <davem@davemloft.net>
48496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48497 sigaltstack check, add missing cfi directives.
48498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48499 missing cfi directives, and sigaltstack handling.
48501 2011-08-16 Andreas Schwab <schwab@redhat.com>
48504 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48505 object is seen twice.
48506 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48508 * elf/Makefile (distribute): Add tst-initorder2.c.
48509 (tests): Add tst-initorder2.
48510 (modules-names): Add tst-initorder2a tst-initorder2b
48511 tst-initorder2c tst-initorder2d. Add rules to build them.
48512 ($(objpfx)tst-initorder2.out): New rule.
48513 * elf/tst-initorder2.c: New file.
48514 * elf/tst-initorder2.exp: New file.
48516 2011-08-22 Andreas Schwab <schwab@redhat.com>
48518 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48520 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48521 dependencies back to end of function.
48523 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48524 $(elfobjdir)/ld.so.
48526 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48529 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48531 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48532 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48533 of __vdso_gettimeofday.
48534 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48535 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48537 (_libc_vdso_platform_setup): Remove initialization of
48538 __vdso_gettimeofday and __vdso_time.
48540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48542 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48543 and fgetc_unlocked.
48544 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48547 * elf/dl-open.c (add_to_global): Report additions to the global scope
48548 for LD_DEBUG=scopes.
48549 (dl_open_worker): Also print scope of newly loaded dependencies.
48550 (_dl_show_scope): Indicate if there is no scope.
48553 * stdio-common/Makefile (tests): Add bug24.
48554 * stdio-common/bug24.c: New file.
48556 2011-08-19 Andreas Jaeger <aj@suse.de>
48559 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48560 non-existant file when using close-on-exec mode.
48562 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48565 the very first instruction.
48567 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48568 the CFI state in the end.
48569 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48570 inclusion of dl-trampoline.h.
48571 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48573 2011-08-19 Andreas Schwab <schwab@redhat.com>
48575 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48576 expectations for long double.
48578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48579 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48581 2011-08-14 David S. Miller <davem@davemloft.net>
48583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48584 artificual limit depends upon the system page size.
48586 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48588 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48589 * resolv/Makefile: Define CFLAGS-libresolv.
48591 2011-08-17 Andreas Schwab <schwab@redhat.com>
48593 * nss/makedb.c (compute_tables): Make variables used in nested
48596 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48598 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48599 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48600 if buffer was too small.
48602 * elf/pldd.c (main): Attach to all threads in the process.
48603 Rewrite /proc handling to use *at functions.
48605 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48607 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48608 specifies first scope to show.
48609 (dl_open_worker): Update callers. Move printing scope of new
48610 object to before the relocation.
48611 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48612 * sysdeps/generic/ldsodefs.h: Update declaration.
48614 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48615 string for the scope number.
48617 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48619 * nscd/servicescache.c (cache_addserv): Make sure written is always
48622 2011-08-14 Roland McGrath <roland@hack.frob.com>
48624 * sysdeps/i386/i486/bits/atomic.h
48625 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48626 statement expression, so as to suppress "set but not used" warning.
48627 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48629 * string/strncat.c (STRNCAT): Use prototype definition.
48631 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48632 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48634 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48635 (localedef-modules): Add localedef.
48636 (locale-modules): Add locale.
48638 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48639 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48640 to avoid a warning.
48642 2011-08-14 David S. Miller <davem@davemloft.net>
48644 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48645 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48647 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48649 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48650 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48651 * elf/rtld.c (dl_main): Set l_name of vDSO.
48652 Call _dl_show_scope when DL_DEBUG_SCOPES.
48653 (process_dl_debug): Recognize scopes flag and also set it for all.
48654 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48655 Declare _dl_show_scope.
48657 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48658 (do_dlopen): Pass caller_dlopen to dl_open.
48659 (__libc_dlopen_mode): Initialize caller_dlopen.
48661 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48662 of libc. Make tolower call locale-independent. Optimize a bit by
48663 using isdigit instead of isalnum.
48664 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48666 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48668 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48669 was a dependency or dynamically loaded.
48671 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48673 * intl/l10nflist.c: Allow architecture-specific pop function.
48674 * sysdeps/x86_64/l10nflist.c: New file.
48676 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48679 2011-08-10 Andreas Schwab <schwab@redhat.com>
48681 * include/dirent.h: Add libc_hidden_proto for scandirat and
48682 scandirat64. Don't declare __scandirat64.
48683 * dirent/scandirat.c: Add libc_hidden_def.
48684 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48685 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48687 2011-08-10 David S. Miller <davem@davemloft.net>
48689 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48695 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48697 * Versions.def [libc]: Add GLIBC_2.15.
48698 * dirent/Makefile (routines): Add scandirat and scandirat64.
48699 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48701 * dirent/dirent.h: Declare scandirat and scandirat64.
48702 * dirent/scandirat.c: New file.
48703 * dirent/scandirat64.c: New file.
48704 * sysdeps/wordsize-64/scandirat.c: New file.
48705 * sysdeps/wordsize-64/scandirat64.c: New file.
48706 * dirent/opendir.c: Define opendirat.
48707 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48709 * dirent/scandir64.c: Adjust for scandir.c change.
48710 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48711 __scandirat64, and __scandir_cancel_handler.
48712 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48713 additional parameter and use openat instead of open (outside of ld.so).
48714 Add new __opendir as wrapper around __opendirat.
48715 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48716 here without requiring old scandirat implementation.
48718 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48720 * dirent/scandir.c (cancel_handler): Renamed to
48721 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48722 defined. Adjust users.
48723 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48724 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48726 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48728 * string/test-string.h (IMPL): Use __STRING to expand name and then
48731 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48734 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48736 * string/Makefile: Update.
48737 (strop-tests): Append strncat.
48738 * string/test-wcscmp.c: New file.
48739 New comprehensive test for wcscmp.
48740 * string/test-strcmp.c: Update.
48741 (WIDE): New define.
48743 2011-07-22 Andreas Schwab <schwab@redhat.com>
48745 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48748 2011-07-26 Andreas Schwab <schwab@redhat.com>
48750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48751 encoding to ACE if AI_IDN.
48753 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48756 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48758 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48760 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48761 Fix overflow bug in strncat.
48762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48764 * string/test-strncat.c: Update.
48765 Add new tests for checking overflow bugs.
48767 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48770 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48771 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48772 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48773 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48774 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48775 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48776 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48777 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48780 (USE_AS_STRCAT): Define.
48781 Add strcat and strncat support.
48782 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48784 2011-07-25 Andreas Schwab <schwab@redhat.com>
48786 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48787 __n bigger than INT_MAX+1.
48788 (__strncmp_g): Likewise.
48790 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48792 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48793 * libio/stido.h: Likewise.
48795 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48800 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48801 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48802 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48804 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48807 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48812 (_dl_x86_64_save_sse): Likewise.
48814 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48818 (_dl_x86_64_save_sse): Likewise.
48820 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48822 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48824 2011-07-21 Andreas Schwab <schwab@redhat.com>
48826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48828 (_dl_x86_64_save_sse): Use correct AVX check.
48830 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48833 bug in strncpy/strncat.
48834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48836 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48838 * string/tester.c (test_strcat): Add tests for different alignments
48839 of source and destination.
48840 (test_strncat): Likewise.
48842 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48845 * posix/glob.c (glob): Check passed in values before using them in
48846 expressions to avoid some overflows.
48847 (glob_in_dir): Likewise.
48850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48851 check for AVX enablement so that we don't crash with old kernels and
48853 * elf/tst-audit4.c: Add same checks here.
48854 * elf/tst-audit6.c: Likewise.
48856 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48858 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48860 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48862 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48864 * po/cs.po: Update from translation team.
48865 * po/bg.po: Likewise.
48867 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48869 * misc/sys/cdefs.h: Add support for const attribute.
48870 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48871 to gnu_dev_{major,minor,makedev} functions.
48873 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48875 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48877 2011-07-20 Andreas Schwab <schwab@redhat.com>
48879 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48882 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48885 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48886 register in order to avoid conflicts with the soft frame pointer
48887 being held in r11 when necessary.
48888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48889 (INTERNAL_VSYSCALL_NCS): Likewise.
48891 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48893 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48894 * elf/dl-fini.c (_dl_fini): Adjust caller.
48895 * elf/dl-close.c (_dl_close_worker): Likewise.
48896 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48898 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48900 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48901 "aux_cache->nlibs < 0".
48903 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48904 in the reload-count case.
48906 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48909 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48910 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48911 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48912 * sysdeps/x86_64/multiarch/strcat.S: New file.
48913 * sysdeps/x86_64/multiarch/strncat.S: New file.
48914 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48916 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48917 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48919 (USE_AS_STRCAT): Define.
48920 Add strcat and strncat support.
48921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48923 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48924 * string/strncat.c: Update.
48925 (USE_AS_STRNCAT): Define.
48926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48927 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48929 * sysdeps/x86_64/multiarch/init-arch.h
48930 (bit_Prefer_PMINUB_for_stringop): New.
48931 (index_Prefer_PMINUB_for_stringop): Likewise.
48932 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48933 bit_Prefer_PMINUB_for_stringop.
48935 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48937 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48939 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48940 of casting of buffer.
48941 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48942 buffer32 and buffer64.
48943 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48944 writes instead of casting of buffer.
48945 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48947 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48950 2011-07-19 Andreas Schwab <schwab@redhat.com>
48952 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48954 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48956 * nscd/nscd.c (termination_handler): Don't do anything for a database
48957 if it has not yet been initialized.
48959 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48961 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48963 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48965 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48967 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48969 * po/nl.po: Update from translation team.
48970 * po/sv.po: Likewise.
48972 2011-07-16 Roland McGrath <roland@hack.frob.com>
48974 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48975 now disallowed by GCC.
48977 * configure.in (use-default-link): Default to yes if a test -shared
48978 link meets our qualifications.
48979 * configure: Regenerated.
48981 * config.make.in (output-format): New variable.
48982 * configure.in: Check for ld --print-output-format support.
48983 * configure: Regenerated.
48984 * Makerules ($(common-objpfx)format.lds)
48985 [$(output-format) != unknown]: Just use $(output-format),
48986 instead of the linker-script munging.
48988 2011-07-14 Roland McGrath <roland@hack.frob.com>
48990 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48991 of $(common-objpfx)shlib.lds.
48992 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48994 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48995 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48997 * configure.in (-z relro check): Adjust test code to add a large
48998 writable data section after it.
48999 * configure: Regenerated.
49001 2011-07-11 Roland McGrath <roland@hack.frob.com>
49003 * configure.in (-z relro check): Fix test code to make the variable
49005 * configure: Regenerated.
49007 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49009 * nscd/nscd.h (struct traced_file): Define.
49010 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49011 elements. Add traced_files.
49012 (inotify_fd): Declare.
49013 (register_traced_file): Declare.
49014 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49015 (inotify_fd): Export.
49016 (resolv_conf_descr): Remove.
49017 (nscd_init): Move inotify descriptor creation to main.
49018 Don't register files for notification here.
49019 (register_traced_file): New function.
49020 (invalidate_cache): Don't use reset_res to determine whether to call
49021 res_init, go through the list of registered files.
49022 (main_loop_poll): The inotify descriptors are now stored in the
49023 structures for the traced files.
49024 (main_loop_epoll): Likewise
49025 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49026 to __nss_disable_nscd.
49027 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49028 for a database anymore. Check the records for all the registered
49030 * nss/Makefile (libnss_files-routines): Add files-init.
49031 (libnss_db-routines): Add db-init.
49032 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49033 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49034 * nss/nss_db/db-init.c: New file.
49035 * nss/nss_files/files-init.c: New file.
49036 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49037 __nss_lookup_function.
49038 (__nss_lookup_function): Call nss_load_library.
49039 (nss_load_all_libraries): New function.
49040 (__nss_disable_nscd): Take parameter with callback function for files
49041 to register. Set is_nscd. Load all the DSOs for the NSS modules
49042 used for the cached services.
49043 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49044 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49045 options for features to all the files in nscd.
49047 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49049 2011-07-10 Roland McGrath <roland@hack.frob.com>
49051 * csu/elf-init.c (__libc_csu_init): Comment typo.
49053 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49055 * po/pl.po: Update from translation team.
49056 * po/ja.po: Likewise.
49057 * po/ru.po: Likewise.
49058 * po/ko.po: Likewise.
49059 * po/fr.po: Likewise.
49061 2011-07-09 Roland McGrath <roland@hack.frob.com>
49063 * configure.in (.ctors/.dtors header and trailer check):
49064 Use an empirical test on a built program.
49065 * configure: Regenerated.
49067 * configure.in (-z relro check): Use an empirical test on a built DSO.
49068 Detect, but do not require, on ia64.
49069 * configure: Regenerated.
49071 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49072 Update tests that use readelf to use $READELF instead.
49073 * configure: Regenerated.
49075 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49077 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49078 if the result is not used.
49080 2011-07-05 Andreas Jaeger <aj@suse.de>
49083 * stdlib/tst-strtod.c: Add testcase.
49085 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49087 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49088 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49089 The latter has a higher limit. Take additional parameter to pass to
49091 (__pathconf): Pass file to __statfs_link_max.
49092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49094 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49098 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49099 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49102 (__statfs_filesize_max): Likewise.
49103 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49105 2011-07-05 Andreas Jaeger <aj@suse.de>
49107 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49109 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49111 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49113 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49116 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49118 * Makefile (strop-tests): Add strncat.
49119 * string/test-strncat.c: New file.
49121 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49123 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49125 2011-06-21 Andreas Jaeger <aj@suse.de>
49127 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49128 Copy rule from iconvdata/Makefile.
49130 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49133 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49134 but no long options are defined, just return 'W'.
49136 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49139 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49141 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49143 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49145 (innetgr): Likewise.
49147 2011-07-05 Roland McGrath <roland@hack.frob.com>
49149 * config.make.in (install_root): Default to $(DESTDIR).
49151 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49155 2011-07-02 Roland McGrath <roland@hack.frob.com>
49157 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49159 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49160 containing directory rather than embedding absolute directory names.
49162 * scripts/check-local-headers.sh: Rewritten using awk.
49163 Match by word, not by line. Print error messages for matches.
49164 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49166 * Makerules [shlib-lds-flags empty]:
49167 ($(common-objpfx)libc_pic.opts): New target.
49168 ($(common-objpfx)libc_pic.os.clean): New target.
49169 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49171 * config.make.in (OBJCOPY): New variable.
49172 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49173 * configure: Regenerated.
49175 * config.make.in (use-default-link): New variable.
49176 * configure.in (use_default_link): Grok --with-default-link to set it.
49177 * configure: Regenerated.
49178 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49179 (shlib-lds, shlib-lds-flags): Define to empty.
49181 * Makerules (shlib-lds): New variable.
49182 (shlib-lds-flags): New variable.
49183 (build-shlib, build-moduile, build-module-asneeded): Use it.
49184 ($(common-objpfx)libc.so): Use $(shlib-lds).
49185 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49186 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49188 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49189 DT_FLAGS/DT_FLAGS_1 with zero flags.
49191 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49192 linker script munging.
49194 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49196 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49198 * crypt/sha512.c (sha512_process_block): Perform total addition using
49199 128-bit if possible.
49200 (__sha512_finish_ctx): Likewise.
49201 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49203 * crypt/sha256.c (SWAP64): Define.
49204 (sha256_process_block): Perform total addition using 64-bit if
49206 (__sha256_finish_ctx): Likewise.
49208 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49210 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49212 * nscd/hstcache.c (cache_addhst): Likewise.
49213 * nscd/grpcache.c (cache_addgr): Likewise.
49214 * nscd/aicache.c (addhstaiX): Likewise
49215 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49217 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49219 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49221 * nscd/hstcache.c (cache_addhst): Likewise.
49222 * nscd/grpcache.c (cache_addgr): Likewise.
49223 * nscd/aicache.c (addhstaiX): Likewise
49225 2011-07-01 Andreas Schwab <schwab@redhat.com>
49227 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49228 domain only when needed.
49230 2011-06-30 Andreas Schwab <schwab@redhat.com>
49232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49233 is always restored.
49235 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49237 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49238 are re-adding the entry.
49239 * nscd/servicescache.c (cache_addserv): Likewise.
49241 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49243 * sysdeps/generic/dl-irel.h: fix protection against multiple
49245 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49247 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49250 * malloc/memusage.sh: Fix quoting in message.
49251 * debug/xtrace.sh: Likewise.
49253 * configure.in: Remove support for --experimental-malloc option, make
49255 * config.make.in: Likewise.
49256 * malloc/Makefile: Likewise.
49258 2011-06-27 Andreas Schwab <schwab@redhat.com>
49260 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49261 two-byte characters.
49263 2011-06-27 Roland McGrath <roland@hack.frob.com>
49265 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49266 AC_CACHE_CHECK invocation.
49267 * configure: Regenerated.
49269 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49271 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49274 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49275 bit from old_res_options.
49277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49279 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49280 value type for setfct.
49282 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49285 __gettimeofday instead of gettimeofday.
49287 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49289 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49291 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49298 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49301 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49302 strcpy-sse2-unaligned strncpy-sse2-unaligned
49303 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49304 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49305 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49306 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49307 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49310 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49311 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49312 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49313 (STRCPY): Support SSE2 and SSSE3 versions.
49315 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49318 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49319 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49320 kernels which artificially limit size of requests.
49322 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49325 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49326 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49327 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49328 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49329 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49330 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49331 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49334 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49335 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49336 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49337 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49338 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49340 Enable unaligned load optimization for Intel Core i3, i5 and i7
49342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49344 (index_Fast_Unaligned_Load): Define.
49345 (HAS_FAST_UNALIGNED_LOAD): Define.
49347 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49349 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49351 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49354 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49355 until it is clear that the information is realy needed.
49356 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49358 2011-06-22 Andreas Schwab <schwab@redhat.com>
49360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49362 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49365 /sys/devices/system/cpu/online if it is usable.
49367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49368 reading the information from the /proc filesystem to once a second.
49370 2011-06-21 Andreas Jaeger <aj@suse.de>
49372 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49373 NULL after inclusion of kernel headers.
49375 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49377 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49378 calls to internal_setent.
49381 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49382 addresses using gethostbyname4_r ignore IPv4 addresses.
49384 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49385 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49387 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49389 2011-06-20 David S. Miller <davem@davemloft.net>
49391 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49393 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49395 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49396 (elf_irel): Use it.
49397 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49398 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49399 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49400 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49401 * sysdeps/x86_64/dl-irel.h: Likewise.
49403 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49404 * elf/dl-sym.c: Likewise.
49406 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49408 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49409 need to dereference resplen2.
49411 2011-06-14 Andreas Schwab <schwab@redhat.com>
49413 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49415 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49417 * Makeconfig: Define vardbdir and inst_vardbdir.
49418 * nss/Makefile: Add rules to install db-Makefile.
49420 * nss/nss_db/db-XXX.c: Cleanup.
49422 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49423 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49425 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49426 * nss/makedb.c: Implement -g option to specify that value strings
49427 are generated and should not be added to table iterated over for
49429 * nss/nss_db/db-initgroups.c: New file.
49431 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49434 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49435 (internal_getgrouplist): Adjust to name change.
49436 Update use_initgroups_entry if this is not the first call.
49437 * nss/databases.def: Add initgroups entry.
49439 * nss/makedb.c (compute_tables): Check result of multiple hash table
49440 sizes to minimize maximum chain length.
49442 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49444 * Versions.def: Add entry for libnss_db.
49445 * shlib-versions: Likewise.
49446 * nss/Makefile: Add rules to build libnss_db.
49447 * nss/Versions: Add libnss_db information. Organize libnss_files
49449 * nss/db-Makefile: Add gshadow support. Change rules for the new
49450 makedb progra. Some minor improvements to generate smaller files.
49451 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49453 * nss/makedb.c: ...here.
49454 Improve database format to be smaller and require less memory at
49456 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49458 * nss/nss_db/db-netgrp.c: Likewise.
49459 * nss/nss_db/db-open.c: Likewise.
49460 * nss/nss_files/flies-XXX.x: Adjust comments.
49461 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49462 * nss/nss_files/files-grp.c: Likewise.
49463 * nss/nss_files/files-hosts.c: Likewise.
49464 * nss/nss_files/files-network.c: Likewise.
49465 * nss/nss_files/files-proto.c: Likewise.
49466 * nss/nss_files/files-pwd.c: Likewise.
49467 * nss/nss_files/files-rpc.c: Likewise.
49468 * nss/nss_files/files-service.c: Likewise.
49469 * nss/nss_files/files-sgrp.c: Likewise.
49470 * nss/nss_files/files-spwd.c: Likewise.
49471 * nss/nss_db/db-alias.c: Removed.
49472 * nss/nss_db/dummy-db.h: Removed.
49474 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49476 * nss/makedb.c: Rewritten to not use database library.
49477 * nss/Makefile: Update to build new makedb program.
49479 2011-06-14 Andreas Jaeger <aj@suse.de>
49481 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49482 memset declaration.
49484 2011-06-10 Andreas Schwab <schwab@redhat.com>
49486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49489 2011-06-10 Roland McGrath <roland@hack.frob.com>
49491 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49492 * elf/Makefile ($(objpfx)ld.so): Likewise.
49494 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49495 Don't list ld.so twice in dependencies.
49497 * posix/bug-regex31.c: Include <stdlib.h>.
49499 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49501 * nis/nss_compat/compat-spwd.c
49502 (getspent_next_nss_netgr): Remove unused variable.
49503 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49505 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49506 nonmembers" output to use the right array.
49508 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49510 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49512 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49513 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49514 * catgets/gencat.c (read_input_file): Likewise.
49515 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49517 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49518 variable definition inside #if's controlling its use.
49520 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49522 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49524 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49526 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49529 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49531 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49532 * configure: Regenerated.
49534 * Makerules: Revert last change.
49535 * elf/Makefile: Likewise.
49537 2011-06-09 Roland McGrath <roland@hack.frob.com>
49539 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49540 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49541 (reloc-link): Likewise.
49543 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49545 * elf/Makefile: Add rules to build pldd.
49546 * elf/pldd.c: New file.
49547 * elf/pldd-xx.c: New file.
49549 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49551 * version.h: Update for 2.15 development version.
49553 2011-06-07 David S. Miller <davem@davemloft.net>
49555 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49558 elf_machine_lazy_rel): Likewise.
49559 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49561 elf_machine_lazy_rel): Likewise.
49562 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49563 dl_hwcap via passed in argument.
49564 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49567 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49569 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49571 2011-06-06 Roland McGrath <roland@hack.frob.com>
49574 * manual/fdl-1.1.texi: New file, verbatim from:
49575 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49576 * manual/lgpl-2.1.texi: New file, verbatim from:
49577 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49578 * manual/Makefile (licenses): New variable, list those new file names.
49580 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49582 * manual/fdl.texi: File removed.
49583 * manual/lesser.texi: File removed.
49584 * manual/libc.texinfo (Copying, Documentation License):
49585 Use new @include file names, put @appendix directive before @include.
49587 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49590 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49591 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49592 (mq_open): Add __NTH.
49594 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49597 Assume Intel Core i3/i5/i7 processor if AVX is available.
49599 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49604 2011-05-31 Andreas Schwab <schwab@redhat.com>
49606 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49607 memory. Use alloca_account. Fix memory leak when retrying.
49609 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49611 * version.h (RELEASE): Bump for 2.14 release.
49612 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49614 * config.make.in (RANLIB): Remove entry.
49616 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49618 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49619 (libc.pot): Work around missing support for .ksh extension in xgettext.
49622 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49623 if both request failed.
49624 (send_dg): In case of server errors clear resplen or *resplen2.
49627 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49628 when there are multiple maps.
49629 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49630 (_dl_fini): Remove test here.
49632 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49634 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49637 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49638 bit from old_res_options.
49639 (gaih_inet): Likewise.
49642 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49645 * resolv/res_init.c (res_setoptions): Make the code more compact.
49648 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49652 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49654 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49657 * malloc/malloc.h: Declare malloc hook variables as volatile.
49659 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49663 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49664 raise in the comment.
49665 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49667 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49669 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49672 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49673 grow the buffers more if it already has to be sufficient.
49674 (build_wcs_upper_buffer): Likewise.
49675 * posix/regexec.c (check_matching): Likewise.
49676 (clean_state_log_if_needed): Likewise.
49677 (extend_buffers): Don't enlarge buffers beyond size of the input
49679 Patches mostly by Emil Wojak <emil@wojak.eu>.
49680 * posix/bug-regex32.c: New file.
49681 * posix/Makefile (tests): Add bug-regex32.
49683 * locale/findlocale.c (_nl_find_locale): Return right away if
49684 _nl_explode_name failed.
49685 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49687 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49689 * debug/xtrace.sh: Unify messages.
49690 * malloc/memusage.sh: Likewise.
49693 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49694 time symbol from vDSO. Substitute with vsyscall if not available.
49695 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49698 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49699 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49700 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49701 Add sendmmsg and internal_sendmmsg.
49702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49704 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49706 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49707 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49708 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49710 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49713 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49714 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49720 * iconvdata/Makefile (tests): Add bug-iconv9.
49721 * iconvdata/bug-iconv9.c: New file.
49723 2011-05-27 Andreas Schwab <schwab@redhat.com>
49726 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49728 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49731 (struct user_regs_struct): Change intcs field back to cs.
49733 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49735 * po/ja.po: Update from translation team.
49737 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49740 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49741 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49743 2011-05-20 Andreas Schwab <schwab@redhat.com>
49745 * stdlib/longlong.h: Update from GCC.
49747 2011-05-23 Andreas Schwab <schwab@redhat.com>
49749 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49751 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49752 Add parameter name.
49753 (__sysconf): Pass it down.
49755 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49758 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49761 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49762 add in in __libc_use_alloca calls. Adjust callers.
49763 (glob): Use malloc in some situations.
49765 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49766 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49769 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49771 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49772 and CLOCK_BOOTTIME_ALARM.
49775 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49778 * string/_strerror.c (__strerror_r): Print negative errors as signed
49782 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49783 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49784 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49786 * configure.in: Fix typo in redirection and correct removal of test
49787 files in two cases.
49790 * locale/setlocale.c (new_composite_name): Fix test to check for
49791 identical name of all categories.
49794 * libio/filedoalloc.c (local_isatty): New function.
49795 (_IO_file_doallocate): Use local_isatty.
49796 * stdio-common/perror.c (perror): In case a new stream is used
49797 forward the stream error.
49798 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49801 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49806 * include/alloca.h (extend_alloca_account): Define.
49809 * posix/regex.h: Fix comments with documentation of user-accessible
49810 fields after compilation and describe correct free'ing of pattern
49811 after re_compile_pattern.
49812 Patch by Reuben Thomas <rrt@sc3d.org>.
49814 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49816 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49817 and -mno-altivec to prevent the compiler from using Altivec and/or
49818 VSX instructions when the corresponding registers are not available.
49820 2011-05-19 Andreas Schwab <schwab@redhat.com>
49822 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49824 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49826 * libio/freopen.c (freopen): Use __dup2, not dup2.
49827 * libio/freopen64.c (freopen64): Likewise.
49829 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49832 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49833 * math/Makefile (tests): Add test-powl.
49834 (CFLAGS-test-powl.c): Define.
49835 * math/test-powl.c: New file.
49837 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49839 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49841 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49844 * iconvdata/gb18030.c: Update to GB18020-2005.
49846 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49848 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49849 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49850 Patch by Aharon Robbins <arnold@skeeve.com>.
49853 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49857 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49858 through underflows.
49861 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49862 point to strings before performing equality test for error_one_per_line
49866 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49870 (struct user_fpregs_struct): Avoid __uint*_t types.
49873 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49874 symbol info. Use it instead of calling _dl_addr locally.
49875 (lock_and_info): New function.
49876 (tr_freehook): Call lock_and_info and pass symbol info as additional
49877 parameter to tr_where.
49878 (tr_mallochook): Likewise.
49879 (tr_reallochook): Likewise.
49880 (tr_memalignhook): Likewise.
49882 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49883 used and couldn't be at all thread-safe.
49885 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49887 * libio/freopen.c (freopen): Don't close old file descriptor
49888 before the new one is opened. Instead dup the new file descriptor
49889 to the old one after the new stream is created.
49890 * libio/freopen64.c (freopen64): Likewise.
49891 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49892 * libio/fileops.c (_IO_new_file_close_it): Handle new
49893 _IO_FLAGS2_NOCLOSE flag.
49894 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49895 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49896 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49897 _IO_FLAGS2_NOCLOSE flag.
49898 * include/unistd.h: Add hidden_proto for dup3.
49899 Define __have_dup3.
49900 * io/dup3.c: Define hidden symbol.
49901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49904 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49905 when an incomplete long option is used.
49906 * posix/tst-getopt_long1.c: New file.
49907 * posix/Makefile (tests): Add tst-getopt_long1.
49910 * scripts/config.guess: Update from autoconf-2.68.
49911 * scripts/config.sub: Likewise.
49914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49916 (has_cpuclock): ...this. New function.
49917 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49918 macro here based on has_cpuclock code.
49921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49922 First byte (not low byte) is now always NUL.
49923 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49926 Use non-cancelable interfaces.
49929 * locale/iso-639.def: Add entry for Sorani.
49932 * include/stdlib.h: Move include protection to the right place.
49933 Define abort_msg_s. Declare __abort_msg with it.
49934 * stdlib/abort.c (__abort_msg): Adjust type.
49935 * assert/assert.c (__assert_fail_base): New function. Majority
49936 of code from __assert_fail. Allocate memory for __abort_msg with
49938 (__assert_fail): Now call __assert_fail_base.
49939 * assert/assert-perr.c: Remove bulk of implementation. Use
49940 __assert_fail_base.
49941 * include/assert.hL Declare __assert_fail_base.
49942 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49944 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49946 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49950 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49951 until all modules are registered in the DTV.
49952 * elf/Makefile: Add rules to build and run tst-tls19.
49953 * elf/tst-tls19.c: New file.
49954 * elf/tst-tls19mod1.c: New file.
49955 * elf/tst-tls19mod2.c: New file.
49956 * elf/tst-tls19mod3.c: New file.
49957 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49960 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49964 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49965 two-byte sequence errors.
49966 * iconvdata/Makefile (tests): Add bug-iconv8.
49967 * iconvdata/bug-iconv8.c: New file.
49970 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49973 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49976 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49977 (dummy_getcfa): New function.
49978 (init): Get _Unwind_GetCFA address, use dummy if not found.
49979 (backtrace_helper): In recursion check, also check whether CFA changes.
49980 (__backtrace): Completely initialize arg.
49982 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49983 storing incomplete byte sequence in state object. Avoid testing for
49984 guaranteed too small input if we know there is enough data available.
49986 2011-05-11 Andreas Schwab <schwab@redhat.com>
49988 * Makeconfig (+link-pie): Indent.
49989 * Rules (binaries-pie): Define if $(have-fpie) and
49991 (binaries-shared): Also filter out $(binaries-pie).
49992 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49993 * nscd/Makefile (others-pie): Add nscd.
49994 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49995 ($(objpfx)nscd): Remove command override.
49996 * login/Makefile (others-pie): Add pt_chown.
49997 ($(objpfx)pt_chown): Remove command override.
49998 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49999 remove command overrides.
50001 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50003 * libio/tst_putwc.c: Fix error messages.
50006 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50007 currently writing and seek to current position when not.
50008 * libio/Makefile (tests): Add bug-fclose1.
50009 * libio/bug-fclose1.c: New file.
50011 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50014 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50015 don't set DF_1_NODELETE here.
50016 (do_lookup_x): When entering new entry test for copy relocation
50017 and if necessary set DF_1_NODELETE flag.
50018 * elf/tst-unique4.cc: New file.
50019 * elf/tst-unique4.h: New file.
50020 * elf/tst-unique4lib.cc: New file.
50021 * elf/Makefile: Add rules to build and run tst-unique4.
50022 Patch by Piotr Bury <pbury@goahead.com>.
50024 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50027 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50030 * misc/mntent_r.c (addmntent): Flush the stream after the output
50033 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50034 (is_trusted_path_normalize): Skip initial colon. Append slash
50035 to empty buffer. Duplicate is_trusted_path code but allow
50036 constructed patch to be prefix.
50037 (is_dst): Allow $ORIGIN followed by /.
50038 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50039 Correct testing of result of is_trusted_path_normalize
50040 (decompose_rpath): Fix warning.
50042 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50045 * grp/initgroups.c (internal_getgrouplist): When we found the service
50046 list through the initgroups entry in nsswitch.conf do not always
50047 continue on a successful lookup. Don't always use the
50048 __nss_group_database value if it is set.
50049 * nss/nsswitch.conf (initgroups): Change action for successful db
50050 lookup to continue for compatibility.
50052 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50055 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50057 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50059 * iconvdata/tst-tables.sh: Likewise.
50060 * iconvdata/cp770.c: New file.
50061 * iconvdata/cp771.c: New file.
50062 * iconvdata/cp772.c: New file.
50063 * iconvdata/cp773.c: New file.
50064 * iconvdata/cp774.c: New file.
50065 * iconvdata/testdata/CP770: New file.
50066 * iconvdata/testdata/CP770..UTF8: New file.
50067 * iconvdata/testdata/CP771: New file.
50068 * iconvdata/testdata/CP771..UTF8: New file.
50069 * iconvdata/testdata/CP772: New file.
50070 * iconvdata/testdata/CP772..UTF8: New file.
50071 * iconvdata/testdata/CP773: New file.
50072 * iconvdata/testdata/CP773..UTF8: New file.
50073 * iconvdata/testdata/CP774: New file.
50074 * iconvdata/testdata/CP774..UTF8: New file.
50076 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50078 * iconvdata/gen-8bit-gap.sh: Likewise.
50079 * iconvdata/gen-8bit.sh: Likewise.
50081 * locale/iso-639.def: Add ary entry.
50084 * locale/C-translit.h.in: Add U20A1 transliteration.
50087 * locale/iso-639.def: Add wae entry.
50088 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50091 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50095 * locale/C-translit.h.in: Add entry for U20B9.
50096 Patch by pravin.d.s@gmail.com.
50098 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50101 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50102 ENAMETOOLONG use generic getcwd.
50103 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50104 in rtld. Use *stat64.
50105 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50106 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50107 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50108 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50109 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50110 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50111 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50112 __fstatat64 macros.
50113 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50114 * dirent/rewinddir.c: Add libc_hidden_def.
50115 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50116 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50118 * include/dirent.h (__alloc_dir): Add flags parameter.
50119 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50120 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50122 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50123 from fdopendir if O_CLOEXEC is already set.
50125 2011-03-15 Alan Modra <amodra@gmail.com>
50127 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50128 l_tls_firstbyte_offset non-zero. Save padding offset in
50129 l_tls_firstbyte_offset for later use.
50130 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50131 freeing static tls block.
50133 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50135 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50136 where #ifdef was intended. The intent is to prevent ARG_MAX from
50137 being defined by the kernel headers.
50139 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50142 * resolv/resolv.h: Define RES_NOTLDQUERY.
50143 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50144 no-tld-query and set RES_NOTLDQUERY.
50145 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50146 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50147 modern BIND to search name as TLD unless forbidden.
50149 2011-05-07 Petr Baudis <pasky@suse.cz>
50150 Ulrich Drepper <drepper@gmail.com>
50153 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50154 (is_trusted_path): ...to here.
50155 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50156 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50157 using is_trusted_path_normalize() in setuid scripts.
50159 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50161 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50162 __BEGIN/__END_DECLS.
50164 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50166 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50167 NSS_STATUS_NOTFOUND if no record was found.
50169 2011-05-05 Andreas Schwab <schwab@redhat.com>
50171 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50172 (headers-not-in-tirpc): Remove rpc/netdb.h
50173 * resolv/netdb.h: Revert last change.
50175 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50177 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50178 circular dependency between libgcc.a and libc.a.
50180 2011-05-05 Andreas Schwab <schwab@redhat.com>
50182 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50183 * nis/Makefile: Don't install rpcsvc/*.
50184 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50185 instead of <rpc/types.h>.
50186 (MAXHOSTNAMELEN): Define.
50188 2011-05-03 Andreas Schwab <schwab@redhat.com>
50190 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50192 2011-04-28 Maciej Babinski <mbabinski@google.com>
50195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50196 gethostbyname4_r when IPv6 results are possible.
50198 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50201 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50202 _PC_PIPE_BUF handling.
50204 2011-04-30 Bruno Haible <bruno@clisp.org>
50207 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50208 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50210 * inet/getnameinfo.c (getnameinfo): Likewise.
50212 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50214 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50215 to groups setting in database lookup.
50216 * nss/nsswitch.conf: Add initgroups entry.
50218 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50221 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50223 Patch by Eric Blake <eblake@redhat.com>.
50225 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50227 * sunrpc/Makefile (need-export-routines): Add svc_run.
50228 (routines): Remove svc_run.
50229 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50230 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50231 * sunrpc/svc_run.c (svc_run): Likewise.
50232 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50234 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50237 problem in reallocation in last patch.
50239 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50241 * sunrpc/Makefile: Move inclusion of Rules.
50243 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50245 * nss/nss_files/files-initgroups.c: New file.
50246 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50247 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50248 _nss_files_initgroups_dyn.
50250 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50252 * elf/elf.h (R_ARM_IRELATIVE): Define.
50254 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50256 * po/ru.po: Update from translation team.
50258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50260 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50263 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50266 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50267 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50272 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50274 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50280 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50283 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50285 * stdlib/bug-getcontext.c: New file.
50286 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50288 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50290 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50291 instructions into .machine "z9-109".
50292 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50293 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50295 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50297 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50298 between environment variables and auxiliary vector.
50300 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50302 * Makefile: Add rules to build linkobj/libc.so.
50303 * include/libc-symbols.h: Define libc_hidden_nolink.
50304 * include/rpc/auth.h: Mark functions which are to be hidden.
50305 * include/rpc/auth_des.h: Likewise.
50306 * include/rpc/auth_unix.h: Likewise.
50307 * include/rpc/clnt.h: Likewise.
50308 * include/rpc/des_crypt.h: Likewise.
50309 * include/rpc/key_prot.h: Likewise.
50310 * include/rpc/pmap_clnt.h: Likewise.
50311 * include/rpc/pmap_prot.h: Likewise.
50312 * include/rpc/pmap_rmt.h: Likewise.
50313 * include/rpc/rpc_msg.h: Likewise.
50314 * include/rpc/svc.h: Likewise.
50315 * include/rpc/svc_auth.h: Likewise.
50316 * include/rpc/xdr.h: Likewise.
50317 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50318 * nss/Makefile: Likewise.
50319 * sunrpc/Makefile: Don't install headers. Build library with normal
50320 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50321 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50322 for the compat linking library. Remove use of INTDEF/INTUSE.
50323 * sunrpc/auth_none.c: Likewise.
50324 * sunrpc/auth_unix.c: Likewise.
50325 * sunrpc/authdes_prot.c: Likewise.
50326 * sunrpc/authuxprot.c: Likewise.
50327 * sunrpc/clnt_gen.c: Likewise.
50328 * sunrpc/clnt_perr.c: Likewise.
50329 * sunrpc/clnt_raw.c: Likewise.
50330 * sunrpc/clnt_simp.c: Likewise.
50331 * sunrpc/clnt_tcp.c: Likewise.
50332 * sunrpc/clnt_udp.c: Likewise.
50333 * sunrpc/clnt_unix.c: Likewise.
50334 * sunrpc/des_crypt.c: Likewise.
50335 * sunrpc/des_soft.c: Likewise.
50336 * sunrpc/get_myaddr.c: Likewise.
50337 * sunrpc/key_call.c: Likewise.
50338 * sunrpc/key_prot.c: Likewise.
50339 * sunrpc/netname.c: Likewise.
50340 * sunrpc/pm_getmaps.c: Likewise.
50341 * sunrpc/pm_getport.c: Likewise.
50342 * sunrpc/pmap_clnt.c: Likewise.
50343 * sunrpc/pmap_prot.c: Likewise.
50344 * sunrpc/pmap_prot2.c: Likewise.
50345 * sunrpc/pmap_rmt.c: Likewise.
50346 * sunrpc/publickey.c: Likewise.
50347 * sunrpc/rpc_cmsg.c: Likewise.
50348 * sunrpc/rpc_common.c: Likewise.
50349 * sunrpc/rpc_dtable.c: Likewise.
50350 * sunrpc/rpc_prot.c: Likewise.
50351 * sunrpc/rpc_thread.c: Likewise.
50352 * sunrpc/rtime.c: Likewise.
50353 * sunrpc/svc.c: Likewise.
50354 * sunrpc/svc_auth.c: Likewise.
50355 * sunrpc/svc_authux.c: Likewise.
50356 * sunrpc/svc_raw.c: Likewise.
50357 * sunrpc/svc_run.c: Likewise.
50358 * sunrpc/svc_simple.c: Likewise.
50359 * sunrpc/svc_tcp.c: Likewise.
50360 * sunrpc/svc_udp.c: Likewise.
50361 * sunrpc/svc_unix.c: Likewise.
50362 * sunrpc/svcauth_des.c: Likewise.
50363 * sunrpc/xcrypt.c: Likewise.
50364 * sunrpc/xdr.c: Likewise.
50365 * sunrpc/xdr_array.c: Likewise.
50366 * sunrpc/xdr_float.c: Likewise.
50367 * sunrpc/xdr_intXX_t.c: Likewise.
50368 * sunrpc/xdr_mem.c: Likewise.
50369 * sunrpc/xdr_rec.c: Likewise.
50370 * sunrpc/xdr_ref.c: Likewise.
50371 * sunrpc/xdr_sizeof.c: Likewise.
50372 * sunrpc/xdr_stdio.c: Likewise.
50374 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50377 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50378 * sysdeps/ia64/dl-tls.h: Likewise.
50379 * sysdeps/powerpc/dl-tls.h: Likewise.
50380 * sysdeps/s390/dl-tls.h: Likewise.
50381 * sysdeps/sh/dl-tls.h: Likewise.
50382 * sysdeps/sparc/dl-tls.h: Likewise.
50383 * sysdeps/x86_64/dl-tls.h: Likewise.
50384 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50386 2011-03-14 Andreas Schwab <schwab@redhat.com>
50388 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50389 rpath element also skip the following colon.
50390 (expand_dynamic_string_token): Add is_path parameter and pass
50391 down to DL_DST_REQUIRED and _dl_dst_substitute.
50392 (decompose_rpath): Call expand_dynamic_string_token with
50393 non-zero is_path. Ignore empty rpaths.
50394 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50397 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50402 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50405 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50406 Patch by Filipe David Manana <fdmanana@apache.org>.
50408 2011-04-07 Andreas Schwab <schwab@redhat.com>
50410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50411 Maintain aligned stack.
50412 (CHECK_RSP): Remove unused macro.
50414 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50416 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50417 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50419 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50421 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50423 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50425 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50428 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50429 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50430 * sysdeps/x86_64/memmove.c: New file.
50431 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50432 (memcpy): Renamed to ...
50433 (__new_memcpy): This.
50434 (memcpy): Provide GLIBC_2_14 memcpy.
50435 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50436 (memcpy): Provide GLIBC_2_2_5 memcpy.
50438 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50441 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50443 2011-03-30 Andreas Schwab <schwab@redhat.com>
50445 * misc/syncfs.c: New file.
50446 * misc/Makefile (routines): Add syncfs.
50447 * posix/unistd.h: Declare syncfs.
50448 * sysdeps/unix/syscalls.list: Add syncfs.
50450 2011-04-01 Andreas Schwab <schwab@redhat.com>
50452 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50459 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50462 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50466 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50468 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50472 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50473 sync_file_range.c with -fexceptions.
50474 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50475 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50476 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50477 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50478 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50479 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50481 sync_file_range as cancellation point
50482 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50483 now a wrapper around __call_sync_file_range with cancellation handling.
50484 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50485 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50486 function name to __call_sync_file_range.
50487 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50488 Add call_sync_file_range.
50490 2011-04-01 Andreas Schwab <schwab@redhat.com>
50492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50495 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50497 * iconv/iconv.h: Fix typo in comment.
50498 * io/fcntl.h: Likewise.
50499 * libio/stdio.h: Likewise.
50500 * posix/spawn.h: Likewise.
50501 * posix/unistd.h: Likewise.
50502 * stdlib/stdlib.h: Likewise.
50503 * time/time.h: Likewise.
50504 * wcsmbs/wchar.h: Likewise.
50506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50507 open_by_handle): Add.
50508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50509 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50510 Augment a few comments.
50511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50515 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50516 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50519 * io/fcntl.h (AT_EMPTY_PATH): Define.
50521 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50523 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50524 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50525 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50527 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50528 * Versions.def: Add GLIBC_2.14.
50529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50532 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50536 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50538 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50541 * string/test-strncmp.c (do_page_test): New function.
50542 (check2): Likewise.
50543 (test_main): Call check2.
50544 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50546 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50549 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50550 Handle cache information in CPU leaf 4.
50551 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50553 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50556 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50557 character representation.
50558 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50560 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50562 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50563 END(__isnan) to END(__isnanf) to match function entry point/label
50564 EALIGN(__isnanf,...).
50566 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50568 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50570 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50573 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50574 copy from the symbol referenced in the relocation to initialize the
50576 Patch by Piotr Bury <pbury@goahead.com>.
50577 * elf/Makefile: Add rules to build and tst-unique3.
50578 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50579 * elf/tst-unique3.cc: New file.
50580 * elf/tst-unique3.h: New file.
50581 * elf/tst-unique3lib.cc: New file.
50582 * elf/tst-unique3lib2.cc: New file.
50584 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50586 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50588 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50589 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50592 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50594 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50595 to-be-loaded object along a path to loader is ld.so.
50597 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50598 Ulrich Drepper <drepper@gmail.com>
50600 * sysdeps/x86_64/memset.S: After aligning destination, code
50601 branches to different locations depending on the value of
50602 misalignment, when multiarch is enabled. Fix this.
50604 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50606 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50607 Set _x86_64_preferred_memory_instruction for AMD processsors.
50608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50609 Set bit_Prefer_SSE_for_memop for AMD processors.
50611 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50613 * libio/fmemopen.c (fmemopen): Optimize a bit.
50615 2011-03-03 Andreas Schwab <schwab@redhat.com>
50617 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50619 2011-03-03 Roland McGrath <roland@redhat.com>
50621 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50623 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50625 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50626 __bzero_ultra1 instead of __memset_ultra1.
50628 2011-02-23 Andreas Schwab <schwab@redhat.com>
50629 Ulrich Drepper <drepper@gmail.com>
50632 * include/link.h (struct link_map): Add l_orig_initfini.
50633 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50634 returning unsuccessfully.
50635 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50636 close of a file loaded at startup, restore the original l_initfini
50638 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50639 list, store the pointer.
50640 * elf/Makefile ($(objpfx)noload-mem): New rule.
50641 (noload-ENV): Define.
50642 (tests): Add $(objpfx)noload-mem.
50643 * elf/noload.c: Include <memcheck.h>.
50644 (main): Call mtrace. Close all opened handles.
50646 2011-02-17 Andreas Schwab <schwab@redhat.com>
50649 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50650 dependencies are missing.
50652 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50654 Fix __if_freereq crash: Unlike the generic version which uses free,
50656 * sysdeps/mach/hurd/ifreq.h: New file.
50658 2011-01-27 Petr Baudis <pasky@suse.cz>
50659 Ulrich Drepper <drepper@gmail.com>
50662 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50663 to extend_alloca().
50664 * stdio-common/bug23.c: New file.
50665 * stdio-common/Makefile (tests): Add bug23.
50667 2010-09-28 Andreas Schwab <schwab@redhat.com>
50668 Ulrich Drepper <drepper@gmail.com>
50671 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50672 before performing relro protection. At old place add assertion
50673 to make sure nothing changed.
50675 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50676 Glauber de Oliveira Costa <glommer@gmail.com>
50678 * elf/elf.h: Add new ARM TLS relocs.
50680 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50683 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50685 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50687 * sysdeps/wordsize-64/tst-writev.c: New file.
50689 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50691 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50692 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50693 insns in _dl_start to prevent a TOC reference before relocs are
50696 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50699 * Makeconfig: Remove RANLIB definition.
50700 * Makerules: Don't use RANLIB.
50701 * aclocal.m4: Remove ranlib test.
50702 * configure.in: No need to check for ranlib.
50703 * elf/rtld-Rules: Don't use RANLIB.
50705 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50707 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50709 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50710 inclusion protection macro.
50712 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50713 SIGRTMIN and SIGRTMAX and print information in that case only when
50714 SIGRTMIN is defined.
50716 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50718 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50719 arginfo fn returning -1.
50721 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50722 and thousands string is zero terminated.
50724 2011-02-03 Andreas Schwab <schwab@redhat.com>
50726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50727 sysdeps/unix/sysv/linux/bits/socket.h.
50729 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50731 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50732 (__CPU_COUNT): Remove old macros.
50733 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50734 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50735 (__CPU_ALLOC, __CPU_FREE): Add macros.
50736 (__sched_cpualloc, __sched_cpufree): Add declarations.
50738 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50740 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50741 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50742 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50743 (readdhstai): Return value of addhstaiX call.
50744 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50745 (addgrbyX): Return value returned by cache_addgr.
50746 (readdgrbyname): Return value returned by addgrbyX.
50747 (readdgrbygid): Likewise.
50748 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50749 (addpwbyX): Return value returned by cache_addpw.
50750 (readdpwbyname): Return value returned by addhstbyX.
50751 (readdpwbyuid): Likewise.
50752 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50753 (addservbyX): Return value returned by cache_addserv.
50754 (readdservbyname): Return value returned by addservbyX:
50755 (readdservbyport): Likewise.
50756 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50757 (addhstbyX): Return value returned by cache_addhst.
50758 (readdhstbyname): Return value returned by addhstbyX.
50759 (readdhstbyaddr): Likewise.
50760 (readdhstbynamev6): Likewise.
50761 (readdhstbyaddrv6): Likewise.
50762 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50763 (readdinitgroups): Return value returned by addinitgroupsX.
50764 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50765 (prune_cache): Keep track of timeout value of re-added entries.
50766 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50767 * nscd/nscd.h: Adjust prototypes of readd* functions.
50769 2011-02-04 Roland McGrath <roland@redhat.com>
50771 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50772 (nis_stats): Likewise.
50773 * nis/nis_modify.c (nis_modify): Likewise.
50774 * nis/nis_remove.c (nis_remove): Likewise.
50775 * nis/nis_add.c (nis_add): Likewise.
50777 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50779 * posix/fnmatch_loop.c: Add some consts.
50781 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50783 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50786 * config.make.in (config-cflags-novzeroupper): Define.
50787 * configure.in: Substitute libc_cv_cc_novzeroupper.
50788 * elf/Makefile (AVX-CFLAGS): Define.
50789 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50790 (CFLAGS-tst-auditmod4a.c): Likewise.
50791 (CFLAGS-tst-auditmod4b.c): Likewise.
50792 (CFLAGS-tst-auditmod6b.c): Likewise.
50793 (CFLAGS-tst-auditmod6c.c): Likewise.
50794 (CFLAGS-tst-auditmod7b.c): Likewise.
50795 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50797 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50799 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50800 function to the callback.
50801 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50803 2011-02-02 Andreas Schwab <schwab@redhat.com>
50805 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50808 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50811 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50813 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50815 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50818 * elf/Makefile: Add rules to build and run new test.
50819 * elf/tst-initorder.c: New file.
50820 * elf/tst-initorder.exp: New file.
50821 * elf/tst-initordera1.c: New file.
50822 * elf/tst-initordera2.c: New file.
50823 * elf/tst-initordera3.c: New file.
50824 * elf/tst-initordera4.c: New file.
50825 * elf/tst-initorderb1.c: New file.
50826 * elf/tst-initorderb2.c: New file.
50827 * elf/tst-order-a1.c: New file.
50828 * elf/tst-order-a2.c: New file.
50829 * elf/tst-order-a3.c: New file.
50830 * elf/tst-order-a4.c: New file.
50831 * elf/tst-order-b1.c: New file.
50832 * elf/tst-order-b2.c: New file.
50833 * elf/tst-order-main.c: New file.
50834 New test case by George Gensure <werkt0@gmail.com>.
50836 2010-10-01 Andreas Schwab <schwab@redhat.com>
50838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50839 decoding ACE if AI_CANONIDN.
50841 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50843 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50845 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50847 * version.h (RELEASE): Bump for 2.13 release.
50848 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50850 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50852 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50854 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50861 * posix/getconf.c: Update copyright year.
50862 * catgets/gencat.c: Likewise.
50863 * csu/version.c: Likewise.
50864 * debug/catchsegv.sh: Likewise.
50865 * debug/xtrace.sh: Likewise.
50866 * elf/ldconfig.c: Likewise.
50867 * elf/ldd.bash.in: Likewise.
50868 * elf/sprof.c (print_version): Likewise.
50869 * iconv/iconv_prog.c: Likewise.
50870 * iconv/iconvconfig.c: Likewise.
50871 * locale/programs/locale.c: Likewise.
50872 * locale/programs/localedef.c: Likewise.
50873 * malloc/memusage.sh: Likewise.
50874 * malloc/mtrace.pl: Likewise.
50875 * nscd/nscd.c (print_version): Likewise.
50876 * nss/getent.c: Likewise.
50878 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50879 PF_CAIF, and PF_ALG.
50880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50882 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50884 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50885 (modules-names): Use them.
50886 (ifunc-test-modules, ifunc-pie-tests): Define.
50887 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50888 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50889 (test-extras): Likewise.
50890 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50891 $(compile-command.c).
50892 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50893 (all-built-dso): Define.
50894 (check-textrel.out, check-execstack.out): Depend on it.
50896 * configure.in: Don't override --enable-multi-arch.
50898 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50901 * nscd/hstcache.c (tryagain): Define.
50902 (cache_addhst): Return tryagain not notfound for temporary errors.
50903 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50906 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50910 to make the syscall.
50911 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50914 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50915 and fall back to matching as normal character if the string ends before
50916 the matching ']' is found. This is what POSIX requires.
50917 * posix/testfnm.c: Adjust test result.
50918 * posix/globtest.sh: Adjust test result. Add new test.
50919 * posix/tst-fnmatch.input: Likewise.
50920 * posix/tst-fnmatch2.c: Add new test.
50922 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50924 * elf/Makefile (check-execstack): Revert last change. Depend on
50926 (check-execstack.h): New target.
50927 (generated): Add check-execstack.h.
50928 * elf/check-execstack.c: Include "check-execstack.h".
50929 (main): Revert last change.
50930 (handle_file): Return zero if GNU_STACK is absent and
50931 DEFAULT_STACK_PERMS doesn't include PF_X.
50933 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50935 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50936 in child fails because the descriptor is already closed.
50937 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50938 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50939 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50942 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50946 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50947 temporary buffer used to handle multi lookups locally.
50948 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50950 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50952 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50955 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50957 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50958 alignment for SSE2.
50960 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50963 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50964 characters. When rounding increased number of integer digits recompute
50966 * stdio-common/tst-grouping.c: New file.
50967 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50969 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50971 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50972 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50974 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50976 * bits/select.h: Likewise.
50978 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50980 * po/ja.po: Update from translation team.
50982 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50985 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50986 implementation just like for lxstat, fxstatat, et al.
50988 2010-12-27 Jim Meyering <meyering@redhat.com>
50991 * posix/regexec.c (build_trtable): Return failure indication upon
50992 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50994 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50997 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50998 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51000 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51003 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51006 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51007 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51009 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51011 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51012 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51013 script has SORT_BY_INIT_PRIORITY.
51014 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51015 NO_CTORS_DTORS_SECTIONS is defined.
51016 * elf/soinit.c: Likewise.
51017 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51018 NO_CTORS_DTORS_SECTIONS is defined.
51019 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51020 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51021 * sysdeps/sh/init-first.c: Likewise.
51022 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51024 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51026 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51027 always use the slow path.
51029 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51031 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51032 similar rule which adds the sysdep directories to the header search in
51033 order to pick up the correct platform stackinfo.h.
51034 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51035 perform test if it is, otherwise return successfully without testing.
51036 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51037 DEFAULT_STACK_PERMS define in stackinfo.h.
51038 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51039 defined in stackinfo.h.
51040 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51041 DEFAULT_STACK_PERMS defined in stackinfo.h.
51042 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51043 * sysdeps/ia64/stackinfo.h: Likewise.
51044 * sysdeps/s390/stackinfo.h: Likewise.
51045 * sysdeps/sh/stackinfo.h: Likewise.
51046 * sysdeps/sparc/stackinfo.h: Likewise.
51047 * sysdeps/x86_64/stackinfo.h: Likewise.
51048 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51049 PF_X for powerpc64. Retain PF_X for powerpc32.
51051 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51053 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51055 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51056 GETDENTS_64BIT_ALIGNED.
51058 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51060 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51062 2010-12-10 Andreas Schwab <schwab@redhat.com>
51064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51067 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51068 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51070 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51071 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51073 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51076 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51079 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51081 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51083 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51085 * po/it.po: Update from translation team.
51087 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51092 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51094 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51096 2010-11-24 Andreas Schwab <schwab@redhat.com>
51098 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51100 (gaih_getanswer_slice): Likewise.
51102 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51106 2010-05-31 Petr Baudis <pasky@suse.cz>
51109 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51110 silently even in the chroot mode.
51112 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51114 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51115 last patch a bit. Pretty printing
51117 2010-05-31 Petr Baudis <pasky@suse.cz>
51120 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51121 initialization of skip_initgroups_dyn.
51123 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51125 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51126 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51128 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51130 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51132 2010-11-11 Andreas Schwab <schwab@redhat.com>
51134 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51135 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51136 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51137 ($(objpfx)tst-fnmatch-mem): New rule.
51138 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51139 * posix/tst-fnmatch.c (main): Call mtrace.
51141 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51144 Support Intel processor model 6 and model 0x2c.
51146 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51148 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51151 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51154 * string/test-strncasecmp.c (check_result): New function.
51155 (do_one_test): Use it.
51156 (check1): New function.
51157 (test_main): Use it.
51158 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51159 Support strcasecmp and strncasecmp.
51161 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51164 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51165 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51167 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51169 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51173 * sysdeps/x86_64/multiarch/bzero.S: New file.
51174 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51175 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51176 * sysdeps/x86_64/multiarch/memset.S: New file.
51177 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51179 Set bit_Prefer_SSE_for_memop for Intel processors.
51180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51182 (index_Prefer_SSE_for_memop): Define.
51183 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51185 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51190 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51193 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51194 (__x86_64_raw_data_cache_size_half): Likewise.
51195 (__x86_64_raw_shared_cache_size): Likewise.
51196 (__x86_64_raw_shared_cache_size_half): Likewise.
51198 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51199 (__x86_64_raw_data_cache_size_half): Likewise.
51200 (__x86_64_raw_shared_cache_size): Likewise.
51201 (__x86_64_raw_shared_cache_size_half): Likewise.
51202 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51203 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51204 and __x86_64_raw_shared_cache_size_half. Round
51205 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51206 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51207 to multiple of 256 bytes.
51209 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51212 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51213 of inacessible symlinks. Verify result of symlink before returning it.
51214 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51215 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51217 2010-10-28 Erich Ritz <erichritz@gmail.com>
51219 * math/math.h (isinf): Fix typo in comment.
51221 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51223 * po/da.po: Update from translation team.
51225 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51227 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51228 is added to the list.
51230 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51231 Ulrich Drepper <drepper@gmail.com>
51233 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51234 the global list here. Move code to...
51235 (_dl_add_to_namespace_list): ...here. New function.
51236 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51237 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51238 * elf/dl-load.c (lose): Don't remove the element from the list.
51239 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51240 (_dl_map_object): Likewise.
51242 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51245 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51246 into all bytes of SSE register.
51247 Patch by Richard Li <richardpku@gmail.com>.
51249 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51252 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51255 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51257 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51258 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51259 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51260 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51265 2010-10-22 Andreas Schwab <schwab@redhat.com>
51267 * include/dlfcn.h (__RTLD_SECURE): Define.
51268 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51269 mode & __RTLD_SECURE instead.
51270 (open_path): Rename preloaded parameter to secure.
51271 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51272 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51273 * elf/dl-deps.c (openaux): Likewise.
51274 * elf/rtld.c (struct map_args): Remove is_preloaded.
51275 (map_doit): Don't use it.
51276 (dl_main): Likewise.
51277 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51278 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51280 2010-09-09 Andreas Schwab <schwab@redhat.com>
51282 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51283 (sysd-rules-targets): Remove duplicates.
51284 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51285 rtld-%.$o dependency.
51287 2010-10-18 Andreas Schwab <schwab@redhat.com>
51289 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51290 _dl_map_object do it.
51292 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51294 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51295 fast fma builtins, define the macros in the C99 standard.
51296 (FP_FAST_FMAF): Likewise.
51297 (FP_FAST_FMAL): Likewise.
51298 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51300 * bits/mathdef.h: Update copyright year.
51301 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51303 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51305 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51306 builtins, define the macros in the C99 standard.
51307 (FP_FAST_FMAF): Likewise.
51308 (FP_FAST_FMAL): Likewise.
51309 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51311 (FP_FAST_FMAF): Likewise.
51313 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51316 * math/libm-test.inc (fma_test): Some new testcases.
51317 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51319 y and infinite z. Do multiplication by C already in long double.
51320 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51322 y and infinite z. Do bitwise or of inexact bit into u.d.
51323 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51324 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51325 * sysdeps/i386/fpu/s_fma.S: Removed.
51326 * sysdeps/i386/fpu/s_fmal.S: Removed.
51328 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51331 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51333 computation is not scheduled after fetestexcept. Fix value
51334 of minimum denormal long double.
51336 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51339 * math/libm-test.inc (fma_test): Add some more tests.
51340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51343 2010-10-15 Andreas Schwab <schwab@redhat.com>
51345 * scripts/data/localplt-s390-linux-gnu.data: New file.
51346 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51348 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51351 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51352 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51354 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51356 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51358 if one of x and y is very large and the other is subnormal.
51359 * sysdeps/s390/fpu/s_fmaf.c: New file.
51360 * sysdeps/s390/fpu/s_fma.c: New file.
51361 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51362 * sysdeps/powerpc/fpu/s_fma.S: New file.
51363 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51364 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51365 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51367 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51370 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51373 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51374 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51375 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51376 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51377 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51378 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51380 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51383 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51384 * posix/bug-regex31.input: Add test case.
51386 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51388 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51389 * posix/bug-regex31.input: New file.
51392 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51393 (parse_sub_exp): Fix last change, use postorder.
51395 * posix/bug-regex31.c: New file.
51396 * posix/Makefile: Add rules to build and run bug-regex31.
51398 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51401 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51404 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51405 to have entries in sys_siglist.
51408 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51411 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51414 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51415 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51416 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51417 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51418 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51419 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51420 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51421 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51422 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51423 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51424 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51425 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51426 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51427 * math/ftestexcept.c (fetestexcept): Likewise.
51428 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51429 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51430 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51431 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51432 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51433 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51436 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51439 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51442 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51444 * string/bug-strstr1.c: New file.
51445 * string/Makefile: Add rules to build and run bug-strstr1.
51447 2010-10-05 Eric Blake <eblake@redhat.com>
51450 * string/str-two-way.h (two_way_long_needle): Always clear memory
51451 when skipping input due to the shift table.
51453 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51456 * malloc/mcheck.c: Handle large requests.
51459 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51460 for strncmp and strncasecmp.
51461 * string/stratcliff.c: Add tests for strcmp and strncmp.
51462 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51464 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51466 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51469 2010-09-30 Andreas Jaeger <aj@suse.de>
51471 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51472 (CGROUP_SUPER_MAGIC): Define.
51473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51474 Handle btrfs and cgroup file systems.
51475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51478 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51480 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51481 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51483 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51486 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51487 trying to locate the ELF header.
51489 2010-09-27 Andreas Schwab <schwab@redhat.com>
51492 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51493 Mask out sign-bit copies when constructing f_fsid.
51495 2010-09-24 Petr Baudis <pasky@suse.cz>
51497 * debug/stack_chk_fail_local.c: Add missing licence exception.
51498 * debug/warning-nop.c: Likewise.
51500 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51503 implementing getdents64 using getdents syscall, set d_type if
51504 __ASSUME_GETDENTS32_D_TYPE.
51506 2010-09-16 Andreas Schwab <schwab@redhat.com>
51508 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51509 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51511 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51514 * posix/unistd.h: Undo change of feature selection for ftruncate from
51517 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51519 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51522 2010-09-20 Andreas Schwab <schwab@redhat.com>
51524 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51526 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51528 2010-09-14 Andreas Schwab <schwab@redhat.com>
51530 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51531 variables after CHECK_SP call.
51532 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51534 2010-09-13 Andreas Schwab <schwab@redhat.com>
51535 Ulrich Drepper <drepper@redhat.com>
51537 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51538 re-relocationg ld.so.
51539 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51540 _dl_init_paths call.
51541 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51544 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51546 * resolv/res_init.c (__res_vinit): Count the default server we added.
51548 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51549 Ulrich Drepper <drepper@redhat.com>
51552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51553 (____longjmp_chk): Use %ebx for saving value across system call.
51556 2010-09-06 Andreas Schwab <schwab@redhat.com>
51558 * manual/Makefile: Don't mix pattern rules with normal rules.
51560 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51562 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51564 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51565 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51566 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51567 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51571 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51574 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51575 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51577 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51579 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51580 * sysdeps/x86_64/addmul_1.S: Likewise.
51581 * sysdeps/x86_64/lshift.S: Likewise.
51582 * sysdeps/x86_64/mul_1.S: Likewise.
51583 * sysdeps/x86_64/rshift.S: Likewise.
51584 * sysdeps/x86_64/sub_n.S: Likewise.
51585 * sysdeps/x86_64/submul_1.S: Likewise.
51587 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51589 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51590 Define __sched_param instead of SCHED_* and sched_param when
51591 <bits/sched.h> is included with __need_schedparam defined.
51592 * bits/sched.h [__need_schedparam]
51593 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51594 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51595 (__defined_schedparam): Define to 1.
51596 (__sched_param): New structure, identical to sched_param.
51597 (__need_schedparam): Undefine.
51599 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51602 (epoll_create1): Declare.
51604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51606 2010-08-31 Andreas Schwab <schwab@redhat.com>
51609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51610 shifting retval into place.
51612 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51614 * nis/rpcsvc/nis.h: Update copyright notice.
51615 * nis/rpcsvc/nis.x: Likewise.
51616 * nis/rpcsvc/nis_callback.h: Likewise.
51617 * nis/rpcsvc/nis_callback.x: Likewise.
51618 * nis/rpcsvc/nis_object.x: Likewise.
51619 * nis/rpcsvc/nis_tags.h: Likewise.
51620 * nis/rpcsvc/yp.h: Likewise.
51621 * nis/rpcsvc/yp.x: Likewise.
51622 * nis/rpcsvc/ypupd.h: Likewise.
51623 * nis/yp_xdr.c: Likewise.
51624 * nis/ypupdate_xdr.c: Likewise.
51626 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51627 mainly the body of pmap_getport. Add parameters to specify timeouts.
51628 (pmap_getport): Use __libc_rpc_getport.
51629 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51630 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51631 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51633 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51638 2010-08-27 Roland McGrath <roland@redhat.com>
51640 * sysdeps/i386/i686/multiarch/Makefile
51641 (CFLAGS-varshift.c): New variable.
51643 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51645 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51646 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51650 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51652 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51654 * sysdeps/x86_64/strlen.S: Unroll the loop.
51655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51656 strlen-sse2 strlen-sse2-bsf.
51657 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51658 __strlen_no_bsf if bit_Slow_BSF is set.
51659 (__strlen_sse42): Removed.
51660 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51661 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51663 2010-08-25 Roland McGrath <roland@redhat.com>
51665 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51666 * sysdeps/x86_64/multiarch/varshift.c: New file.
51667 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51668 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51669 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51670 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51672 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51675 strlen-sse2 strlen-sse2-bsf.
51676 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51677 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51678 (__strlen_sse2): Removed.
51679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51682 bit_Slow_BSF for Atom.
51683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51684 (index_Slow_BSF): Define.
51685 (HAS_SLOW_BSF): Define.
51687 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51690 * resolv/res_init.c (__res_vinit): When no server address at all
51691 is given default to loopback.
51693 2010-08-24 Roland McGrath <roland@redhat.com>
51695 * configure.in: Remove config-name.h generation.
51696 * configure: Regenerated.
51697 * config-name.in: File removed.
51698 * scripts/config-uname.sh: New file.
51699 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51700 ($(objdir)config-name.h): New target.
51702 * sunrpc/rpc_parse.h: Avoid nested comment.
51704 2010-08-24 Richard Henderson <rth@redhat.com>
51705 Ulrich Drepper <drepper@redhat.com>
51706 H.J. Lu <hongjiu.lu@intel.com>
51708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51710 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51711 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51712 _mm_alignr_epi8 with _mm_loadu_si128.
51713 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51714 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51715 (__m128i_shift_right): Removed.
51716 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51717 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51718 * sysdeps/x86_64/multiarch/varshift.h: New file.
51719 * sysdeps/x86_64/multiarch/varshift.S: New file.
51721 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51723 * configure.in: Move assembler checks to before sysdep dir checking.
51725 2010-08-20 Petr Baudis <pasky@suse.cz>
51727 * LICENSES: Sync the sunrpc license.
51729 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51731 * sunrpc/auth_des.c: Update copyright notice once again.
51732 * sunrpc/auth_none.c: Likewise.
51733 * sunrpc/auth_unix.c: Likewise.
51734 * sunrpc/authdes_prot.c: Likewise.
51735 * sunrpc/authuxprot.c: Likewise.
51736 * sunrpc/bindrsvprt.c: Likewise.
51737 * sunrpc/clnt_gen.c: Likewise.
51738 * sunrpc/clnt_perr.c: Likewise.
51739 * sunrpc/clnt_raw.c: Likewise.
51740 * sunrpc/clnt_simp.c: Likewise.
51741 * sunrpc/clnt_tcp.c: Likewise.
51742 * sunrpc/clnt_udp.c: Likewise.
51743 * sunrpc/clnt_unix.c: Likewise.
51744 * sunrpc/des_crypt.c: Likewise.
51745 * sunrpc/des_soft.c: Likewise.
51746 * sunrpc/get_myaddr.c: Likewise.
51747 * sunrpc/getrpcport.c: Likewise.
51748 * sunrpc/key_call.c: Likewise.
51749 * sunrpc/key_prot.c: Likewise.
51750 * sunrpc/openchild.c: Likewise.
51751 * sunrpc/pm_getmaps.c: Likewise.
51752 * sunrpc/pm_getport.c: Likewise.
51753 * sunrpc/pmap_clnt.c: Likewise.
51754 * sunrpc/pmap_prot.c: Likewise.
51755 * sunrpc/pmap_prot2.c: Likewise.
51756 * sunrpc/pmap_rmt.c: Likewise.
51757 * sunrpc/rpc/auth.h: Likewise.
51758 * sunrpc/rpc/auth_unix.h: Likewise.
51759 * sunrpc/rpc/clnt.h: Likewise.
51760 * sunrpc/rpc/des_crypt.h: Likewise.
51761 * sunrpc/rpc/key_prot.h: Likewise.
51762 * sunrpc/rpc/netdb.h: Likewise.
51763 * sunrpc/rpc/pmap_clnt.h: Likewise.
51764 * sunrpc/rpc/pmap_prot.h: Likewise.
51765 * sunrpc/rpc/pmap_rmt.h: Likewise.
51766 * sunrpc/rpc/rpc.h: Likewise.
51767 * sunrpc/rpc/rpc_des.h: Likewise.
51768 * sunrpc/rpc/rpc_msg.h: Likewise.
51769 * sunrpc/rpc/svc.h: Likewise.
51770 * sunrpc/rpc/svc_auth.h: Likewise.
51771 * sunrpc/rpc/types.h: Likewise.
51772 * sunrpc/rpc/xdr.h: Likewise.
51773 * sunrpc/rpc_clntout.c: Likewise.
51774 * sunrpc/rpc_cmsg.c: Likewise.
51775 * sunrpc/rpc_common.c: Likewise.
51776 * sunrpc/rpc_cout.c: Likewise.
51777 * sunrpc/rpc_dtable.c: Likewise.
51778 * sunrpc/rpc_hout.c: Likewise.
51779 * sunrpc/rpc_main.c: Likewise.
51780 * sunrpc/rpc_parse.c: Likewise.
51781 * sunrpc/rpc_parse.h: Likewise.
51782 * sunrpc/rpc_prot.c: Likewise.
51783 * sunrpc/rpc_sample.c: Likewise.
51784 * sunrpc/rpc_scan.c: Likewise.
51785 * sunrpc/rpc_scan.h: Likewise.
51786 * sunrpc/rpc_svcout.c: Likewise.
51787 * sunrpc/rpc_tblout.c: Likewise.
51788 * sunrpc/rpc_util.c: Likewise.
51789 * sunrpc/rpc_util.h: Likewise.
51790 * sunrpc/rpcinfo.c: Likewise.
51791 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51792 * sunrpc/rpcsvc/key_prot.x: Likewise.
51793 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51794 * sunrpc/rpcsvc/mount.x: Likewise.
51795 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51796 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51797 * sunrpc/rpcsvc/rex.x: Likewise.
51798 * sunrpc/rpcsvc/rstat.x: Likewise.
51799 * sunrpc/rpcsvc/rusers.x: Likewise.
51800 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51801 * sunrpc/rpcsvc/spray.x: Likewise.
51802 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51803 * sunrpc/rtime.c: Likewise.
51804 * sunrpc/svc.c: Likewise.
51805 * sunrpc/svc_auth.c: Likewise.
51806 * sunrpc/svc_authux.c: Likewise.
51807 * sunrpc/svc_raw.c: Likewise.
51808 * sunrpc/svc_run.c: Likewise.
51809 * sunrpc/svc_simple.c: Likewise.
51810 * sunrpc/svc_tcp.c: Likewise.
51811 * sunrpc/svc_udp.c: Likewise.
51812 * sunrpc/svc_unix.c: Likewise.
51813 * sunrpc/svcauth_des.c: Likewise.
51814 * sunrpc/xcrypt.c: Likewise.
51815 * sunrpc/xdr.c: Likewise.
51816 * sunrpc/xdr_array.c: Likewise.
51817 * sunrpc/xdr_float.c: Likewise.
51818 * sunrpc/xdr_mem.c: Likewise.
51819 * sunrpc/xdr_rec.c: Likewise.
51820 * sunrpc/xdr_ref.c: Likewise.
51821 * sunrpc/xdr_sizeof.c: Likewise.
51822 * sunrpc/xdr_stdio.c: Likewise.
51824 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51827 2010-08-19 Andreas Schwab <schwab@redhat.com>
51829 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51831 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51833 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51836 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51837 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51838 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51839 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51840 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51842 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51843 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51844 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51845 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51846 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51848 2010-07-26 Anton Blanchard <anton@samba.org>
51850 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51851 * malloc/arena.c (heap_trim): Likewise.
51853 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51855 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51858 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51860 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51862 * sysdeps/i386/elf/Makefile: New file.
51864 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51866 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51867 from fanotify_init.
51868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51871 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51873 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51875 * sysdeps/multiarch/strcmp.S: Likewise.
51877 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51879 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51880 strncase_l-nonascii.
51881 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51882 Add strncase_l-ssse3.
51883 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51884 * sysdeps/x86_64/strcmp.S: Likewise.
51885 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51886 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51887 * sysdeps/x86_64/strncase.S: New file.
51888 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51889 * sysdeps/x86_64/strncase_l.S: New file.
51890 * string/Makefile (strop-tests): Add strncasecmp.
51891 * string/test-strncasecmp.c: New file.
51893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51896 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51897 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51899 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51901 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51903 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51905 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51907 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51909 2010-05-01 Alan Modra <amodra@gmail.com>
51911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51912 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51913 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51914 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51915 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51916 tidying. Don't tail-call __sigjmp_save for static lib.
51917 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51919 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51920 (CALL_MCOUNT): Add eh info, and nop after bl.
51921 (TAIL_CALL_SYSCALL_ERROR): New macro.
51922 (PSEUDO_RET): Use it.
51923 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51924 Correct save location of integer regs and cr.
51925 (_dl_profile_resolve): Correct cr save location. Delete nops
51926 after bl when SHARED. Reduce cfi size a little by better
51927 placement of cfi directives.
51928 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51929 make a stack frame. Instead use parm save area as a temp.
51930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51931 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51933 Don't make a stack frame for parent, use parm save area.
51934 Increase child stack frame to 112 bytes. Don't save unused reg,
51935 and adjust reg usage. Set up cfi on error recovery and
51936 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51938 (__makecontext): Add dummy nop after jump to exit.
51939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51940 Use correct parm save area and cr save, reduce stack frame.
51941 Correct cfi for possible PSEUDO_RET frame setup.
51942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51943 Branch to local label emitted by PSEUDO_RET rather than
51946 2010-08-12 Andreas Schwab <schwab@redhat.com>
51949 * locale/programs/locale.c (print_assignment): New function.
51950 (show_locale_vars): Use it.
51952 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51954 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51956 (struct statfs64): Likewise.
51957 (_STATFS_F_FLAGS): Define.
51958 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51959 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51960 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51961 (ST_VALID): Define locally.
51962 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51963 __statvfs_getflags, use the provided value.
51964 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51965 __ASSUME_STATFS_F_FLAGS.
51967 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51969 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51970 Add sys/fanotify.h.
51971 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51972 fanotify_mask for GLIBC_2.13.
51973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51974 fanotify_init and fanotify_mark.
51975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51976 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51978 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51980 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51981 prlimit64 for GLIBC_2.13.
51982 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51987 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51989 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51992 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51995 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51996 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51998 * nss/Makefile: Add rules to build and run tst-nss-test1.
51999 * shlib-versions: Add entry for libnss_test1.
52000 * nss/nss_test1.c: New file.
52001 * nss/tst-nss-test1.c: New file.
52003 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52004 (__nss_configure_lookup): Set appropriate entry in
52005 __nss_configure_lookup to true.
52006 * nss/nsswitch.h: Define enum with indeces of databases in
52007 databases and __nss_database_custom arrays. Declare
52008 __nss_database_custom.
52009 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52010 to avoid using nscd when custom rules are installed.
52011 * nss/getXXbyYY_r.c: Likewise.
52012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52014 * nss/nss_files/files-parse.c: Whitespace fixes.
52016 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52019 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52020 * posix/fnmatch_loop.c: Likewise.
52022 2010-07-17 Andi Kleen <ak@linux.intel.com>
52024 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52025 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52026 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52027 * Versions.def [GLIBC_2.13]: Add.
52029 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52032 Also fail if tpwd after pwuid call is NULL.
52034 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52036 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52037 when converting to ms.
52039 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52041 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52042 EOPNOTSUPP errors with ENOTTY.
52043 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52044 EOPNOTSUPP errors with ENOTTY.
52046 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52048 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52049 Add strcasecmp_l-ssse3.
52050 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52052 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52053 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52054 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52056 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52058 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52060 * string/Makefile (strop-tests): Add strcasecmp.
52061 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52062 strcasecmp_l-nonascii.
52063 (gen-as-const-headers): Add locale-defines.sym.
52064 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52065 * sysdeps/x86_64/strcasecmp.S: New file.
52066 * sysdeps/x86_64/strcasecmp_l.S: New file.
52067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52068 * sysdeps/x86_64/locale-defines.sym: New file.
52069 * string/test-strcasecmp.c: New file.
52071 * string/test-strcasestr.c: Test both ends of the range of characters.
52072 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52074 2010-07-29 Roland McGrath <roland@redhat.com>
52077 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52079 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52081 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52084 2010-07-27 Andreas Schwab <schwab@redhat.com>
52086 * manual/memory.texi (Malloc Tunable Parameters): Document
52089 2010-07-26 Roland McGrath <roland@redhat.com>
52092 * configure.in (-fgnu89-inline check): Set and substitute
52093 gnu89_inline, not libc_cv_gnu89_inline.
52094 * configure: Regenerated.
52095 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52097 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52099 * string/test-strnlen.c: New file.
52100 * string/Makefile (strop-tests): Add strnlen.
52101 * string/tester.c (test_strnlen): Add a few more test cases.
52102 * string/tst-strlen.c: Better error reporting.
52104 * sysdeps/x86_64/strnlen.S: New file.
52106 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52108 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52109 lower-latency instructions.
52111 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52113 * string/test-strcasestr.c: New file.
52114 * string/test-strstr.c: New file.
52115 * string/Makefile (strop-tests): Add strstr and strcasestr.
52116 * string/str-two-way.h: Don't undefine MAX.
52117 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52119 2010-07-21 Andreas Schwab <schwab@redhat.com>
52121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52122 strcasestr-nonascii.
52123 (CFLAGS-strcasestr-nonascii.c): Define.
52124 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52125 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52126 Remove unused attribute.
52128 2010-07-20 Roland McGrath <roland@redhat.com>
52130 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52131 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52132 ld.so.cache was broken. With it, there is no way to disable dsocaps
52133 like LD_HWCAP_MASK can disable hwcaps.
52135 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52137 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52139 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52141 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52142 call in strcasestr.
52143 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52144 __strcasestr_sse42_nonascii.
52145 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52146 strcasestr-nonascii.c.
52147 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52149 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52152 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52153 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52154 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52156 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52161 2010-07-06 Andreas Schwab <schwab@redhat.com>
52164 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52167 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52170 _PC_PIPE_BUF using F_GETPIPE_SZ.
52172 2010-07-05 Roland McGrath <roland@redhat.com>
52174 * manual/arith.texi (Rounding Functions): Fix rint description
52175 implicit in round description.
52177 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52179 * elf/Makefile: Fix linking for a few tests to make recent linker
52182 2010-06-30 Andreas Schwab <schwab@redhat.com>
52184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52185 $(common-objpfx)libc_nonshared.a.
52187 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52189 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52190 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52191 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52192 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52193 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52194 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52195 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52196 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52211 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52212 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52213 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52214 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52215 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52216 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52217 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52218 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52219 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52220 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52221 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52222 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52238 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52240 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52241 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52242 * string/memmove.c (memmove): Renamed to ...
52243 (MEMMOVE): ...this. Default to memmove.
52244 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52245 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52248 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52249 mempcpy-ssse3-back memmove-ssse3-back.
52250 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52253 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52254 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52255 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52256 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52257 * sysdeps/x86_64/multiarch/memmove.c: New file.
52258 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52259 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52260 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52261 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52262 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52265 (index_Fast_Copy_Backward): Define.
52266 (HAS_ARCH_FEATURE): Define.
52267 (HAS_FAST_REP_STRING): Define.
52268 (HAS_FAST_COPY_BACKWARD): Define.
52270 2010-06-21 Andreas Schwab <schwab@redhat.com>
52272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52273 Restore proper fallback handling.
52275 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52278 * posix/group_member.c (__group_member): Correct checking loop.
52280 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52281 OOM in getpwuid_r correctly. Return error number when the caller
52282 should return, otherwise -1.
52283 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52284 call returning > 0 value.
52285 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52287 2010-06-07 Andreas Schwab <schwab@redhat.com>
52289 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52290 libc_nonshared.a from targets in modules-names.
52292 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52294 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52297 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52301 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52302 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52304 2010-06-02 Andreas Schwab <schwab@redhat.com>
52306 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52308 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52310 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52319 2010-06-14 Roland McGrath <roland@redhat.com>
52321 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52323 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52325 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52326 __REDIRECT followed by __THROW.
52327 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52328 * posix/getopt.h (getopt): Likewise.
52330 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52332 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52333 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52334 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52336 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52337 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52339 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52343 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52347 Properly check family and model.
52349 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52351 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52353 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52355 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52357 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52359 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52362 2010-05-19 Andreas Schwab <schwab@redhat.com>
52364 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52367 2010-05-21 Andreas Schwab <schwab@redhat.com>
52369 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52370 and internal_recvmmsg.
52371 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52372 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52373 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52374 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52376 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52377 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52378 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52380 2010-05-20 Andreas Schwab <schwab@redhat.com>
52382 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52384 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52386 POWER7 optimizations.
52387 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52388 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52390 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52392 * version.h: Update for 2.13 development version.
52394 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52397 exceptions. Return 0.
52399 2010-05-07 Roland McGrath <roland@redhat.com>
52401 * elf/ldconfig.c (main): Add a const.
52403 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52405 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52406 (args_options): Add no-idn option.
52407 (ahosts_keys_int): Add idn_flags to ai_flags.
52408 (parse_option): Handle 'i' option to clear idn_flags.
52410 * malloc/malloc.c (_int_free): Possible race in the most recently
52411 added check. Only act on the data if no current modification
52414 See ChangeLog.17 for earlier changes.