1 2014-06-01 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2014-05-31 David S. Miller <davem@davemloft.net>
7 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8 to occur in round to nearest mode when |x| >= 2.0
10 2014-05-30 Richard Henderson <rth@twiddle.net>
12 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13 (PSEUDO_RET_NOERRNO): Remove.
14 (ret): Don't redefine.
15 (ret_NOERRNO): Define in terms of ret.
16 (ret_ERRVAL): Likewise.
18 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19 use of PSEUDO_RET; perform the error check directly.
21 2014-05-30 Marko Myllynen <myllynen@redhat.com>
23 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28 * malloc/malloc (malloc_info): Fix formatting.
30 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31 Roland McGrath <roland@hack.frob.com>
33 * malloc/malloc (malloc_info): Also print mmapped statistics.
35 2014-05-30 Roland McGrath <roland@hack.frob.com>
37 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
42 * malloc/malloc.c (malloc_info): Inline mi_arena.
44 2014-05-29 Richard Henderson <rth@twiddle.net>
46 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47 Remove comma before expanding ASM_ARGS_##nr.
48 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
52 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
53 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
54 (ASM_ARGS_1): Add leading comma.
56 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
57 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
59 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
60 Remove the expected plt for __errno_location.
62 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
63 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
66 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
67 Always allocate 64 bytes of stack frame. Use ldp/stp to create
69 (DOCARGS_0, DOCARGS_1): Do nothing.
70 (DOCARGS_2): Update to store into the new stack frame.
71 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
72 (UNDOCARGS_1): Update to restore from the new stack frame.
73 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
74 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
76 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
77 (SINGLE_THREAD_P): New parameter for result regno.
78 (PSEUDO): Update to match; use cbz instead of beq.
80 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
81 Use ENTRY to define the _nocancel entry point. Share the syscall
82 and syscall error check paths with the cancel path.
85 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
86 whitespace; tabs before and after asm mnemonics.
88 2014-05-29 Eric Wong <normalperson@yhbt.net>
91 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92 Call fstat64 or stat64 internally, depending on arguments passed.
93 Replace stat buffer argument with file descriptor argument.
94 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
95 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
96 Pass fd to __internal_statvfs instead of calling fstat64.
97 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
98 Pass fd to __internal_statvfs64 instead of calling fstat64.
99 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
100 Pass -1 to __internal_statvfs instead of calling stat64.
101 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
102 Pass -1 to __internal_statvfs64 instead of calling stat64.
104 2014-05-28 Roland McGrath <roland@hack.frob.com>
106 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
107 that was previously under [RESET_PID].
108 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
110 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
111 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
113 2014-05-27 Roland McGrath <roland@hack.frob.com>
115 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
117 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
118 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
120 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
122 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
124 2014-05-27 Andreas Schwab <schwab@suse.de>
126 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
128 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
129 * elf/rtld.c (init_tls, dl_main): Likewise.
130 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
131 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
132 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
133 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
134 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
135 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
136 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
137 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
138 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
139 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
140 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
141 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
142 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
143 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
144 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
145 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
146 * sysdeps/generic/tls.h: Update description.
148 2014-05-27 Will Newton <will.newton@linaro.org>
151 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
152 and restore r2 rather than just restoring.
154 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
157 * libio/tst-ftell-append.c: New test case.
158 * libio/Makefile (tests): Add test case.
159 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
161 * libio/wfileops.c (do_ftell_wide): Likewise.
163 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
167 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
171 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
172 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
173 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
174 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
175 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
176 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
183 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
184 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
185 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
186 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
187 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
189 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
192 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
194 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
196 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
197 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
198 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
201 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
202 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
203 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
226 conditional [RESET_PID].
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
235 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
236 (__libc_vfork): New strong alias.
237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
244 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
245 (__libc_vfork): New strong alias.
246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
251 2014-05-26 Carlos O'Donell <carlos@redhat.com>
253 * malloc/malloc.c (mi_arena): New function.
254 (malloc_info): Remove nested function mi_arena. Call non-nosted
257 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
261 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
262 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
263 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
264 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
265 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
266 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
269 2014-05-26 Andreas Schwab <schwab@suse.de>
272 * locale/programs/repertoire.c (repertoire_read): Add slash
273 between I18NPATH element and file name.
274 * locale/programs/locfile.c (locfile_read): Likewise.
276 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
278 * nptl/pthread_mutexattr_settype.c
279 (__pthread_mutexattr_settype):
280 Disable lock elision for PTHREAD_MUTEX_NORMAL.
282 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
284 * nptl/tst-mutex5 (do_test):
285 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
287 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
289 * benchtests/README: Document 'init' directive.
290 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
292 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
293 (parse_file): Recognize 'init' directive.
295 2014-05-26 Kyle McMartin <kyle@redhat.com>
298 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
299 alignment of struct pthread.
301 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
304 * nscd/netgroupcache.c (addgetnetgrentX): Look for
305 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
306 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
307 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
309 2014-05-25 Richard Henderson <rth@twiddle.net>
311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
312 (SINGLE_THREAD_P_PIC): Remove.
313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
314 (SINGLE_THREAD_P_PIC): Remove.
316 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
317 branch to syscall error ...
319 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
320 from __local_syscall_error to .Lsyscall_error.
321 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
322 (SYSCALL_ERROR): Update label name.
324 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
325 Do not use DOARGS/UNDOARGS.
326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
327 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
328 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
329 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
330 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
332 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
335 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
336 define if !NOT_IN_libc.
337 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
338 define with non-default symbol versions.
340 2014-05-23 Richard Henderson <rth@twiddle.net>
342 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
343 (vfork, __vfork): Define via compat_symbol.
345 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
346 [!HAVE_IFUNC] (vfork_compat): Remove.
347 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
349 2014-05-23 Joseph Myers <joseph@codesourcery.com>
352 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
353 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
356 2014-05-23 Richard Henderson <rth@twiddle.net>
358 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
359 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
360 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
361 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
363 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
364 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
365 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
366 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
367 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
368 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
369 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
370 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
371 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
372 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
373 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
374 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
375 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
376 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
377 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
378 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
379 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
381 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
383 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
385 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
387 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
389 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
391 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
392 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
393 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
394 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
395 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
397 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
398 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
399 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
400 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
401 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
402 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
403 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
404 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
405 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
406 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
407 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
408 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
410 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
412 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
413 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
414 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
415 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
416 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
417 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
418 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
420 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
421 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
422 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
423 before exiting on error.
424 (__libc_vfork): New strong alias.
425 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
426 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
428 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
429 that was previously under [RESET_PID].
430 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
432 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
434 2014-05-23 Joseph Myers <joseph@codesourcery.com>
437 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
438 value when x - 1 is zero.
439 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
440 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
441 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
442 0.0L for an argument of 1.0L.
443 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
445 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
446 value when x - 1 is zero.
447 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
451 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
453 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
454 alphasort and versionsort.
456 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
460 [copysignf]: Likewise.
462 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
464 * crypt/md5-crypt.c: Fix formatting.
466 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
468 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
469 (b64_from_24bit): New function.
471 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
474 libc_hidden_builtin_def to ifunc.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
476 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
478 2014-05-21 Roland McGrath <roland@hack.frob.com>
480 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
481 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
483 2014-05-21 Joseph Myers <joseph@codesourcery.com>
485 * nscd/Depend (linuxthreads): Remove.
487 * resolv/Depend (linuxthreads): Remove.
488 * rt/Depend (linuxthreads): Remove.
490 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
491 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
492 $(common-objpfx)elf/.
493 (link-libc-before-gnulib): Likewise.
494 (elfobjdir): Remove variable.
495 * Makefile (install): Use $(elf-objpfx) instead of
496 $(common-objpfx)elf/.
497 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
499 (link-libc-deps): Likewise.
500 ($(common-objpfx)libc.so): Likewise.
501 ($(common-objpfx)linkobj/libc.so): Likewise.
502 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
503 instead of $(common-objpfx)elf/.
504 (symbolic-link-list): Likewise.
505 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
506 [$(cross-compiling) = no]: Likewise.
507 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
509 (static-gnulib-arch): Likewise.
510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
511 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
512 $(common-objpfx)elf/.
514 2014-05-21 Richard Henderson <rth@redhat.com>
516 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
517 (SINGLE_THREAD_P): Use the correct width load. Fold
520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
521 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
523 2014-05-20 Joseph Myers <joseph@codesourcery.com>
525 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
526 (libgcc_s_resume): Use __attribute_used__.
527 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
530 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
533 optimization when used with float constants.
535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
537 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
540 * locale/nl_langinfo_l.c: Make direct reference to every
541 _nl_current_CATEGORY symbol.
542 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
543 (tests-static): Add tst-langinfo-static.
544 (tests-special): Add tst-langinfo-static.out.
545 ($(objpfx)tst-langinfo.out): Redirect output.
546 ($(objpfx)tst-langinfo-static.out): New.
547 * localedata/tst-langinfo.sh: Send output to stdout.
548 * localedata/tst-langinfo-static.c: New file.
551 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
552 when the shift amount is modulo the limb size.
554 2014-05-20 Richard Henderson <rth@redhat.com>
557 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
558 Change type of sa_flags from unsigned int to int.
561 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
563 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
565 2014-05-20 Will Newton <will.newton@linaro.org>
567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
568 Test the return value of the system call in the nocancel case.
570 2014-05-20 Will Newton <will.newton@linaro.org>
571 Yvan Roux <yvan.roux@linaro.org>
573 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
574 #include of asm/ptrace.h.
575 (PTRACE_GET_THREAD_AREA): Remove #undef.
576 (PTRACE_GETHBPREGS): Likewise.
577 (PTRACE_SETHBPREGS): Likewise.
578 (struct user_regs_struct): New structure.
579 (struct user_fpsimd_struct): New structure.
580 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
581 #include of asm/ptrace.h and second #include of sys/user.h.
582 (PTRACE_GET_THREAD_AREA): Remove #undef.
583 (PTRACE_GETHBPREGS): Likewise.
584 (PTRACE_SETHBPREGS): Likewise.
585 (ELF_NGREG): Use new struct user_regs_struct.
586 (elf_fpregset_t): Use new struct user_fpsimd_struct.
588 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
593 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
597 membar to avoid block loads/stores to overlap previous stores.
599 2014-05-17 Richard Henderson <rth@redhat.com>
601 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
602 Create the __##syscall_name##_nocancel entry point.
603 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
604 Remove; let the sysdep-cancel.h code create it.
606 2014-05-17 David S. Miller <davem@davemloft.net>
608 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
609 Protect with __USE_GNU.
610 (TIOCSET_TEMPT): Likewise.
611 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
612 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
613 these are already provided in bits/ioctl-types.h
615 2014-05-16 Roland McGrath <roland@hack.frob.com>
617 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
618 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
620 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
621 Use wait4 regardless of [__NR_waitpid].
623 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
626 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
627 (_FP_NANSIGN_Q): Set the quiet bit.
629 2014-05-16 Joseph Myers <joseph@codesourcery.com>
631 * benchtests/Makefile
632 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
633 not $(common-objpfx)math/libm.so.
634 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
635 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
636 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
637 $(common-objpfx)dlfcn/libdl.so.
638 ($(objpfx)tst-audit8): Depend on $(libm), not
639 $(common-objpfx)math/libm.so.
640 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
641 not $(common-objpfx)dlfcn/libdl.so.
643 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
644 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
645 [$(build-shared) = yes].
646 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
647 $(common-objpfx)nptl/libpthread.so.
648 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
649 $(common-objpfx)math/libm.so$(libm.so-version) or
650 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
651 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
652 $(common-objpfx)dlfcn/libdl.so.
653 * setjmp/Makefile (link-libm): Remove variable.
654 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
655 * stdio-common/Makefile (link-libm): Remove variable.
656 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
657 * stdlib/Makefile (link-libm): Remove variable.
658 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
659 ($(objpfx)tst-strtod-round): Likewise.
660 ($(objpfx)tst-tininess): Likewise.
661 ($(objpfx)tst-strtod-underflow): Likewise.
662 ($(objpfx)tst-strtod6): Likewise.
663 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
664 $(libdl), not $(common-objpfx)nptl/libpthread.so and
665 $(common-objpfx)dlfcn/libdl.so.
667 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
669 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
670 BSD terminal modes definitions.
672 2014-05-16 Roland McGrath <roland@hack.frob.com>
674 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
675 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
677 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
678 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
679 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
680 Don't do #include_next.
681 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
682 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
683 Don't do #include_next.
684 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
685 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
686 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
687 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
689 2014-05-16 Allan McRae <allan@archlinux.org>
691 * po/sv.po: Update Swedish translation from translation project.
693 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
696 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
699 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
700 errno if the TIOCGPTN ioctl fails with an error different than
702 * login/tst-ptsname.c: New file.
703 * login/Makefile (tests): Add tst-ptsname.
706 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
709 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
713 herrno to return EAI_AGAIN.
715 2014-05-14 Roland McGrath <roland@hack.frob.com>
717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
718 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
719 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
721 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
723 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
724 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
726 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
727 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
728 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
729 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
730 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
731 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
733 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
734 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
735 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
737 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
738 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
739 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
740 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
741 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
743 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
745 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
746 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
748 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
753 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
777 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
782 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
803 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
807 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
808 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
809 (libpthread-sysdep_routines): Add elision-related stuff here instead.
810 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
811 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
812 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
813 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
814 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
815 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
817 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
818 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
819 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
820 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
821 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
823 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
824 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
825 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
826 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
827 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
828 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
829 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
830 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
831 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
833 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
834 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
835 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
836 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
837 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
839 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
840 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
842 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
843 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
844 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
845 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
846 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
850 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
852 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
855 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
856 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
858 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
860 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
863 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
864 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
865 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
867 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
869 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
872 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
875 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
877 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
878 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
880 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
883 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
887 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
889 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
891 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
894 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
897 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
900 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
903 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
905 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
908 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
910 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
912 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
914 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
915 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
917 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
918 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
920 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
922 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
923 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
925 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
928 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
933 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
934 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
936 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
938 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
939 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
940 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
946 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
947 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
949 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
954 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
956 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
961 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
962 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
963 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
964 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
965 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
966 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
968 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
969 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
971 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
973 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
974 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
976 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
979 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
984 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
985 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
986 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
987 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
988 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
989 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
990 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
991 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
992 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
993 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
995 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
996 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
998 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
999 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1001 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1002 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1003 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1005 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1007 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1009 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1013 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1015 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1017 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1020 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1022 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1025 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1027 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1029 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1031 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1034 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1037 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1039 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1043 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1045 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1047 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1049 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1051 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1053 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1056 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1057 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1058 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1059 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1061 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1062 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1063 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1064 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1065 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1066 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1067 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1068 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1069 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1070 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1075 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1076 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1078 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1080 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1081 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1082 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1083 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1084 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1086 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1087 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1088 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1109 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1110 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1112 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1114 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1115 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1116 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1117 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1118 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1119 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1120 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1121 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1122 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1123 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1126 that was previously under [RESET_PID].
1127 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1128 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1129 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1131 * sysdeps/i386/nptl/Implies: New file.
1132 * sysdeps/x86_64/nptl/Implies: New file.
1133 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1134 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1135 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1136 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1138 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1140 (__libc_vfork): New strong alias.
1141 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1142 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1144 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1145 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1146 (__libc_vfork): New strong alias.
1147 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1148 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1150 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1151 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1152 (__libc_vfork): New strong alias.
1153 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1154 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1155 * nptl/pt-vfork.c: New file.
1156 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1157 (libpthread: GLIBC_2.20): New version set (empty).
1159 2014-05-14 Will Newton <will.newton@linaro.org>
1161 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1164 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1167 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1168 arguments with exponent 65 or above.
1169 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1170 arguments 0x1p113L or above.
1171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1172 to arguments 0x1p107L or above.
1173 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1174 positive arguments with exponent 65 or above.
1175 * math/auto-libm-test-in: Add more tests of log1p.
1176 * math/auto-libm-test-out: Regenerated.
1179 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1180 non-finite arguments is +0.
1181 * math/s_cacosf.c (__cacosf): Likewise.
1182 * math/s_cacosl.c (__cacosl): Likewise.
1183 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1184 * sysdeps/i386/fpu/libm-test-ulps: Update.
1185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1188 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1190 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1191 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1192 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1193 for explicit high bit of mantissa when testing for argument equal
1195 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1200 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1201 (__erf): Scale by 16 instead of 8 in potentially underflowing
1202 case. Ensure exception if result actually underflows.
1203 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1204 (__erff): Scale by 16 instead of 8 in potentially underflowing
1205 case. Ensure exception if result actually underflows.
1206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1207 (efx8): Remove variable.
1208 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1209 case. Ensure exception if result actually underflows.
1210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1211 (efx8): Remove variable.
1212 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1213 case. Ensure exception if result actually underflows.
1214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1215 (efx8): Remove variable.
1216 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1217 case. Ensure exception if result actually underflows.
1218 * math/auto-libm-test-in: Add more tests of erf.
1219 * math/auto-libm-test-out: Regenerated.
1221 2014-05-14 Andreas Schwab <schwab@suse.de>
1223 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1224 Remove code conditionalized on USE___THREAD.
1226 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1227 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1230 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1233 Define unconditionally.
1234 (__ASSUME_O_CLOEXEC): Likewise.
1235 (__ASSUME_SOCK_CLOEXEC): Likewise.
1236 (__ASSUME_IN_NONBLOCK): Likewise.
1237 (__ASSUME_PIPE2): Likewise.
1238 (__ASSUME_EVENTFD2): Likewise.
1239 (__ASSUME_SIGNALFD4): Likewise.
1240 (__ASSUME_DUP3): Likewise.
1241 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1242 (__ASSUME_DUP3): Do not define.
1243 (__ASSUME_EVENTFD2): Likewise.
1244 (__ASSUME_IN_NONBLOCK): Likewise.
1245 (__ASSUME_O_CLOEXEC): Likewise.
1246 (__ASSUME_PIPE2): Likewise.
1247 (__ASSUME_SIGNALFD4): Likewise.
1248 (__ASSUME_SOCK_CLOEXEC): Likewise.
1249 (__ASSUME_UTIMES): Undefine.
1250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1251 (__ASSUME_UTIMES): Do not define.
1252 (__ASSUME_O_CLOEXEC): Likewise.
1253 (__ASSUME_SOCK_CLOEXEC): Likewise.
1254 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1255 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1257 (__ASSUME_PIPE2): Likewise.
1258 (__ASSUME_EVENTFD2): Likewise.
1259 (__ASSUME_SIGNALFD4): Likewise.
1260 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1261 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1263 (__ASSUME_EVENTFD2): Likewise.
1264 (__ASSUME_SIGNALFD4): Likewise.
1265 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1266 (__ASSUME_32BITUIDS): Likewise.
1267 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1268 (__ASSUME_IPC64): Likewise.
1269 (__ASSUME_ST_INO_64_BIT): Likewise.
1270 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1271 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1272 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1273 (__ASSUME_UTIMES): Do not define.
1274 (__ASSUME_PSELECT): Likewise.
1275 (__ASSUME_PPOLL): Likewise.
1276 (__ASSUME_O_CLOEXEC): Likewise.
1277 (__ASSUME_SOCK_CLOEXEC): Likewise.
1278 (__ASSUME_IN_NONBLOCK): Likewise.
1279 (__ASSUME_PIPE2): Likewise.
1280 (__ASSUME_EVENTFD2): Likewise.
1281 (__ASSUME_SIGNALFD4): Likewise.
1282 (__ASSUME_DUP3): Likewise.
1283 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1284 (__ASSUME_UTIMES): Likewise.
1285 (__ASSUME_O_CLOEXEC): Likewise.
1286 (__ASSUME_SOCK_CLOEXEC): Likewise.
1287 (__ASSUME_IN_NONBLOCK): Likewise.
1288 (__ASSUME_PIPE2): Likewise.
1289 (__ASSUME_EVENTFD2): Likewise.
1290 (__ASSUME_SIGNALFD4): Likewise.
1291 (__ASSUME_DUP3): Likewise.
1292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1293 (__ASSUME_UTIMES): Likewise.
1294 (__ASSUME_O_CLOEXEC): Likewise.
1295 (__ASSUME_SOCK_CLOEXEC): Likewise.
1296 (__ASSUME_IN_NONBLOCK): Likewise.
1297 (__ASSUME_PIPE2): Likewise.
1298 (__ASSUME_EVENTFD2): Likewise.
1299 (__ASSUME_SIGNALFD4): Likewise.
1300 (__ASSUME_DUP3): Likewise.
1301 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1303 (__ASSUME_UTIMES): Likewise.
1304 (__ASSUME_EVENTFD2): Likewise.
1305 (__ASSUME_SIGNALFD4): Likewise.
1306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1307 (__ASSUME_O_CLOEXEC): Likewise.
1308 (__ASSUME_SOCK_CLOEXEC): Likewise.
1309 (__ASSUME_IN_NONBLOCK): Likewise.
1310 (__ASSUME_PIPE2): Likewise.
1311 (__ASSUME_EVENTFD2): Likewise.
1312 (__ASSUME_SIGNALFD4): Likewise.
1313 (__ASSUME_DUP3): Likewise.
1314 (__ASSUME_UTIMES): Undefine.
1316 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1317 feclearexcept. Remove symbol versioning code.
1318 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1319 symbol versioning code.
1320 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1321 symbol versioning code.
1322 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1323 feupdateenv. Remove symbol versioning code.
1324 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1325 fegetexceptflag. Remove symbol versioning code.
1326 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1327 fesetexceptflag. Remove symbol versioning code.
1328 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1329 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1330 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1331 (__posix_fadvise64_l32): Remove prototype.
1332 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1335 2014-05-13 Roland McGrath <roland@hack.frob.com>
1337 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1338 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1339 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1340 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1342 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1344 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1345 current working directory
1347 2014-05-13 Roland McGrath <roland@hack.frob.com>
1349 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1350 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1351 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1352 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1353 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1354 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1355 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1360 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1368 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1372 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1382 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1383 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1384 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1385 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1386 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1387 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1388 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1389 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1390 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1392 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1393 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1395 * sysdeps/unix/sysv/linux/arm/Makefile
1396 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1397 Add rt-aeabi_unwind_cpp_pr1.
1398 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1399 Add nptl-aeabi_unwind_cpp_pr1.
1400 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1401 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1402 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1403 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1404 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1405 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1407 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1408 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1409 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1410 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1412 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1413 Deconditionalize the code that was previously under [RESET_PID].
1414 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1416 * sysdeps/generic/exit-thread.h: New file.
1417 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1418 * include/unistd.h (__exit_thread): Remove declaration.
1419 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1420 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1421 * csu/libc-start.c: Include <exit-thread.h>.
1422 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1423 * nptl/pthread_create.c: Include <exit-thread.h>.
1424 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1425 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1426 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1427 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1428 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1429 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1430 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1431 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1432 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1433 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1434 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1435 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1436 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1437 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1438 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1439 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1440 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1442 2014-05-13 Andreas Schwab <schwab@suse.de>
1444 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1446 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1448 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1449 (__ASSUME_UTIMES): Do not condition on kernel version.
1450 (__ASSUME_PSELECT): Define unconditionally.
1451 (__ASSUME_PPOLL): Likewise.
1452 (__ASSUME_ATFCTS): Likewise.
1453 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1454 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1455 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1456 (__ASSUME_UTIMENSAT): Define unconditionally.
1457 (__ASSUME_PRIVATE_FUTEX): Likewise.
1458 (__ASSUME_FALLOCATE): Likewise.
1459 (__ASSUME_O_CLOEXEC): Likewise.
1460 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1461 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1462 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1463 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1464 (__ASSUME_IN_NONBLOCK): Likewise.
1465 (__ASSUME_PIPE2): Likewise.
1466 (__ASSUME_EVENTFD2): Likewise.
1467 (__ASSUME_SIGNALFD4): Likewise.
1468 (__ASSUME_DUP3): Likewise.
1469 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1470 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1471 (__ASSUME_AT_RANDOM): Likewise.
1472 (__ASSUME_PREADV): Likewise.
1473 (__ASSUME_PWRITEV): Likewise.
1474 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1475 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1476 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1477 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1478 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1479 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1480 (__ASSUME_O_CLOEXEC): Define unconditionally.
1481 (__ASSUME_PSELECT): Do not undefine conditionally.
1482 (__ASSUME_PPOLL): Likewise.
1483 (__ASSUME_ATFCTS): Likewise.
1484 (__ASSUME_SET_ROBUST_LIST): Likewise.
1485 (__ASSUME_UTIMENSAT): Likewise.
1486 (__ASSUME_FDATASYNC): Define unconditionally.
1487 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1488 (__ASSUME_SIGFRAME_V2): Likewise.
1489 )__ASSUME_EVENTFD2): Likewise.
1490 (__ASSUME_SIGNALFD4): Likewise.
1491 (__ASSUME_PSELECT): Do not undefine conditionally.
1492 (__ASSUME_PPOLL): Likewise.
1493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1494 (__ASSUME_PSELECT): Define unconditionally.
1495 (__ASSUME_PPOLL): Likewise.
1496 (__ASSUME_O_CLOEXEC): Likewise.
1497 (__ASSUME_SOCK_CLOEXEC): Likewise.
1498 (__ASSUME_IN_NONBLOCK): Likewise.
1499 (__ASSUME_PIPE2): Likewise.
1500 (__ASSUME_EVENTFD2): Likewise.
1501 (__ASSUME_SIGNALFD4): Likewise.
1502 (__ASSUME_DUP3): Likewise.
1503 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1504 (__ASSUME_O_CLOEXEC): Likewise.
1505 (__ASSUME_SOCK_CLOEXEC): Likewise.
1506 (__ASSUME_IN_NONBLOCK): Likewise.
1507 (__ASSUME_PIPE2): Likewise.
1508 (__ASSUME_EVENTFD2): Likewise.
1509 (__ASSUME_SIGNALFD4): Likewise.
1510 (__ASSUME_DUP3): Likewise.
1511 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1512 (__ASSUME_EVENTFD2): Likewise.
1513 (__ASSUME_SIGNALFD4): Likewise.
1514 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1516 2014-05-12 Andreas Schwab <schwab@suse.de>
1519 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1520 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1521 than maximum RPC packet size.
1522 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1523 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1524 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1525 (_nss_nis_getservbyport_r): Likewise.
1527 2014-05-12 Will Newton <will.newton@linaro.org>
1529 * malloc/Makefile (tests): Add tst-mallopt.
1530 * malloc/tst-mallopt.c: New file.
1532 2014-05-09 Roland McGrath <roland@hack.frob.com>
1534 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1535 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1537 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1540 (tst-tlsmod6.so): Likewise.
1542 2014-05-09 Roland McGrath <roland@hack.frob.com>
1544 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1546 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1549 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1550 and <dl-procinfo.h>.
1551 (__fegetenv): Save SSE state in envp->__eip if supported.
1552 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1553 envp->__eip if supported.
1554 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1555 and <dl-procinfo.h>.
1556 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1557 __data_offset and __data_selector in environment to 0. Set SSE
1559 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1561 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1563 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1565 2014-05-09 Will Newton <will.newton@linaro.org>
1567 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1568 and libc_relro_required for ARM.
1569 * sysdeps/arm/preconfigure: Regenerate.
1571 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1572 Stefan Liebler <stli@linux.vnet.ibm.com>
1574 * config.make.in (enable-lock-elision): New Makefile variable.
1575 * configure.ac: Likewise.
1576 * configure: Regenerate.
1577 * sysdeps/s390/configure.ac:
1578 Add check for gcc transactions support.
1579 * sysdeps/s390/configure: Regenerate.
1580 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1581 Build elision files if enabled.
1582 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1583 Add lock elision support for s390.
1584 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1585 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1586 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1587 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1588 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1589 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1590 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1592 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1594 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1596 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1598 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1599 (__lll_timedlock_elision, __lll_lock_elision)
1600 (__lll_unlock_elision, __lll_trylock_elision)
1601 (lll_timedlock_elision, lll_lock_elision)
1602 (lll_unlock_elision, lll_trylock_elision): Add.
1603 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1604 (pthread_mutex_t): Add lock elision support for s390.
1606 2014-05-14 Wilco <wdijkstr@arm.com>
1608 * sysdeps/arm/fclrexcpt.c: Cleanup.
1609 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1610 * sysdeps/arm/feenablxcpt.c: Cleanup.
1611 * sysdeps/arm/fegetenv.c: Cleanup.
1612 * sysdeps/arm/fegetexcept.c: Cleanup.
1613 * sysdeps/arm/fegetround.c: Cleanup.
1614 * sysdeps/arm/feholdexcpt.c: Cleanup.
1615 * sysdeps/arm/fesetenv.c: Cleanup.
1616 * sysdeps/arm/fesetround.c: Cleanup.
1617 * sysdeps/arm/feupdateenv.c: Cleanup.
1618 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1619 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1620 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1621 * sysdeps/arm/ftestexcept.c: Cleanup.
1622 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1623 * sysdeps/arm/setfpucw.c: Cleanup.
1625 2014-05-09 Will Newton <will.newton@linaro.org>
1627 * sysdeps/arm/armv7/strcmp.S: New file.
1628 * NEWS: Mention addition of ARMv7 optimized strcmp.
1630 2014-05-08 Roland McGrath <roland@hack.frob.com>
1632 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1633 look for %.ac rather than %.in.
1635 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1636 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1637 * sysdeps/mach/hurd/configure: Regenerated.
1638 * sysdeps/unix/sysv/linux/configure: Regenerated.
1640 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1642 2014-05-07 Steve Ellcey <sellcey@mips.com>
1645 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1649 2014-05-07 Andreas Schwab <schwab@suse.de>
1651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1652 when skipping over non-matching result from nscd.
1654 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1657 * nptl/sockperf.c (client): Check socket return value.
1660 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1661 nscd security class.
1663 2014-05-06 Roland McGrath <roland@hack.frob.com>
1665 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1666 * sysdeps/arm/unwind.h: ... here.
1668 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1671 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1674 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1676 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1677 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1678 multiarch strncpy for PPC64.
1679 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1680 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1682 multiarch optimizations.
1683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1684 (__libc_ifunc_impl_list): Likewise.
1685 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1686 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1687 multiarch stpncpy for PPC64.
1688 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1689 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1691 2014-05-06 Andreas Schwab <schwab@suse.de>
1694 * gmon/mcount.c (_MCOUNT_DECL): Use
1695 atomic_compare_and_exchange_bool_acq instead of
1696 catomic_compare_and_exchange_bool_acq.
1698 2014-05-05 Roland McGrath <roland@hack.frob.com>
1700 * elf/Makefile (others, install-bin): Remove pldd.
1701 (pldd-modules): Variable removed.
1702 ($(objpfx)pldd): Target removed.
1703 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1704 (others, install-bin): Append pldd here.
1705 ($(objpfx)pldd): New target.
1707 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1708 to 0, so the first #if test emitted later doesn't see it undefined.
1709 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1710 * sysdeps/gnu/errlist.c: Regenerated.
1712 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1715 [libc_hidden_builtin_def]: Define to empty value.
1716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1717 [libc_hidden_builtin_def]: Likewise.
1718 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1719 [libc_hidden_builtin_def]: Likewise.
1720 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1721 [libc_hidden_builtin_def]: Likewise.
1722 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1723 __redirect_memcpy and define ifunc as default hidden symbol.
1724 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1725 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1727 2014-05-04 Adam Conrad <adconrad@0c3.net>
1729 * locale/iso-4217.def: Reintroduce XDR currency.
1731 2014-05-04 Allan McRae <allan@archlinux.org>
1733 * po/eo.po: Update Esperanto translation from translation project.
1735 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1737 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1738 and FEATURE_INDEX_MAX to 1.
1739 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1741 2014-05-01 Steve Ellcey <sellcey@mips.com>
1743 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1744 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1745 * iconvdata/big5.c (ONE_DIRECTION): Define.
1746 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1747 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1748 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1749 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1750 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1751 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1752 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1753 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1754 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1755 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1756 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1757 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1758 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1759 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1760 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1761 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1762 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1763 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1764 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1765 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1766 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1767 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1768 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1769 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1770 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1771 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1772 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1773 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1774 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1775 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1776 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1777 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1778 * iconvdata/johab.c (ONE_DIRECTION): Define.
1779 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1780 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1781 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1782 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1783 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1784 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1785 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1786 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1787 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1788 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1790 2014-05-01 Roland McGrath <roland@hack.frob.com>
1792 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1793 (_IO_JUMPS_OFFSET): Define to 0.
1795 * nptl/sysdeps/pthread/bits/libc-lock.h
1796 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1797 (__libc_lock_define_initialized_recursive): Always define using
1798 initializer. Modern compilers treat uninitialized (implicit zero) and
1799 explicit zero initializers the same (i.e. put the datum in bss).
1801 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1803 * nscd/nscd-client.h: Include <string.h>.
1805 2014-05-01 David S. Miller <davem@davemloft.net>
1808 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1809 multiple zero bytes exist at the end of a string.
1810 Reported by Aurelien Jarno <aurelien@aurel32.net>
1812 * string/test-strcmp.c (check): Add explicit test for situations where
1813 there are multiple zero bytes after the first.
1815 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1818 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1819 when compiling wprintf.
1820 * stdio-common/tstdiomisc.c (t3): New function.
1823 2014-05-01 Steve Ellcey <sellcey@mips.com>
1825 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1826 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1827 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1828 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1830 2014-05-01 Steve Ellcey <sellcey@mips.com>
1832 * stdlib/longlong.h: Updated from GCC.
1834 2014-05-01 Will Newton <will.newton@linaro.org>
1835 Bernard Ogden <bernie.ogden@linaro.org>
1837 * NEWS: Update fixed bug list.
1840 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1842 2014-04-30 David S. Miller <davem@davemloft.net>
1844 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1845 (libc_feholdexcept_setround_sparc_ctx): New function.
1846 (libc_fesetenv_sparc_ctx): Likewise.
1847 (libc_feupdateenv_sparc_ctx): Likewise.
1848 (libc_feholdsetround_sparc_ctx): Likewise.
1849 (libc_feholdexcept_setround_ctx): Define.
1850 (libc_feholdexcept_setroundf_ctx): Likewise.
1851 (libc_feholdexcept_setroundl_ctx): Likewise.
1852 (libc_fesetenv_ctx): Likewise.
1853 (libc_fesetenvf_ctx): Likewise.
1854 (libc_fesetenvl_ctx): Likewise.
1855 (libc_feupdateenv_ctx): Likewise.
1856 (libc_feupdateenvf_ctx): Likewise.
1857 (libc_feupdateenvl_ctx): Likewise.
1858 (libc_feresetround_ctx): Likewise.
1859 (libc_feresetroundf_ctx): Likewise.
1860 (libc_feresetroundl_ctx): Likewise.
1861 (libc_feholdsetround_ctx): Likewise.
1862 (libc_feholdsetroundf_ctx): Likewise.
1863 (libc_feholdsetroundl_ctx): Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1866 with __USE_GNU instead of XOPEN cpp guards.
1868 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1872 with XOPEN cpp guards.
1874 2014-04-30 Julian Brown <julian@codesourcery.com>
1877 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1880 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1883 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1885 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1886 * sysdeps/unix/sysv/linux/configure: Regenerated.
1887 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1888 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1889 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1890 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1891 * README: Update reference to required Linux kernel version.
1892 * manual/install.texi (Linux): Update reference to required Linux
1893 kernel headers version.
1894 * INSTALL: Regenerated.
1896 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1898 [POSIX] (limits.h): Likewise.
1899 [POSIX] (math.h): Likewise.
1900 [POSIX] (sys/wait.h): Likewise.
1901 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1903 [POSIX] (stddef.h): Do not allow header inclusion.
1905 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1909 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1911 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1912 Return immediately after lll_futex_wake.
1914 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1917 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1919 (datahead_init_pos): Call datahead_init_common early.
1920 (datahead_init_neg): Likewise.
1922 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1923 datahead_init_neg): New functions.
1924 * nscd/aicache.c (addhstaiX): Use them.
1925 * nscd/grpcache.c (cache_addgr): Likewise.
1926 * nscd/hstcache.c (cache_addhst): Likewise.
1927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1928 * nscd/netgroupcache.c (do_notfound): Likewise.
1929 (addgetnetgrentX): Likewise.
1930 (addinnetgrX): Likewise.
1931 * nscd/pwdcache.c (cache_addpw): Likewise.
1932 * nscd/servicescache.c (cache_addserv): Likewise.
1934 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1935 Atsushi Onoe <atsushi@onoe.org>
1940 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1941 one response is valid.
1942 * resolv/res_send.c (send_dg): Check for validity of other
1943 response if the current response is a referral.
1945 2014-04-29 Steve Ellcey <sellcey@mips.com>
1947 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1949 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1952 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1953 Always divide by positive zero when computing -Inf result.
1954 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1955 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1957 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1960 FPSCR if value do not change.
1961 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1962 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1963 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1964 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1965 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1966 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1969 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1971 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1972 * sysdeps/unix/sysv/linux/hppa: Move directory from
1973 ports/systeps/unix/sysv/linux/hppa.
1974 * README: Update listing for hppa-*-linux-gnu.
1976 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1979 * manual/stdio.texi (Hook functions): Fix types of stream hook
1982 * socket/sys/socket.h: Fix typo in comment.
1984 2014-04-28 Wilco <wdijkstr@arm.com>
1986 * sysdeps/arm/fenv_private.h: New file.
1987 * sysdeps/arm/math_private.h: New file.
1988 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1990 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1992 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1994 (La_x86_64_retval): Likewise.
1996 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1998 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1999 fpsr if value didn't change.
2000 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2001 to fpcr if value didn't change.
2002 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2003 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2004 fpsr or fpcr if value didn't change.
2005 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2006 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2007 fpcr if value didn't change.
2008 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2009 to fpsr if value didn't change.
2011 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2013 * nptl/tst-sem3.c: Use test-skeleton.c
2014 (main): Rename to do_test. Use return instead of
2016 * nptl/tst-sem4.c: Use test-skeleton.c
2017 (main): Rename to do_test.
2019 2014-04-22 David S. Miller <davem@davemloft.net>
2021 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2022 (struct sigaction): New struct member __glibc_reserved0, change
2023 type of sa_flags to int.
2025 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2027 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2028 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2030 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2032 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2033 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2035 2014-04-22 Will Newton <will.newton@linaro.org>
2036 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2038 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2039 (__longjmp): Add longjmp and longjmp_target SystemTap
2041 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2042 (__sigsetjmp): Add setjmp SystemTap probe.
2044 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2046 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2049 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2053 * sysdeps/powerpc/fpu/fenv_private.h
2054 (libc_feholdexcept_setroundl_ctx): Define to
2055 libc_feholdexcept_setround_ppc_ctx.
2056 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2057 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2058 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2059 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2061 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2063 * sysdeps/aarch64/math-tests.h: New file.
2065 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2067 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2070 Check and set bit_AVX2_Usable.
2071 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2073 (bit_AVX2): Likewise.
2074 (index_AVX2_Usable): Likewise.
2075 (CPUID_AVX2): Likewise.
2076 (HAS_AVX2): Likewise.
2078 2014-04-17 Will Newton <will.newton@linaro.org>
2080 * manual/setjmp.texi (System V contexts): Add note that
2081 calling setcontext on a context created by a call to a
2082 signal handler is undefined. Update text to note that
2083 setcontext from a signal handler is possible but not
2087 * stdlib/tst-setcontext.c: Include signal.h.
2088 (main): Check that the signal stack before and
2089 after swapcontext is the same.
2091 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2092 Re-implement to restore registers in user code and avoid
2093 rt_sigreturn system call.
2095 2014-04-17 Wilco <wdijkstr@arm.com>
2097 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2098 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2099 * math/test-fenv.c: Skip exception trap tests on targets which only
2100 support non-stop mode.
2102 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2103 Wilco Dijkstra <wilco.dijkstra@arm.com>
2105 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2106 (libc_feholdsetround_aarch64_ctx)
2107 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2108 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2109 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2110 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2111 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2112 (libc_feresetround_noexl_ctx): Define.
2114 2014-04-16 Richard Henderson <rth@redhat.com>
2116 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2118 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2121 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2122 const from the non-libc, non-ldso copy.
2124 * sysdeps/alpha/libm-test-ulps: Regenerate.
2126 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2127 Wilco Dijkstra <wilco.dijkstra@arm.com>
2129 * sysdeps/aarch64/fpu/math_private.h: New file.
2131 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2133 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2135 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2137 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2138 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2140 Intel MPX bound registers before _dl_profile_fixup.
2141 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2142 registers after _dl_profile_fixup. Save and restore bound
2143 registers bnd0/bnd1 when calling _dl_call_pltexit.
2144 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2145 (LR_BND_OFFSET): Likewise.
2146 (LRV_BND0_OFFSET): Likewise.
2147 (LRV_BND1_OFFSET): Likewise.
2149 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2151 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2153 * sysdeps/mach/hurd/i386/tls.h: ... here.
2154 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2155 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2158 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2160 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2162 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2164 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2166 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2169 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2170 * sysdeps/s390/configure: Regenerate.
2173 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2174 Set round-to-nearest internally to reduce error accumulation.
2176 2014-04-16 Alan Modra <amodra@gmail.com>
2180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2181 * math/libm-test.inc (frexp_test_data): Add tests.
2182 * NEWS: Update fixed bug list.
2184 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2186 * benchtests/Makefile: Depend on libraries in build directory.
2187 (bench-math): Separate out math tests.
2188 (bench-pthread): Separate out pthread tests.
2189 (bench): Include math and pthread tests.
2191 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2194 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2195 _dl_debug_initialize.
2197 * configure.ac: Remove SELinux header check.
2198 * configure: Regenerate.
2199 * nscd/selinux.c (perms): Array of const char* to permission names.
2200 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2201 default policy. Call string_to_security_class and string_to_av_perm to
2202 translate strings. Enforce default policy and call avs_has_perm with
2203 results of translated strings.
2205 2014-04-13 David S. Miller <davem@davemloft.net>
2207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2209 2014-04-12 Allan McRae <allan@archlinux.org>
2212 * manual/string.texi (Collation Functions): Fix qsort argument
2214 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2216 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2218 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2219 Make the test a no-op if there are no exceptions defined.
2221 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2223 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2224 enable-hardcoded-path-in-tests
2226 2014-04-11 Will Newton <will.newton@linaro.org>
2228 * benchtests/Makefile (extra-objs): Add json-lib.o.
2229 (bench-func): Tidy up JSON output.
2230 * benchtests/bench-skeleton.c: Include json-lib.h.
2231 (main): Use JSON library functions to do output of
2233 * benchtests/bench-timing-type.c (main): Output the
2234 timing type simply, leaving formatting to the user.
2235 * benchtests/json-lib.c: New file.
2236 * benchtests/json-lib.h: Likewise.
2238 2014-04-11 Torvald Riegel <triegel@redhat.com>
2241 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2242 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2243 memory barriers. Add comments.
2244 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2245 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2246 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2247 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2248 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2249 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2251 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2253 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2254 * sysdeps/s390/s390-64/configure.ac: ... this ...
2255 * sysdeps/s390/configure.ac: ... to here.
2256 * sysdeps/s390/s390-32/configure: Delete file.
2257 * sysdeps/s390/s390-64/configure: Delete file.
2258 * sysdeps/s390/configure: Regenerate.
2260 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2262 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2264 2014-04-11 Will Newton <will.newton@linaro.org>
2266 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2267 to zero if it is not defined elsewhere. (mtrim): Test
2268 the value of MALLOC_DEBUG with #if rather than #ifdef.
2270 2014-04-10 Torvald Riegel <triegel@redhat.com>
2272 * benchtests/pthread_once-inputs: New file.
2273 * benchtests/pthread_once-source.c: New file.
2274 * benchtests/README: Update documentation.
2276 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2277 H.J. Lu <hongjiu.lu@intel.com>
2279 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2280 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2281 * sysdeps/x86_64/configure: Regenerated.
2282 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2284 (REGISTER_SAVE_RAX): Likewise.
2285 (REGISTER_SAVE_RCX): Likewise.
2286 (REGISTER_SAVE_RDX): Likewise.
2287 (REGISTER_SAVE_RSI): Likewise.
2288 (REGISTER_SAVE_RDI): Likewise.
2289 (REGISTER_SAVE_R8): Likewise.
2290 (REGISTER_SAVE_R9): Likewise.
2291 (REGISTER_SAVE_BND0): Likewise.
2292 (REGISTER_SAVE_BND1): Likewise.
2293 (REGISTER_SAVE_BND2): Likewise.
2294 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2295 bound registers when calling _dl_fixup.
2297 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2300 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2302 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2303 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2304 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2305 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2306 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2307 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2308 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2310 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2313 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2314 pathconf(_PC_NAME_MAX).
2316 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2320 (__PTHREAD_SPINS): Move definition to ...
2321 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2322 (__PTHREAD_SPINS): ... here.
2323 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2324 (__PTHREAD_SPIN): Likewise.
2325 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2326 (__PTHREAD_SPIN): Likewise.
2327 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2328 (__PTHREAD_SPIN): Likewise.
2329 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2330 (__PTHREAD_SPIN): Likewise.
2331 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2332 (__PTHREAD_SPIN): Likewise.
2333 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2334 (__PTHREAD_SPIN): Likewise.
2335 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2336 (__PTHREAD_SPIN): Likewise.
2337 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2338 (__PTHREAD_SPIN): Likewise.
2339 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2340 (__PTHREAD_SPIN): Likewise.
2341 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2342 (__PTHREAD_SPIN): Likewise.
2343 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2344 (__PTHREAD_SPIN): Likewise.
2345 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2346 (__PTHREAD_SPIN): Likewise.
2348 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2349 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2350 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2351 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2353 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2354 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2355 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2356 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2358 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2359 strlen symbol for non multi-arch builds.
2360 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2361 missing hidden_def and weak_alias.
2363 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2365 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2367 2014-04-07 Will Newton <will.newton@linaro.org>
2369 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2370 and contents. [!_LIBC] Remove #ifndef and contents.
2371 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2372 * string/memccpy.c (__memccpy): Use ANSI prototype.
2373 * string/memfrob.c (memfrob): Likewise.
2374 * string/strcoll.c (STRCOLL): Likewise.
2375 * string/strlen.c (strlen): Likewise.
2376 * string/strtok.c (STRTOK): Likewise.
2377 * string/strcat.c: Remove unused #include of memcopy.h.
2378 (strcat): Use ANSI prototype.
2379 * string/strchr.c: Remove unused #include of memcopy.h.
2380 (strchr): Use ANSI prototype.
2381 * string/strcmp.c: Remove unused #include of memcopy.h.
2382 (strcmp): Use ANSI prototype.
2383 * string/strcpy.c: Remove unused #include of memcopy.h.
2384 (strcpy): Use ANSI prototype.
2386 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2389 * config.make.in (config-extra-cppflags): Set it from
2390 libc_extra_cppflags.
2391 * configure.ac (libc_extra_cflags): Make it accumulate over
2392 configure fragments.
2393 (libc_extra_cppflags): New flag.
2394 * configure. Regenerate.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2396 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2397 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2401 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2402 result for FE_DOWNWARD rounding mode.
2403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2407 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2409 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2410 in function argument name.
2412 2014-04-03 David Svoboda <svoboda@cert.org>
2415 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2418 2014-04-03 Roland McGrath <roland@hack.frob.com>
2420 * elf/dl-unmap-segments.h: New file.
2421 * sysdeps/generic/ldsodefs.h
2422 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2423 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2424 * elf/dl-fptr.c: Likewise.
2425 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2426 * sysdeps/aarch64/tlsdesc.c: Likewise.
2427 * sysdeps/arm/tlsdesc.c: Likewise.
2428 * sysdeps/i386/tlsdesc.c: Likewise.
2429 * sysdeps/tile/dl-runtime.c: Likewise.
2430 * sysdeps/x86_64/tlsdesc.c: Likewise.
2431 * elf/dl-load.h: New file.
2432 * elf/dl-load.c: Include it.
2433 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2434 Macros moved to dl-load.h.
2435 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2436 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2437 Use _dl_unmap_segments in place of __munmap.
2438 Break out segment-mapping loop into ...
2439 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2441 2014-04-03 Will Newton <will.newton@linaro.org>
2443 * elf/dl-lookup.c (do_lookup_x): Remove comment
2444 referring to nested function and move variable
2445 declarations down to before first use.
2447 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2451 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2453 * math/s_catanf.c (__catanf): Likewise.
2454 * math/s_catanh.c (__catanh): Likewise.
2455 * math/s_catanhf.c (__catanhf): Likewise.
2456 * math/s_catanhl.c (__catanhl): Likewise.
2457 * math/s_catanl.c (__catanl): Likewise.
2458 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2459 by positive zero when computing -Inf result.
2460 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2461 (catanh_test): Likewise.
2462 * sysdeps/i386/fpu/libm-test-ulps: Update.
2463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2467 instead of using underflowing value in computing result.
2468 * math/s_clog10.c (__clog10): Likewise.
2469 * math/s_clog10f.c (__clog10f): Likewise.
2470 * math/s_clog10l.c (__clog10l): Likewise.
2471 * math/s_clogf.c (__clogf): Likewise.
2472 * math/s_clogl.c (__clogl): Likewise.
2473 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2474 (clog10_test): Likewise.
2475 * sysdeps/i386/fpu/libm-test-ulps: Update.
2476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2478 2014-04-02 Alan Modra <amodra@gmail.com>
2481 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2482 output when value is near a power of two. Use int64_t for lx and
2483 remove casts. Use decimal rather than hex exponent constants.
2484 Don't use long double multiplication when double will suffice.
2485 * math/libm-test.inc (nextafter_test_data): Add tests.
2486 * NEWS: Add 16739 and 16786 to bug list.
2488 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2490 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2492 2014-04-01 Will Newton <will.newton@linaro.org>
2494 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2495 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2497 2014-04-01 Florian Weimer <fweimer@redhat.com>
2500 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2501 * nptl/tst-setuid2.c: New file.
2502 * nptl/Makefile (xtests): Add tst-setuid2.
2504 2014-04-01 Alan Modra <amodra@gmail.com>
2507 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2509 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2513 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2514 set errno as appropriate.
2515 * math/w_scalbf.c (__scalbf): Likewise.
2516 * math/w_scalbl.c (__scalbl): Likewise.
2517 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2518 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2519 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2523 * math/w_atan2.c: Include <errno.h>.
2524 (__atan2): Set errno for result underflowing to zero.
2525 * math/w_atan2f.c: Include <errno.h>.
2526 (__atan2f): Set errno for result underflowing to zero.
2527 * math/w_atan2l.c: Include <errno.h>.
2528 (__atan2l): Set errno for result underflowing to zero.
2529 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2531 * math/auto-libm-test-out: Regenerated.
2533 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2536 Encode instruction correctly in little endian.
2537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2541 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2543 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2546 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2549 * sysdeps/unix/sysv/linux/kernel-features.h
2550 [__sparc__ && !__arch64__ && !__sparc_v9__]
2551 (__ASSUME_SET_ROBUST_LIST): Do not define.
2552 [__sparc__ && !__arch64__ && !__sparc_v9__]
2553 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2554 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2556 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2557 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2558 (__ASSUME_REQUEUE_PI): Likewise.
2559 (__ASSUME_SET_ROBUST_LIST): Likewise.
2560 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2561 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2564 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2566 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2568 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2570 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2571 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2573 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2574 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2579 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2580 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2582 2014-03-31 Will Newton <will.newton@linaro.org>
2584 * benchtests/Makefile (bench): Add ffs and ffsll to list
2586 * benchtests/ffs-inputs: New file.
2587 * benchtests/ffsll-inputs: Likewise.
2589 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2592 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2593 too large before casting to int.
2594 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2595 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2596 * math/libm-test.inc (scalb_test_data): Add more tests.
2598 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2600 * benchtests/Makefile (DETAILED_OPT): New make option.
2601 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2603 * benchtests/bench-skeleton.c: Include stdbool.h.
2604 (main): Store and print timings per input.
2605 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2606 member to each argument value.
2607 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2608 (_print_arg_data): Initialize per-input timing to 0.
2610 * benchtests/Makefile (timing-type): New binary.
2611 (bench-clean): Also remove bench-timing-type.
2612 (bench): New target for timing-type.
2613 (bench-func): Print output in JSON format.
2614 * benchtests/bench-skeleton.c (main): Print output in JSON
2616 * benchtests/bench-timing-type.c: New file.
2617 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2618 (TIMING_PRINT_STATS): Remove.
2619 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2622 * benchtests/bench-modf.c: Remove.
2623 * benchtests/modf-inputs: New inputs file.
2625 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2628 * math/s_clog10.c (M_PI_LOG10E): New macro.
2629 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2630 imaginary parts are 0.
2631 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2632 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2633 imaginary parts are 0.
2634 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2635 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2636 imaginary parts are 0.
2637 * math/libm-test.inc (clog10_test_data): Update expected results
2638 for when real and imaginary parts are 0.
2640 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2642 * elf/dl-load.c: Finish conversion of __builtin_expect into
2645 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2649 1+x for argument with exponent below -67.
2650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2652 * math/auto-libm-test-in: Add more tests of exp.
2653 * math/auto-libm-test-out: Regenerated.
2655 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2658 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2659 (nscd_getnetgrent): Use it.
2662 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2665 2014-03-27 Andi Kleen <ak@linux.intel.com>
2667 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2668 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2669 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2670 (lll_robust_unlock): Remove out of line section. Use cfi
2672 (LLL_STUB_UNWIND_INFO*): Remove.
2673 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2674 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2675 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2676 (lll_robust_unlock): Remove out of line section. Use cfi
2678 (LLL_STUB_UNWIND_INFO*): Remove.
2680 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2683 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2686 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2688 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2690 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2693 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2695 * math/test-fenv-preserve.c: New file.
2696 * math/Makefile (tests): Add test-fenv-preserve.
2698 2014-03-26 Will Newton <will.newton@linaro.org>
2700 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2702 2014-03-25 Roland McGrath <roland@hack.frob.com>
2704 * scripts/versionlist.awk: Partition the version sets and emit all
2705 GLIBC_* (sorted) before all others (sorted).
2707 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2709 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2710 GLIBC_2.2.5 version.
2712 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2717 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2722 2014-03-25 Andreas Schwab <schwab@suse.de>
2724 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2725 label to be used after in6ailist is initialized.
2727 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2730 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2732 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2736 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2738 (fp_formats): Update initializers.
2739 (init_fp_formats): Initialize new field.
2740 (output_for_one_input_case): Allow underflow for results up to
2742 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2743 * math/auto-libm-test-in: Don't mark some underflows from asin and
2745 * math/auto-libm-test-out: Regenerated.
2746 * sysdeps/i386/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749 2014-03-25 Andreas Schwab <schwab@suse.de>
2751 * libio/Makefile (tst-ftell-partial-wide-ENV)
2752 (tst-ftell-active-handler-ENV): Define.
2754 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2756 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2758 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2760 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2762 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2765 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2766 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2768 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2771 * elf/dl-load.c (open_verify): Add mode parameter.
2772 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2773 (open_path): Change from boolean 'secure' to complete flag 'mode'
2774 (_dl_map_object): Adjust.
2775 * elf/Makefile (tests): Add tst-dlopen-aout.
2776 * elf/tst-dlopen-aout.c: New test.
2778 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2781 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2782 (struct stat): Rename member pad0 to __glibc_reserved0.
2785 * sysdeps/s390/s390-32/bits/wordsize.h
2786 (__WORDSIZE32_SIZE_ULONG): New define.
2787 * sysdeps/s390/s390-64/bits/wordsize.h
2788 (__WORDSIZE32_SIZE_ULONG): Likewise.
2789 * sysdeps/generic/stdint.h (SIZE_MAX):
2790 Define as UL if __WORDSIZE32_SIZE_ULONG.
2793 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2794 (__glibc_reserved0): New variable.
2795 (sa_flags): Change type to int.
2797 * posix/Makefile (before-compile): Use += before-compile instead
2800 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2801 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2803 2014-03-20 Andreas Schwab <schwab@suse.de>
2806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2807 non-matching result from nscd.
2809 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2811 * scripts/bench.py: Moved to ...
2812 * benchtests/scripts/bench.py: ... here.
2813 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2815 2014-03-24 Andreas Schwab <schwab@suse.de>
2818 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2819 alloca_account and account alloca use for struct in6ailist.
2821 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2824 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2825 rounding mode to recompute results that overflow to infinity or
2827 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2829 * math/auto-libm-test-out: Regenerated.
2830 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2831 (ccosh_test): Likewise.
2832 (csin_test_data): Use plus_oflow.
2833 (csin_test): Use ALL_RM_TEST.
2834 (csinh_test_data): Use plus_oflow.
2835 (csinh_test): Use ALL_RM_TEST.
2836 * sysdeps/i386/fpu/libm-test-ulps: Update.
2837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2839 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2841 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2842 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2843 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2846 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2848 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2849 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2850 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2851 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2853 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2854 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2856 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2857 * sysdeps/i386/fpu/libm-test-ulps: Update.
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2862 * scripts/bench.pl: Remove file.
2863 * scripts/bench.py: New benchmark script.
2864 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2865 * benchtests/README: Mention python dependency.
2866 * scripts/pylintrc: New file.
2867 * scripts/pylint: New file.
2869 * bits/mathdef.h: Use #ifdef instead of #if.
2870 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2871 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2872 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2873 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2874 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2875 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2877 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2878 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2880 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2882 and strpbrk-ppc64 objects.
2883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2884 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2885 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2886 multiarch strpbrk for POWER7.
2887 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2888 multiarch strpbrk for PPC64.
2889 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2891 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2894 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2896 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2897 (atan_test): Likewise.
2898 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2899 (atanh_test): Use ALL_RM_TEST.
2900 (atan2_test_data): Likewise.
2901 (cabs_test): Likewise.
2902 (cacosh_test): Likewise.
2903 (carg_test): Likewise.
2904 (casin_test): Likewise.
2905 (casinh_test): Likewise.
2906 (cbrt_test): Likewise.
2907 (csqrt_test): Likewise.
2908 (erf_test): Likewise.
2909 (erfc_test): Likewise.
2910 (pow10_test): Likewise.
2911 (exp2_test): Likewise.
2912 (hypot_test): Likewise.
2913 (j0_test): Likewise.
2914 (j1_test): Likewise.
2915 (lgamma_test): Likewise.
2916 (gamma_test): Likewise.
2917 (sincos_test): Likewise.
2918 (tanh_test): Likewise.
2919 (y0_test): Likewise.
2920 (y1_test): Likewise.
2921 * sysdeps/i386/fpu/libm-test-ulps: Update.
2922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2928 and strcspn-ppc64 objects.
2929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2930 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2931 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2932 multiarch strcspn for POWER7.
2933 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2934 multiarch strcspn for PPC64.
2935 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2937 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2940 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2942 * math/gen-libm-test.pl (generate_testfile): Expect only function
2943 name as argument to AUTO_TESTS_* and pass results for all rounding
2944 modes to parse_args.
2945 (parse_auto_input): Separate inputs of automatic tests from
2946 outputs before storing in %auto_tests.
2947 * math/libm-test.inc (acos_test_data): Update call to
2949 (acos_test): Use ALL_RM_TEST.
2950 (acos_tonearest_test_data): Remove.
2951 (acos_test_tonearest): Likewise.
2952 (acos_towardzero_test_data): Likewise.
2953 (acos_test_towardzero): Likewise.
2954 (acos_downward_test_data): Likewise.
2955 (acos_test_downward): Likewise.
2956 (acos_upward_test_data): Likewise.
2957 (acos_test_upward): Likewise.
2958 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2959 (asin_test_data): Likewise.
2960 (asin_test): Use ALL_RM_TEST.
2961 (asin_tonearest_test_data): Remove.
2962 (asin_test_tonearest): Likewise.
2963 (asin_towardzero_test_data): Likewise.
2964 (asin_test_towardzero): Likewise.
2965 (asin_downward_test_data): Likewise.
2966 (asin_test_downward): Likewise.
2967 (asin_upward_test_data): Likewise.
2968 (asin_test_upward): Likewise.
2969 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2970 (atan_test_data): Likewise.
2971 (atanh_test_data): Likewise.
2972 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2973 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2974 (carg_test_data): Likewise.
2975 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2976 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2977 (ccosh_test_data): Likewise.
2978 (cexp_test_data): Likewise.
2979 (clog_test_data): Likewise.
2980 (clog10_test_data): Likewise.
2981 (cos_test_data): Update call to AUTO_TESTS_f_f.
2982 (cos_test): Use ALL_RM_TEST.
2983 (cos_tonearest_test_data): Remove.
2984 (cos_test_tonearest): Likewise.
2985 (cos_towardzero_test_data): Likewise.
2986 (cos_test_towardzero): Likewise.
2987 (cos_downward_test_data): Likewise.
2988 (cos_test_downward): Likewise.
2989 (cos_upward_test_data): Likewise.
2990 (cos_test_upward): Likewise.
2991 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2992 (cosh_test): Use ALL_RM_TEST.
2993 (cosh_tonearest_test_data): Remove.
2994 (cosh_test_tonearest): Likewise.
2995 (cosh_towardzero_test_data): Likewise.
2996 (cosh_test_towardzero): Likewise.
2997 (cosh_downward_test_data): Likewise.
2998 (cosh_test_downward): Likewise.
2999 (cosh_upward_test_data): Likewise.
3000 (cosh_test_upward): Likewise.
3001 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3002 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3003 (ctan_test_data): Likewise.
3004 (ctan_test): Use ALL_RM_TEST.
3005 (ctan_tonearest_test_data): Remove.
3006 (ctan_test_tonearest): Likewise.
3007 (ctan_towardzero_test_data): Likewise.
3008 (ctan_test_towardzero): Likewise.
3009 (ctan_downward_test_data): Likewise.
3010 (ctan_test_downward): Likewise.
3011 (ctan_upward_test_data): Likewise.
3012 (ctan_test_upward): Likewise.
3013 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3014 (ctanh_test): Use ALL_RM_TEST.
3015 (ctanh_tonearest_test_data): Remove.
3016 (ctanh_test_tonearest): Likewise.
3017 (ctanh_towardzero_test_data): Likewise.
3018 (ctanh_test_towardzero): Likewise.
3019 (ctanh_downward_test_data): Likewise.
3020 (ctanh_test_downward): Likewise.
3021 (ctanh_upward_test_data): Likewise.
3022 (ctanh_test_upward): Likewise.
3023 (erf_test_data): Update call to AUTO_TESTS_f_f.
3024 (erfc_test_data): Likewise.
3025 (exp_test_data): Likewise.
3026 (exp_test): Use ALL_RM_TEST.
3027 (exp_tonearest_test_data): Remove.
3028 (exp_test_tonearest): Likewise.
3029 (exp_towardzero_test_data): Likewise.
3030 (exp_test_towardzero): Likewise.
3031 (exp_downward_test_data): Likewise.
3032 (exp_test_downward): Likewise.
3033 (exp_upward_test_data): Likewise.
3034 (exp_test_upward): Likewise.
3035 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3036 (exp10_test): Use ALL_RM_TEST.
3037 (exp10_tonearest_test_data): Remove.
3038 (exp10_test_tonearest): Likewise.
3039 (exp10_towardzero_test_data): Likewise.
3040 (exp10_test_towardzero): Likewise.
3041 (exp10_downward_test_data): Likewise.
3042 (exp10_test_downward): Likewise.
3043 (exp10_upward_test_data): Likewise.
3044 (exp10_test_upward): Likewise.
3045 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3046 (expm1_test_data): Likewise.
3047 (expm1_test): Use ALL_RM_TEST.
3048 (expm1_tonearest_test_data): Remove.
3049 (expm1_test_tonearest): Likewise.
3050 (expm1_towardzero_test_data): Likewise.
3051 (expm1_test_towardzero): Likewise.
3052 (expm1_downward_test_data): Likewise.
3053 (expm1_test_downward): Likewise.
3054 (expm1_upward_test_data): Likewise.
3055 (expm1_test_upward): Likewise.
3056 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3057 (fma_test): Use ALL_RM_TEST.
3058 (fma_towardzero_test_data): Remove.
3059 (fma_test_towardzero): Likewise.
3060 (fma_downward_test_data): Likewise.
3061 (fma_test_downward): Likewise.
3062 (fma_upward_test_data): Likewise.
3063 (fma_test_upward): Likewise.
3064 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3065 (j0_test_data): Update call to AUTO_TESTS_f_f.
3066 (j1_test_data): Likewise.
3067 (jn_test_data): Update call to AUTO_TESTS_if_f.
3068 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3069 (log_test_data): Update call to AUTO_TESTS_f_f.
3070 (log10_test_data): Likewise.
3071 (log1p_test_data): Likewise.
3072 (log2_test_data): Likewise.
3073 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3074 (pow_tonearest_test_data): Likewise.
3075 (sin_test_data): Update call to AUTO_TESTS_f_f.
3076 (sin_test): Use ALL_RM_TEST.
3077 (sin_tonearest_test_data): Remove.
3078 (sin_test_tonearest): Likewise.
3079 (sin_towardzero_test_data): Likewise.
3080 (sin_test_towardzero): Likewise.
3081 (sin_downward_test_data): Likewise.
3082 (sin_test_downward): Likewise.
3083 (sin_upward_test_data): Likewise.
3084 (sin_test_upward): Likewise.
3085 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3086 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3087 (sinh_test): Use ALL_RM_TEST.
3088 (sinh_tonearest_test_data): Remove.
3089 (sinh_test_tonearest): Likewise.
3090 (sinh_towardzero_test_data): Likewise.
3091 (sinh_test_towardzero): Likewise.
3092 (sinh_downward_test_data): Likewise.
3093 (sinh_test_downward): Likewise.
3094 (sinh_upward_test_data): Likewise.
3095 (sinh_test_upward): Likewise.
3096 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3097 (sqrt_test): Use ALL_RM_TEST.
3098 (sqrt_tonearest_test_data): Remove.
3099 (sqrt_test_tonearest): Likewise.
3100 (sqrt_towardzero_test_data): Likewise.
3101 (sqrt_test_towardzero): Likewise.
3102 (sqrt_downward_test_data): Likewise.
3103 (sqrt_test_downward): Likewise.
3104 (sqrt_upward_test_data): Likewise.
3105 (sqrt_test_upward): Likewise.
3106 (tan_test_data): Update call to AUTO_TESTS_f_f.
3107 (tan_test): Use ALL_RM_TEST.
3108 (tan_tonearest_test_data): Remove.
3109 (tan_test_tonearest): Likewise.
3110 (tan_towardzero_test_data): Likewise.
3111 (tan_test_towardzero): Likewise.
3112 (tan_downward_test_data): Likewise.
3113 (tan_test_downward): Likewise.
3114 (tan_upward_test_data): Likewise.
3115 (tan_test_upward): Likewise.
3116 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3117 (tgamma_test_data): Likewise.
3118 (y0_test_data): Likewise.
3119 (y1_test_data): Likewise.
3120 (yn_test_data): Update call to AUTO_TESTS_if_f.
3121 (main): Do not call removed functions.
3123 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3125 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3126 (ldexp_test_data): Remove.
3127 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3129 (scalb_test): Use ALL_RM_TEST.
3131 2014-03-19 Andreas Schwab <schwab@suse.de>
3133 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3135 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3139 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3140 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3141 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3142 (__ASSUME_PREADV): Undefine.
3143 (__ASSUME_PWRITEV): Likewise.
3145 2014-03-18 Roland McGrath <roland@hack.frob.com>
3147 * bits/mman-linux.h: Add comment about non-Linux use.
3148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3149 bits/mman-linux.h resting place.
3151 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3152 * bits/mman-linux.h: ... here.
3154 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3156 * conform/conformtest.pl: Add standard definition when calling C
3157 preprocessor on data files.
3158 (checknamespace): Remove unused variable.
3160 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3162 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3163 minus_oflow, plus_uflow and minus_uflow in expected results.
3164 * math/libm-test.inc (scalbn_test_data): Add more tests of
3165 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3167 (scalbn_test): Use ALL_RM_TEST.
3168 (scalbln_test_data): Add more tests of negative arguments. Use
3169 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3170 (scalbln_test): Use ALL_RM_TEST.
3172 2014-03-18 Roland McGrath <roland@hack.frob.com>
3174 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3176 2014-03-18 Will Newton <will.newton@linaro.org>
3178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3181 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3183 * Makerules [!subdir] (check-abi): Exit with error status if a
3186 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3188 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3189 for rint. Include results for all rounding modes.
3190 (nearbyint_test): Use ALL_RM_TEST.
3191 (rint_test_data): Include all tests used for nearbyint.
3193 2014-03-17 Will Newton <will.newton@linaro.org>
3195 * nptl/sysdeps/pthread/pthread.h: Revert previous
3198 * sysdeps/generic/ldsodefs.h: Revert previous
3201 * libio/genops.c: Revert previous change.
3202 * libio/libioP.h: Likewise.
3203 * stdio-common/vfprintf.c: Likewise.
3205 * sysdeps/generic/math_private.h: Revert previous
3208 * sysdeps/generic/math_private.h: Check whether
3209 HAVE_RM_CTX is defined with #ifdef rather
3212 * argp/argp-fmtstream.h: Check whether
3213 __STRICT_ANSI__ is defined with #ifdef rather
3215 * argp/argp.h: Likewise.
3217 * libio/genops.c: Check whether
3218 _IO_JUMPS_OFFSET is defined with #ifdef rather
3220 * libio/libioP.h: Likewise.
3221 * stdio-common/vfprintf.c: Likewise.
3223 * sysdeps/generic/ldsodefs.h: Check whether
3224 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3227 * nptl/sysdeps/pthread/pthread.h: Check
3228 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3231 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3235 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3239 * libio/fileops.c (_IO_file_open): Seek to end of file but
3240 don't cache the offset.
3241 (get_file_offset): Remove function.
3242 (do_ftell): Use cached offset when available.
3243 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3244 don't cache the offset.
3245 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3247 (do_one_test): Call it.
3248 (do_ftell_test): Fix up expected old offset for a+ mode.
3249 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3252 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3253 up test status with function return status.
3254 (do_write_test): Likewise.
3255 (do_append_test): Likewise.
3257 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3258 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3261 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3263 * math/gen-libm-test.pl (parse_args): Handle results specified for
3264 each rounding mode separately.
3265 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3266 tests and results from lrint_tonearest_test_data,
3267 lrint_towardzero_test_data, lrint_downward_test_data and
3268 lrint_upward_test_data.
3269 (lrint_test): Use ALL_RM_TEST.
3270 (lrint_tonearest_test_data): Remove.
3271 (lrint_test_tonearest): Likewise.
3272 (lrint_towardzero_test_data): Likewise.
3273 (lrint_test_towardzero): Likewise.
3274 (lrint_downward_test_data): Likewise.
3275 (lrint_test_downward): Likewise.
3276 (lrint_upward_test_data): Likewise.
3277 (lrint_test_upward): Likewise.
3278 (llrint_test_data): Merge in per-rounding-mode tests and results
3279 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3280 llrint_downward_test_data and llrint_upward_test_data.
3281 (llrint_test): Use ALL_RM_TEST.
3282 (llrint_tonearest_test_data): Remove.
3283 (llrint_test_tonearest): Likewise.
3284 (llrint_towardzero_test_data): Likewise.
3285 (llrint_test_towardzero): Likewise.
3286 (llrint_downward_test_data): Likewise.
3287 (llrint_test_downward): Likewise.
3288 (llrint_upward_test_data): Likewise.
3289 (llrint_test_upward): Likewise.
3290 (rint_test_data): Merge in per-rounding-mode tests and results
3291 from rint_tonearest_test_data, rint_towardzero_test_data,
3292 rint_downward_test_data and rint_upward_test_data. Add
3293 per-rounding-mode results for tests not in those arrays.
3294 (rint_test): Use ALL_RM_TEST.
3295 (rint_tonearest_test_data): Remove.
3296 (rint_test_tonearest): Likewise.
3297 (rint_towardzero_test_data): Likewise.
3298 (rint_test_towardzero): Likewise.
3299 (rint_downward_test_data): Likewise.
3300 (rint_test_downward): Likewise.
3301 (rint_upward_test_data): Likewise.
3302 (rint_test_upward): Likewise.
3303 (main): Don't call removed functions.
3305 2014-03-14 Roland McGrath <roland@hack.frob.com>
3307 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3308 "Compiled on ..." crapola. It is anti-useful.
3310 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3312 * scripts/evaluate-test.sh: Handle fourth argument to determine
3313 whether test run should stop on failure.
3314 * Makeconfig (stop-on-test-failure): New variable.
3315 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3316 $(stop-on-test-failure).
3317 * Makefile (tests): Give a summary of results from testing and
3318 exit with failure status if they include an ERROR or FAIL.
3320 * manual/install.texi (Configuring and compiling): Mention
3321 stop-on-test-failure=y.
3322 * INSTALL: Regenerated.
3324 2014-03-14 Roland McGrath <roland@hack.frob.com>
3326 * scripts/versionlist.awk: New file.
3327 * Makerules [$(build-shared) = yes]
3328 (postclean-generated): Add Versions.def, not Versions.def.v and
3330 ($(common-objpfx)Versions.def.v.i): Target removed.
3331 ($(common-objpfx)Versions.def): New target.
3332 ($(common-objpfx)Versions.all): Depend on that rather that
3333 $(common-objpfx)Versions.def.v.
3334 * Versions.def: File removed.
3336 * Makeconfig (+gccwarn): Add -Wundef.
3337 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3338 a dl-sysdep.h breaking its contract.
3339 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3340 * include/stackinfo.h: New file.
3341 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3342 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3343 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3344 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3345 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3346 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3347 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3348 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3349 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3350 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3351 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3352 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3353 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3354 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3355 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3357 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3362 * math/libm-test.inc (round_test_data): Add more tests.
3365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3367 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3370 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3372 * math/libm-test.inc (ceil_test_data): Add more tests.
3374 * math/libm-test.inc (trunc_test_data): Add more tests related to
3377 2014-03-14 Roland McGrath <roland@hack.frob.com>
3379 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3380 with #if rather than #ifdef.
3381 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3383 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3385 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3386 first. Disable AVX-512 GCC support if assembler doesn't support
3388 * sysdeps/x86_64/configure: Regenerated.
3390 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3392 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3393 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3394 (__old_pthread_attr_setstack): Likewise.
3395 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3396 [!_STACK_GROWS_DOWN]: Likewise.
3398 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3400 * config.make.in (have-bash2): Delete.
3401 * configure.ac (libc_cv_have_bash2): Delete.
3402 * configure: Regenerate.
3403 * elf/Makefile (common-ldd-rewrite): Rename to ...
3404 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3405 (sh-ldd-rewrite): Delete.
3406 (bash-ldd-rewrite): Delete.
3407 (have-bash2): Delete checks.
3408 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3411 * config.make.in (have-ksh): Delete.
3413 * configure.ac (libc_cv_have_ksh): Delete.
3414 * configure: Regenerate.
3416 * elf/Makefile: Delete $(have-ksh) check.
3417 ($(objpfx)sotruss): Change KSH to BASH.
3418 * elf/sotruss.ksh: Rename to ...
3419 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3420 function style to match POSIX. Drop ksh vim mode setting.
3422 * manual/time.texi (Specifying the Time Zone with TZ): Change
3423 Tuesday to Thursday.
3425 * debug/tst-longjmp_chk2.c: Update header comment.
3426 (stackoverflow_handler): Add comment. Call assert on pass value.
3428 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3430 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3431 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3432 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3433 (La_x86_64_vector): Add zmm.
3434 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3435 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3436 ($(objpfx)tst-audit10): New target.
3437 ($(objpfx)tst-audit10.out): Likewise.
3438 (tst-audit10-ENV): New.
3439 (AVX512-CFLAGS): Likewise.
3440 (CFLAGS-tst-audit10.c): Likewise.
3441 (CFLAGS-tst-auditmod10a.c): Likewise.
3442 (CFLAGS-tst-auditmod10b.c): Likewise.
3443 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3444 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3445 * sysdeps/x86_64/configure: Regenerated.
3446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3447 AVX-512 zmm register support.
3448 (_dl_x86_64_save_sse): Likewise.
3449 (_dl_x86_64_restore_sse): Likewise.
3450 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3451 size vector registers.
3452 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3453 (ZMM_SIZE): Likewise.
3454 * sysdeps/x86_64/tst-audit10.c: New file.
3455 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3456 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3458 2014-03-13 Roland McGrath <roland@hack.frob.com>
3460 * configure.ac (HAVE_EHDR_START): New check.
3461 * configure: Regenerated.
3462 * config.h.in (HAVE_EHDR_START): New #undef.
3463 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3464 assuming the lowest-addressed segment maps the start of the file.
3466 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3468 * INSTALL: Regenerated.
3470 2014-03-13 Will Newton <will.newton@linaro.org>
3472 * manual/setjmp.texi (System V contexts): Improve
3473 clarity and grammar of documentation.
3475 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3478 * elf/Makefile (tests): Add tst-pie2.
3479 (tests-pie): Add tst-pie2.
3480 * elf/tst-pie2.c: New file.
3481 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3483 * elf/rtld.c (map_doit): Load executable as lt_executable.
3484 (dl_main): Likewise.
3486 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3490 (__ASSUME_PSELECT): Undefine.
3492 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3496 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3498 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3499 selector for static builds.
3501 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3504 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3507 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3509 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3510 IFUNC selector for static builds.
3512 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/mips/math_private.h [__mips_hard_float]
3515 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3516 libc_feresetround_mips_ctx.
3517 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3518 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3519 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3522 * math/s_nextafter.c (__nextafter): Do not return value from
3523 overflowing computation.
3524 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3525 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3530 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3531 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3533 2014-03-11 Roland McGrath <roland@hack.frob.com>
3535 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3536 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3537 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3538 the new mov targetting sp.
3540 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3544 Define it for static builds as well.
3545 (NO_BZERO_IMPL): Likewise.
3547 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3549 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3550 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3551 multiarch strspn for PPC64.
3552 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3553 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3555 (__libc_ifunc_impl_list): Likewise.
3556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3557 multiarch optimizations
3558 * string/strspn.c (strspn): Using macro to redefine symbol name.
3560 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3561 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3564 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3565 multiarch strncat for PPC64.
3566 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3567 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3569 (__libc_ifunc_impl_list): Likewise.
3570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3571 multiarch optimizations
3573 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3576 * nscd/nscd.service: Make service type forking.
3578 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3580 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3581 sign in non default rounding modes.
3582 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3584 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3586 * math/libm-test.inc (ALL_RM_TEST): New macro.
3587 (ceil_test): Use ALL_RM_TEST.
3588 (cimag_test): Likewise.
3589 (conj_test): Likewise.
3590 (copysign_test): Likewise.
3591 (cproj_test): Likewise.
3592 (creal_test): Likewise.
3593 (fabs_test): Likewise.
3594 (floor_test): Likewise.
3595 (fmax_test): Likewise.
3596 (fmin_test): Likewise.
3597 (fmod_test): Likewise.
3598 (fpclassify_test): Likewise.
3599 (frexp_test): Likewise.
3600 (ilogb_test): Likewise.
3601 (isfinite_test): Likewise.
3602 (finite_test): Likewise.
3603 (isgreater_test): Likewise.
3604 (isgreaterequal_test): Likewise.
3605 (isinf_test): Likewise.
3606 (isless_test): Likewise.
3607 (islessequal_test): Likewise.
3608 (islessgreater_test): Likewise.
3609 (isnan_test): Likewise.
3610 (isnormal_test): Likewise.
3611 (issignaling_test): Likewise.
3612 (isunordered_test): Likewise.
3613 (logb_test): Likewise.
3614 (logb_downward_test_data): Remove.
3615 (logb_test_downward): Likewise.
3616 (lround_test): Use ALL_RM_TEST.
3617 (llround_test): Likewise.
3618 (modf_test): Likewise.
3619 (nexttoward_test): Likewise.
3620 (remainder_test): Likewise.
3621 (drem_test): Likewise.
3622 (remainder_tonearest_test_data): Likewise.
3623 (remainder_test_tonearest): Likewise.
3624 (drem_test_tonearest): Likewise.
3625 (remainder_towardzero_test_data): Likewise.
3626 (remainder_test_towardzero): Likewise.
3627 (drem_test_towardzero): Likewise.
3628 (remainder_downward_test_data): Likewise.
3629 (remainder_test_downward): Likewise.
3630 (drem_test_downward): Likewise.
3631 (remainder_upward_test_data): Likewise.
3632 (remainder_test_upward): Likewise.
3633 (drem_test_upward): Likewise.
3634 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3635 (round_test): Use ALL_RM_TEST.
3636 (signbit_test): Likewise.
3637 (trunc_test): Likewise.
3638 (significand_test): Likewise.
3639 (main): Don't call removed functions.
3641 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3644 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3646 (ILL_ILLOPN): Likewise.
3647 (ILL_ILLADR): Likewise.
3648 (ILL_ILLTRP): Likewise.
3649 (ILL_PRVOPC): Likewise.
3650 (ILL_PRVREG): Likewise.
3651 (ILL_COPROC): Likewise.
3652 (ILL_BADSTK): Likewise.
3653 (FPE_INTDIV): Likewise.
3654 (FPE_INTOVF): Likewise.
3655 (FPE_FLTDIV): Likewise.
3656 (FPE_FLTOVF): Likewise.
3657 (FPE_FLTUND): Likewise.
3658 (FPE_FLTRES): Likewise.
3659 (FPE_FLTINV): Likewise.
3660 (FPE_FLTSUB): Likewise.
3661 (SEGV_MAPERR): Likewise.
3662 (SEGV_ACCERR): Likewise.
3663 (BUS_ADRALN): Likewise.
3664 (BUS_ADRERR): Likewise.
3665 (BUS_OBJERR): Likewise.
3666 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3667 (TRAP_TRACE): Likewise.
3668 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3670 (CLD_KILLED): Likewise.
3671 (CLD_DUMPED): Likewise.
3672 (CLD_TRAPPED): Likewise.
3673 (CLD_STOPPED): Likewise.
3674 (CLD_CONTINUED): Likewise.
3675 (POLL_IN): Likewise.
3676 (POLL_OUT): Likewise.
3677 (POLL_MSG): Likewise.
3678 (POLL_ERR): Likewise.
3679 (POLL_PRI): Likewise.
3680 (POLL_HUP): Likewise.
3681 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3683 (ILL_ILLOPN): Likewise.
3684 (ILL_ILLADR): Likewise.
3685 (ILL_ILLTRP): Likewise.
3686 (ILL_PRVOPC): Likewise.
3687 (ILL_PRVREG): Likewise.
3688 (ILL_COPROC): Likewise.
3689 (ILL_BADSTK): Likewise.
3690 (FPE_INTDIV): Likewise.
3691 (FPE_INTOVF): Likewise.
3692 (FPE_FLTDIV): Likewise.
3693 (FPE_FLTOVF): Likewise.
3694 (FPE_FLTUND): Likewise.
3695 (FPE_FLTRES): Likewise.
3696 (FPE_FLTINV): Likewise.
3697 (FPE_FLTSUB): Likewise.
3698 (SEGV_MAPERR): Likewise.
3699 (SEGV_ACCERR): Likewise.
3700 (BUS_ADRALN): Likewise.
3701 (BUS_ADRERR): Likewise.
3702 (BUS_OBJERR): Likewise.
3703 (BUS_MCEERR_AR): Likewise.
3704 (BUS_MCEERR_AO): Likewise.
3705 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3706 (TRAP_TRACE): Likewise.
3707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3709 (CLD_KILLED): Likewise.
3710 (CLD_DUMPED): Likewise.
3711 (CLD_TRAPPED): Likewise.
3712 (CLD_STOPPED): Likewise.
3713 (CLD_CONTINUED): Likewise.
3714 (POLL_IN): Likewise.
3715 (POLL_OUT): Likewise.
3716 (POLL_MSG): Likewise.
3717 (POLL_ERR): Likewise.
3718 (POLL_PRI): Likewise.
3719 (POLL_HUP): Likewise.
3720 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3721 (ILL_ILLOPN): Likewise.
3722 (ILL_ILLADR): Likewise.
3723 (ILL_ILLTRP): Likewise.
3724 (ILL_PRVOPC): Likewise.
3725 (ILL_PRVREG): Likewise.
3726 (ILL_COPROC): Likewise.
3727 (ILL_BADSTK): Likewise.
3728 (FPE_INTDIV): Likewise.
3729 (FPE_INTOVF): Likewise.
3730 (FPE_FLTDIV): Likewise.
3731 (FPE_FLTOVF): Likewise.
3732 (FPE_FLTUND): Likewise.
3733 (FPE_FLTRES): Likewise.
3734 (FPE_FLTINV): Likewise.
3735 (FPE_FLTSUB): Likewise.
3736 (SEGV_MAPERR): Likewise.
3737 (SEGV_ACCERR): Likewise.
3738 (BUS_ADRALN): Likewise.
3739 (BUS_ADRERR): Likewise.
3740 (BUS_OBJERR): Likewise.
3741 (BUS_MCEERR_AR): Likewise.
3742 (BUS_MCEERR_AO): Likewise.
3743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3744 (TRAP_TRACE): Likewise.
3745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3747 (CLD_KILLED): Likewise.
3748 (CLD_DUMPED): Likewise.
3749 (CLD_TRAPPED): Likewise.
3750 (CLD_STOPPED): Likewise.
3751 (CLD_CONTINUED): Likewise.
3752 (POLL_IN): Likewise.
3753 (POLL_OUT): Likewise.
3754 (POLL_MSG): Likewise.
3755 (POLL_ERR): Likewise.
3756 (POLL_PRI): Likewise.
3757 (POLL_HUP): Likewise.
3758 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3760 (ILL_ILLOPN): Likewise.
3761 (ILL_ILLADR): Likewise.
3762 (ILL_ILLTRP): Likewise.
3763 (ILL_PRVOPC): Likewise.
3764 (ILL_PRVREG): Likewise.
3765 (ILL_COPROC): Likewise.
3766 (ILL_BADSTK): Likewise.
3767 (ILL_BADIADDR): Likewise.
3768 (ILL_BREAK): Likewise.
3769 (FPE_INTDIV): Likewise.
3770 (FPE_INTOVF): Likewise.
3771 (FPE_FLTDIV): Likewise.
3772 (FPE_FLTOVF): Likewise.
3773 (FPE_FLTUND): Likewise.
3774 (FPE_FLTRES): Likewise.
3775 (FPE_FLTINV): Likewise.
3776 (FPE_FLTSUB): Likewise.
3777 (FPE_DECOVF): Likewise.
3778 (FPE_DECDIV): Likewise.
3779 (FPE_DECERR): Likewise.
3780 (FPE_INVASC): Likewise.
3781 (FPE_INVDEC): Likewise.
3782 (SEGV_MAPERR): Likewise.
3783 (SEGV_ACCERR): Likewise.
3784 (SEGV_PSTKOVF): Likewise.
3785 (BUS_ADRALN): Likewise.
3786 (BUS_ADRERR): Likewise.
3787 (BUS_OBJERR): Likewise.
3788 (BUS_MCEERR_AR): Likewise.
3789 (BUS_MCEERR_AO): Likewise.
3790 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3791 (TRAP_TRACE): Likewise.
3792 (TRAP_BRANCH): Likewise.
3793 (TRAP_HWBKPT): Likewise.
3794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3796 (CLD_KILLED): Likewise.
3797 (CLD_DUMPED): Likewise.
3798 (CLD_TRAPPED): Likewise.
3799 (CLD_STOPPED): Likewise.
3800 (CLD_CONTINUED): Likewise.
3801 (POLL_IN): Likewise.
3802 (POLL_OUT): Likewise.
3803 (POLL_MSG): Likewise.
3804 (POLL_ERR): Likewise.
3805 (POLL_PRI): Likewise.
3806 (POLL_HUP): Likewise.
3807 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3808 (ILL_ILLOPN): Likewise.
3809 (ILL_ILLADR): Likewise.
3810 (ILL_ILLTRP): Likewise.
3811 (ILL_PRVOPC): Likewise.
3812 (ILL_PRVREG): Likewise.
3813 (ILL_COPROC): Likewise.
3814 (ILL_BADSTK): Likewise.
3815 (FPE_INTDIV): Likewise.
3816 (FPE_INTOVF): Likewise.
3817 (FPE_FLTDIV): Likewise.
3818 (FPE_FLTOVF): Likewise.
3819 (FPE_FLTUND): Likewise.
3820 (FPE_FLTRES): Likewise.
3821 (FPE_FLTINV): Likewise.
3822 (FPE_FLTSUB): Likewise.
3823 (SEGV_MAPERR): Likewise.
3824 (SEGV_ACCERR): Likewise.
3825 (BUS_ADRALN): Likewise.
3826 (BUS_ADRERR): Likewise.
3827 (BUS_OBJERR): Likewise.
3828 (BUS_MCEERR_AR): Likewise.
3829 (BUS_MCEERR_AO): Likewise.
3830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3831 (TRAP_TRACE): Likewise.
3832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3834 (CLD_KILLED): Likewise.
3835 (CLD_DUMPED): Likewise.
3836 (CLD_TRAPPED): Likewise.
3837 (CLD_STOPPED): Likewise.
3838 (CLD_CONTINUED): Likewise.
3839 (POLL_IN): Likewise.
3840 (POLL_OUT): Likewise.
3841 (POLL_MSG): Likewise.
3842 (POLL_ERR): Likewise.
3843 (POLL_PRI): Likewise.
3844 (POLL_HUP): Likewise.
3845 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3846 (ILL_ILLOPN): Likewise.
3847 (ILL_ILLADR): Likewise.
3848 (ILL_ILLTRP): Likewise.
3849 (ILL_PRVOPC): Likewise.
3850 (ILL_PRVREG): Likewise.
3851 (ILL_COPROC): Likewise.
3852 (ILL_BADSTK): Likewise.
3853 (FPE_INTDIV): Likewise.
3854 (FPE_INTOVF): Likewise.
3855 (FPE_FLTDIV): Likewise.
3856 (FPE_FLTOVF): Likewise.
3857 (FPE_FLTUND): Likewise.
3858 (FPE_FLTRES): Likewise.
3859 (FPE_FLTINV): Likewise.
3860 (FPE_FLTSUB): Likewise.
3861 (SEGV_MAPERR): Likewise.
3862 (SEGV_ACCERR): Likewise.
3863 (BUS_ADRALN): Likewise.
3864 (BUS_ADRERR): Likewise.
3865 (BUS_OBJERR): Likewise.
3866 (BUS_MCEERR_AR): Likewise.
3867 (BUS_MCEERR_AO): Likewise.
3868 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3869 (TRAP_TRACE): Likewise.
3870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3872 (CLD_KILLED): Likewise.
3873 (CLD_DUMPED): Likewise.
3874 (CLD_TRAPPED): Likewise.
3875 (CLD_STOPPED): Likewise.
3876 (CLD_CONTINUED): Likewise.
3877 (POLL_IN): Likewise.
3878 (POLL_OUT): Likewise.
3879 (POLL_MSG): Likewise.
3880 (POLL_ERR): Likewise.
3881 (POLL_PRI): Likewise.
3882 (POLL_HUP): Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3884 (ILL_ILLOPN): Likewise.
3885 (ILL_ILLADR): Likewise.
3886 (ILL_ILLTRP): Likewise.
3887 (ILL_PRVOPC): Likewise.
3888 (ILL_PRVREG): Likewise.
3889 (ILL_COPROC): Likewise.
3890 (ILL_BADSTK): Likewise.
3891 (FPE_INTDIV): Likewise.
3892 (FPE_INTOVF): Likewise.
3893 (FPE_FLTDIV): Likewise.
3894 (FPE_FLTOVF): Likewise.
3895 (FPE_FLTUND): Likewise.
3896 (FPE_FLTRES): Likewise.
3897 (FPE_FLTINV): Likewise.
3898 (FPE_FLTSUB): Likewise.
3899 (SEGV_MAPERR): Likewise.
3900 (SEGV_ACCERR): Likewise.
3901 (BUS_ADRALN): Likewise.
3902 (BUS_ADRERR): Likewise.
3903 (BUS_OBJERR): Likewise.
3904 (BUS_MCEERR_AR): Likewise.
3905 (BUS_MCEERR_AO): Likewise.
3906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3907 (TRAP_TRACE): Likewise.
3908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3910 (CLD_KILLED): Likewise.
3911 (CLD_DUMPED): Likewise.
3912 (CLD_TRAPPED): Likewise.
3913 (CLD_STOPPED): Likewise.
3914 (CLD_CONTINUED): Likewise.
3915 (POLL_IN): Likewise.
3916 (POLL_OUT): Likewise.
3917 (POLL_MSG): Likewise.
3918 (POLL_ERR): Likewise.
3919 (POLL_PRI): Likewise.
3920 (POLL_HUP): Likewise.
3921 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3922 (ILL_ILLOPN): Likewise.
3923 (ILL_ILLADR): Likewise.
3924 (ILL_ILLTRP): Likewise.
3925 (ILL_PRVOPC): Likewise.
3926 (ILL_PRVREG): Likewise.
3927 (ILL_COPROC): Likewise.
3928 (ILL_BADSTK): Likewise.
3929 (ILL_DBLFLT): Likewise.
3930 (ILL_HARDWALL): Likewise.
3931 (FPE_INTDIV): Likewise.
3932 (FPE_INTOVF): Likewise.
3933 (FPE_FLTDIV): Likewise.
3934 (FPE_FLTOVF): Likewise.
3935 (FPE_FLTUND): Likewise.
3936 (FPE_FLTRES): Likewise.
3937 (FPE_FLTINV): Likewise.
3938 (FPE_FLTSUB): Likewise.
3939 (SEGV_MAPERR): Likewise.
3940 (SEGV_ACCERR): Likewise.
3941 (BUS_ADRALN): Likewise.
3942 (BUS_ADRERR): Likewise.
3943 (BUS_OBJERR): Likewise.
3944 (BUS_MCEERR_AR): Likewise.
3945 (BUS_MCEERR_AO): Likewise.
3946 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3947 (TRAP_TRACE): Likewise.
3948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3950 (CLD_KILLED): Likewise.
3951 (CLD_DUMPED): Likewise.
3952 (CLD_TRAPPED): Likewise.
3953 (CLD_STOPPED): Likewise.
3954 (CLD_CONTINUED): Likewise.
3955 (POLL_IN): Likewise.
3956 (POLL_OUT): Likewise.
3957 (POLL_MSG): Likewise.
3958 (POLL_ERR): Likewise.
3959 (POLL_PRI): Likewise.
3960 (POLL_HUP): Likewise.
3961 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3962 (ILL_ILLOPN): Likewise.
3963 (ILL_ILLADR): Likewise.
3964 (ILL_ILLTRP): Likewise.
3965 (ILL_PRVOPC): Likewise.
3966 (ILL_PRVREG): Likewise.
3967 (ILL_COPROC): Likewise.
3968 (ILL_BADSTK): Likewise.
3969 (FPE_INTDIV): Likewise.
3970 (FPE_INTOVF): Likewise.
3971 (FPE_FLTDIV): Likewise.
3972 (FPE_FLTOVF): Likewise.
3973 (FPE_FLTUND): Likewise.
3974 (FPE_FLTRES): Likewise.
3975 (FPE_FLTINV): Likewise.
3976 (FPE_FLTSUB): Likewise.
3977 (SEGV_MAPERR): Likewise.
3978 (SEGV_ACCERR): Likewise.
3979 (BUS_ADRALN): Likewise.
3980 (BUS_ADRERR): Likewise.
3981 (BUS_OBJERR): Likewise.
3982 (BUS_MCEERR_AR): Likewise.
3983 (BUS_MCEERR_AO): Likewise.
3984 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3985 (TRAP_TRACE): Likewise.
3986 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3988 (CLD_KILLED): Likewise.
3989 (CLD_DUMPED): Likewise.
3990 (CLD_TRAPPED): Likewise.
3991 (CLD_STOPPED): Likewise.
3992 (CLD_CONTINUED): Likewise.
3993 (POLL_IN): Likewise.
3994 (POLL_OUT): Likewise.
3995 (POLL_MSG): Likewise.
3996 (POLL_ERR): Likewise.
3997 (POLL_PRI): Likewise.
3998 (POLL_HUP): Likewise.
3999 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4000 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4003 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4004 before #include of <time.h>.
4005 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4006 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4007 (test-xfail-UNIX98/sched.h/conform): Likewise.
4009 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4011 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4012 error absence of trapping exception support.
4013 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4015 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4017 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4018 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4019 * timezone/Makefile (testdata): Move definition above include of
4021 (test-zones): New variable.
4022 (tests-special): Add zone files.
4023 (build-testdata): Use $(evaluate-test).
4025 * elf/Makefile (tests-special): Rename tests to end with .out.
4026 ($(objpfx)noload-mem): Likewise.
4027 ($(objpfx)tst-leaks1-mem): Likewise.
4028 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4029 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4030 $(objpfx)test-iconvconfig.out.
4031 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4032 set -e inside subshell and redirect output to file.
4033 * iconvdata/Makefile (generated): Rename tests to end with .out.
4035 (tests-special): Rename tests to end with .out.
4036 ($(objpfx)mtrace-tst-loading): Likewise.
4037 * intl/Makefile (generated): Likewise.
4038 (tests-special): Likewise.
4039 ($(objpfx)mtrace-tst-gettext): Likewise.
4040 * misc/Makefile (generated): Likewise.
4041 (tests-special): Likewise.
4042 ($(objpfx)tst-error1-mem): Likewise.
4043 * nptl/Makefile (tests-special): Likewise.
4044 ($(objpfx)tst-stack3-mem): Likewise.
4045 (generated): Likewise.
4046 * posix/Makefile (generated): Likewise.
4047 (tests-special): Likewise.
4048 (xtests-special): Likewise.
4049 ($(objpfx)tst-fnmatch-mem): Likewise.
4050 ($(objpfx)bug-regex2-mem): Likewise.
4051 ($(objpfx)bug-regex14-mem): Likewise.
4052 ($(objpfx)bug-regex21-mem): Likewise.
4053 ($(objpfx)bug-regex31-mem): Likewise.
4054 ($(objpfx)tst-vfork3-mem): Likewise.
4055 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4056 ($(objpfx)tst-pcre-mem): Likewise.
4057 ($(objpfx)tst-boost-mem): Likewise.
4058 ($(objpfx)bug-ga2-mem): Likewise.
4059 ($(objpfx)bug-glob2-mem): Likewise.
4060 * resolv/Makefile (generate): Likewise.
4061 (tests-special): Likewise.
4062 (xtests-special): Likewise.
4063 (generated): Likewise.
4064 ($(objpfx)mtrace-tst-leaks): Likewise.
4065 ($(objpfx)mtrace-tst-leaks2): Likewise.
4067 * scripts/merge-test-results.sh: New file.
4068 * Makefile (tests-special-notdir): New variable.
4069 (tests): Run merge-test-results.sh.
4071 * Rules (tests-special-notdir): New variable.
4072 (xtests-special-notdir): Likewise.
4073 (tests): Run merge-test-results.sh
4076 * Makeconfig (test-xfail-name): New variable.
4077 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4078 compute variable name for expected failures.
4079 * conform/Makefile (conformtest-headers-data): New variable.
4080 (conformtest-standards): Likewise.
4081 (conformtest-headers-ISO): Likewise.
4082 (conformtest-headers-ISO99): Likewise.
4083 (conformtest-headers-ISO11): Likewise.
4084 (conformtest-headers-POSIX): Likewise.
4085 (conformtest-headers-XPG3): Likewise.
4086 (conformtest-headers-XPG4): Likewise.
4087 (conformtest-headers-UNIX98): Likewise.
4088 (conformtest-headers-XOPEN2K): Likewise.
4089 (conformtest-headers-POSIX2008): Likewise.
4090 (conformtest-headers-XOPEN2K8): Likewise.
4091 (conformtest-header-list-base): Likewise.
4092 (conformtest-header-list-tests): Likewise.
4093 (conformtest-header-base): Likewise.
4094 (conformtest-header-tests): Likewise.
4095 (tests-special): Add $(conformtest-header-list-tests). If
4096 [$(fast-check) && !$(cross-compiling)], add
4097 $(conformtest-header-tests) instead of
4098 $(objpfx)run-conformtest.out.
4099 (generated): Add $(conformtest-header-list-base). If
4100 [$(fast-check) && !$(cross-compiling)], add
4101 $(conformtest-header-base). Remove previous setting.
4102 ($(conformtest-header-list-tests)): New target.
4103 (test-xfail-run-conformtest): Remove variable.
4104 ($(objpfx)run-conformtest.out): Remove target.
4105 (test-xfail-ISO11/complex.h/conform): New variable.
4106 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4107 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4108 (test-xfail-XPG3/varargs.h/conform): Likewise.
4109 (test-xfail-XPG4/varargs.h/conform): Likewise.
4110 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4111 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4112 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4113 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4114 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4115 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4116 (test-xfail-XPG3/ftw.h/conform): Likewise.
4117 (test-xfail-XPG3/grp.h/conform): Likewise.
4118 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4119 (test-xfail-XPG3/limits.h/conform): Likewise.
4120 (test-xfail-XPG3/pwd.h/conform): Likewise.
4121 (test-xfail-XPG3/search.h/conform): Likewise.
4122 (test-xfail-XPG3/signal.h/conform): Likewise.
4123 (test-xfail-XPG3/stdio.h/conform): Likewise.
4124 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4125 (test-xfail-XPG3/string.h/conform): Likewise.
4126 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4127 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4128 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4129 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4130 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4131 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4132 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4133 (test-xfail-XPG3/termios.h/conform): Likewise.
4134 (test-xfail-XPG3/time.h/conform): Likewise.
4135 (test-xfail-XPG3/unistd.h/conform): Likewise.
4136 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4137 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4138 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4139 (test-xfail-XPG4/netdb.h/conform): Likewise.
4140 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4141 (test-xfail-XPG4/signal.h/conform): Likewise.
4142 (test-xfail-XPG4/stdio.h/conform): Likewise.
4143 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4144 (test-xfail-XPG4/stropts.h/conform): Likewise.
4145 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4146 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4147 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4148 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4149 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4150 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4151 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4152 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4153 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4154 (test-xfail-XPG4/termios.h/conform): Likewise.
4155 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4156 (test-xfail-XPG4/unistd.h/conform): Likewise.
4157 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4158 (test-xfail-POSIX/sched.h/conform): Likewise.
4159 (test-xfail-POSIX/signal.h/conform): Likewise.
4160 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4161 (test-xfail-POSIX/tar.h/conform): Likewise.
4162 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4163 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4164 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4165 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4166 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4167 (test-xfail-UNIX98/sched.h/conform): Likewise.
4168 (test-xfail-UNIX98/signal.h/conform): Likewise.
4169 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4170 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4171 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4172 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4173 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4174 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4175 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4176 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4177 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4178 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4179 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4180 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4181 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4182 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4183 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4184 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4185 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4186 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4187 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4188 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4189 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4190 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4191 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4192 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4193 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4194 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4195 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4196 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4197 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4198 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4199 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4200 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4201 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4202 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4203 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4204 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4205 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4206 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4207 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4208 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4209 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4210 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4211 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4212 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4213 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4214 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4215 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4216 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4217 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4218 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4219 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4220 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4221 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4222 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4223 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4224 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4225 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4226 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4227 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4228 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4229 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4230 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4231 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4232 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4233 (conformtest-cc-flags): Likewise.
4234 ($(conformtest-header-tests): New target.
4235 * conform/check-header-lists.sh: New file.
4236 * conform/run-conformtest.sh: Remove.
4238 * conform/conformtest.pl: Allow ' and \ in values given for
4240 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4242 [POSIX] (sys/types.h): Likewise.
4243 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4245 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4247 * conform/data/signal.h-data (SIGIO): Remove expectation.
4248 [XPG3] (SIGBUS): Do not expect.
4249 [POSIX || XPG3] (SIGPOLL): Likewise.
4250 [POSIX || XPG3] (SIGPROF): Likewise.
4251 [POSIX || XPG3] (SIGSYS): Likewise.
4252 [XPG3] (SIGTRAP): Likewise.
4253 [POSIX || XPG3] (SIGURG): Likewise.
4254 [POSIX || XPG3] (SIGVTALRM): Likewise.
4255 [POSIX || XPG3] (SIGXCPU): Likewise.
4256 [POSIX || XPG3] (SIGXFSZ): Likewise.
4257 [POSIX] (SA_SIGINFO): Expect.
4258 [XPG3] (siginfo_t): Do not expect type or contents.
4259 [POSIX] (si_pid): Do not expect element.
4260 [POSIX] (si_uid): Likewise.
4261 [POSIX] (si_addr): Likewise.
4262 [POSIX] (si_status): Likewise.
4263 [POSIX] (si_band): Likewise.
4264 [XPG4] (si_value): Likewise.
4265 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4266 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4267 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4268 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4269 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4270 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4271 [POSIX || XPG3] (ILL_COPROC): Likewise.
4272 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4273 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4274 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4275 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4276 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4277 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4278 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4279 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4280 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4281 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4282 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4283 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4284 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4285 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4286 [POSIX || XPG3] (CLD_EXITED): Likewise.
4287 [POSIX || XPG3] (CLD_KILLED): Likewise.
4288 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4289 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4290 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4291 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4292 [POSIX || XPG3] (POLL_IN): Likewise.
4293 [POSIX || XPG3] (POLL_OUT): Likewise.
4294 [POSIX || XPG3] (POLL_MSG): Likewise.
4295 [POSIX || XPG3] (POLL_ERR): Likewise.
4296 [POSIX || XPG3] (POLL_PRI): Likewise.
4297 [POSIX || XPG3] (POLL_HUP): Likewise.
4298 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4299 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4300 (SIG*): Do not allow.
4301 [XPG3] (si_*): Likewise.
4302 [XPG3] (SI_*): Likewise.
4303 [XPG3 || XPG4] (sigev_*): Likewise.
4304 [XPG3 || XPG4] (SIGEV_*): Likewise.
4305 [XPG3 || XPG4] (sival_*): Likewise.
4306 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4307 [POSIX || XPG3] (BUS_*): Likewise.
4308 [POSIX || XPG3] (CLD_*): Likewise.
4309 [POSIX || XPG3] (FPE_*): Likewise.
4310 [POSIX || XPG3] (ILL_*): Likewise.
4311 [POSIX || XPG3] (POLL_*): Likewise.
4312 [POSIX || XPG3] (SEGV_*): Likewise.
4313 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4314 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4315 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4316 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4317 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4318 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4319 Specify type and value.
4320 (TVERSLEN): Likewise.
4321 (REGTYPE): Likewise.
4322 (AREGTYPE): Likewise.
4323 (LNKTYPE): Likewise.
4324 (SYMTYPE): Likewise.
4325 (CHRTYPE): Likewise.
4326 (BLKTYPE): Likewise.
4327 (DIRTYPE): Likewise.
4328 (FIFOTYPE): Likewise.
4329 (CONTTYPE): Likewise.
4334 (TUWRITE): Likewise.
4337 (TGWRITE): Likewise.
4340 (TOWRITE): Likewise.
4342 [POSIX] (TSVTX): Expect constant.
4344 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4346 * Makefile (tests): Change dependencies to ....
4347 (tests-special): ... additions to this variable.
4348 (tests): Depend on $(tests-special).
4349 * Makerules (check-abi-list): New variable.
4350 (check-abi): Depend on $(check-abi-list).
4351 [$(subdir) = elf] (tests-special): Add
4352 $(objpfx)check-abi-libc.out.
4353 [$(build-shared) = yes && subdir] (tests-special): Add
4355 [$(build-shared) = yes && subdir] (tests): Do not depend on
4357 * Rules (tests): Depend on $(tests-special).
4358 (xtests): Depend on $(xtests-special).
4359 * catgets/Makefile (tests): Change dependencies to ....
4360 (tests-special): ... additions to this variable.
4361 * conform/Makefile (tests): Change dependencies to ....
4362 (tests-special): ... additions to this variable.
4363 * elf/Makefile (tests): Change dependencies to ....
4364 (tests-special): ... additions to this variable.
4365 * grp/Makefile (tests): Change dependencies to ....
4366 (tests-special): ... additions to this variable.
4367 * iconv/Makefile (xtests): Change dependencies to ....
4368 (xtests-special): ... additions to this variable.
4369 * iconvdata/Makefile (tests): Change dependencies to ....
4370 (tests-special): ... additions to this variable.
4371 * intl/Makefile (tests): Change dependencies to ....
4372 (tests-special): ... additions to this variable. Also add
4373 $(objpfx)tst-gettext.out.
4374 * io/Makefile (tests): Change dependencies to ....
4375 (tests-special): ... additions to this variable.
4376 * libio/Makefile (tests): Change dependencies to ....
4377 (tests-special): ... additions to this variable.
4378 * malloc/Makefile (tests): Change dependencies to ....
4379 (tests-special): ... additions to this variable.
4380 * misc/Makefile (tests): Change dependencies to ....
4381 (tests-special): ... additions to this variable.
4382 * nptl/Makefile (tests): Change dependencies to ....
4383 (tests-special): ... additions to this variable.
4384 * nptl_db/Makefile (tests): Change dependencies to ....
4385 (tests-special): ... additions to this variable.
4386 * posix/Makefile (tests): Change dependencies to ....
4387 (tests-special): ... additions to this variable.
4388 (xtests): Change dependencies to ....
4389 (xtests-special): ... additions to this variable.
4390 * resolv/Makefile (tests): Change dependencies to ....
4391 (tests-special): ... additions to this variable.
4392 (xtests): Change dependencies to ....
4393 (xtests-special): ... additions to this variable.
4394 * stdio-common/Makefile (tests): Change dependencies to ....
4395 (tests-special): ... additions to this variable.
4396 (do-tst-unbputc): Remove target.
4397 (do-tst-printf): Likewise.
4398 * stdlib/Makefile (tests): Change dependencies to ....
4399 (tests-special): ... additions to this variable.
4400 * string/Makefile (tests): Change dependencies to ....
4401 (tests-special): ... additions to this variable.
4402 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4403 (tests-special): ... additions to this variable.
4405 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4407 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4409 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4410 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4412 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4413 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4414 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4415 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4416 * conform/data/libgen.h-data [XPG3]: Likewise.
4417 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4418 * conform/data/ndbm.h-data [XPG3]: Likewise.
4419 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4420 * conform/data/netdb.h-data [XPG3]: Likewise.
4421 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4422 * conform/data/poll.h-data [XPG3]: Likewise.
4423 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4424 * conform/data/strings.h-data [XPG3]: Likewise.
4425 * conform/data/stropts.h-data [XPG3]: Likewise.
4426 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4427 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4428 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4430 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4431 * conform/data/sys/time.h-data [XPG3]: Likewise.
4432 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4433 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4434 * conform/data/sys/un.h-data [XPG3]: Likewise.
4435 * conform/data/syslog.h-data [XPG3]: Likewise.
4436 * conform/data/ucontext.h-data [XPG3]: Likewise.
4437 * conform/data/utmpx.h-data [XPG3]: Likewise.
4438 * conform/data/varargs.h-data [UNIX98]: Enable file.
4440 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4442 * math/libm-test.inc (struct test_f_f_data): Move expected results
4443 into structure for each rounding mode.
4444 (struct test_ff_f_data): Likewise.
4445 (struct test_ff_f_data_nexttoward): Likewise.
4446 (struct test_fi_f_data): Likewise.
4447 (struct test_fl_f_data): Likewise.
4448 (struct test_if_f_data): Likewise.
4449 (struct test_fff_f_data): Likewise.
4450 (struct test_c_f_data): Likewise.
4451 (struct test_f_f1_data): Likewise.
4452 (struct test_fF_f1_data): Likewise.
4453 (struct test_ffI_f1_data): Likewise.
4454 (struct test_c_c_data): Likewise.
4455 (struct test_cc_c_data): Likewise.
4456 (struct test_f_i_data): Likewise.
4457 (struct test_ff_i_data): Likewise.
4458 (struct test_f_l_data): Likewise.
4459 (struct test_f_L_data): Likewise.
4460 (struct test_fFF_11_data): Likewise.
4462 (RM_FE_DOWNWARD): Likewise.
4463 (RM_FE_TONEAREST): Likewise.
4464 (RM_FE_TOWARDZERO): Likewise.
4465 (RM_FE_UPWARD): Likewise.
4466 (RUN_TEST_LOOP_f_f): Update references to expected results.
4467 (RUN_TEST_LOOP_2_f): Likewise.
4468 (RUN_TEST_LOOP_fff_f): Likewise.
4469 (RUN_TEST_LOOP_c_f): Likewise.
4470 (RUN_TEST_LOOP_f_f1): Likewise.
4471 (RUN_TEST_LOOP_fF_f1): Likewise.
4472 (RUN_TEST_LOOP_fI_f1): Likewise.
4473 (RUN_TEST_LOOP_ffI_f1): Likewise.
4474 (RUN_TEST_LOOP_c_c): Likewise.
4475 (RUN_TEST_LOOP_cc_c): Likewise.
4476 (RUN_TEST_LOOP_f_i): Likewise.
4477 (RUN_TEST_LOOP_f_i_tg): Likewise.
4478 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4479 (RUN_TEST_LOOP_f_b): Likewise.
4480 (RUN_TEST_LOOP_f_b_tg): Likewise.
4481 (RUN_TEST_LOOP_f_l): Likewise.
4482 (RUN_TEST_LOOP_f_L): Likewise.
4483 (RUN_TEST_LOOP_fFF_11): Likewise.
4484 * math/gen-libm-test.pl (parse_args): Output four copies of
4485 expected results for each test.
4487 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4488 (__ASSUME_UTIMES): Remove.
4489 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4490 (__ASSUME_UTIMES): Likewise.
4492 * math/gen-auto-libm-tests.c: Update comment on output format.
4493 (output_for_one_input_case): Generate before-rounding and
4494 after-rounding information as conditions on output flags not
4495 floating-point format.
4496 * math/auto-libm-test-out: Regenerated.
4497 * math/gen-libm-test.pl (cond_value): New function.
4498 (or_cond_value): Use cond_value.
4499 (generate_testfile): Handle conditional exceptions.
4501 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4503 * math/libm-test.inc (max_valid_error): New variable.
4504 (init_max_error): Take new argument specifying whether function
4505 results are exactly determined. Set max_valid_error and bound
4506 other variables for errors based on this argument.
4507 (set_max_error): Do not record results above max_valid_error.
4508 (check_float_internal): Only accept errors of up to 0.5ulps if
4509 also at most max_valid_error.
4510 (START): Take new argument EXACT and pass it to init_max_error.
4511 (acos_test): Update call to START.
4512 (acos_test_tonearest): Likewise.
4513 (acos_test_towardzero): Likewise.
4514 (acos_test_downward): Likewise.
4515 (acos_test_upward): Likewise.
4516 (acosh_test): Likewise.
4517 (asin_test): Likewise.
4518 (asin_test_tonearest): Likewise.
4519 (asin_test_towardzero): Likewise.
4520 (asin_test_downward): Likewise.
4521 (asin_test_upward): Likewise.
4522 (asinh_test): Likewise.
4523 (atan_test): Likewise.
4524 (atanh_test): Likewise.
4525 (atan2_test): Likewise.
4526 (cabs_test): Likewise.
4527 (cacos_test): Likewise.
4528 (cacosh_test): Likewise.
4529 (carg_test): Likewise.
4530 (casin_test): Likewise.
4531 (casinh_test): Likewise.
4532 (catan_test): Likewise.
4533 (catanh_test): Likewise.
4534 (cbrt_test): Likewise.
4535 (ccos_test): Likewise.
4536 (ccosh_test): Likewise.
4537 (ceil_test): Likewise.
4538 (cexp_test): Likewise.
4539 (cimag_test): Likewise.
4540 (clog_test): Likewise.
4541 (clog10_test): Likewise.
4542 (conj_test): Likewise.
4543 (copysign_test): Likewise.
4544 (cos_test): Likewise.
4545 (cos_test_tonearest): Likewise.
4546 (cos_test_towardzero): Likewise.
4547 (cos_test_downward): Likewise.
4548 (cos_test_upward): Likewise.
4549 (cosh_test): Likewise.
4550 (cosh_test_tonearest): Likewise.
4551 (cosh_test_towardzero): Likewise.
4552 (cosh_test_downward): Likewise.
4553 (cosh_test_upward): Likewise.
4554 (cpow_test): Likewise.
4555 (cproj_test): Likewise.
4556 (creal_test): Likewise.
4557 (csin_test): Likewise.
4558 (csinh_test): Likewise.
4559 (csqrt_test): Likewise.
4560 (ctan_test): Likewise.
4561 (ctan_test_tonearest): Likewise.
4562 (ctan_test_towardzero): Likewise.
4563 (ctan_test_downward): Likewise.
4564 (ctan_test_upward): Likewise.
4565 (ctanh_test): Likewise.
4566 (ctanh_test_tonearest): Likewise.
4567 (ctanh_test_towardzero): Likewise.
4568 (ctanh_test_downward): Likewise.
4569 (ctanh_test_upward): Likewise.
4570 (erf_test): Likewise.
4571 (erfc_test): Likewise.
4572 (exp_test): Likewise.
4573 (exp_test_tonearest): Likewise.
4574 (exp_test_towardzero): Likewise.
4575 (exp_test_downward): Likewise.
4576 (exp_test_upward): Likewise.
4577 (exp10_test): Likewise.
4578 (exp10_test_tonearest): Likewise.
4579 (exp10_test_towardzero): Likewise.
4580 (exp10_test_downward): Likewise.
4581 (exp10_test_upward): Likewise.
4582 (pow10_test): Likewise.
4583 (exp2_test): Likewise.
4584 (expm1_test): Likewise.
4585 (expm1_test_tonearest): Likewise.
4586 (expm1_test_towardzero): Likewise.
4587 (expm1_test_downward): Likewise.
4588 (expm1_test_upward): Likewise.
4589 (fabs_test): Likewise.
4590 (fdim_test): Likewise.
4591 (floor_test): Likewise.
4592 (fma_test): Likewise.
4593 (fma_test_towardzero): Likewise.
4594 (fma_test_downward): Likewise.
4595 (fma_test_upward): Likewise.
4596 (fmax_test): Likewise.
4597 (fmin_test): Likewise.
4598 (fmod_test): Likewise.
4599 (fpclassify_test): Likewise.
4600 (frexp_test): Likewise.
4601 (hypot_test): Likewise.
4602 (ilogb_test): Likewise.
4603 (isfinite_test): Likewise.
4604 (finite_test): Likewise.
4605 (isgreater_test): Likewise.
4606 (isgreaterequal_test): Likewise.
4607 (isinf_test): Likewise.
4608 (isless_test): Likewise.
4609 (islessequal_test): Likewise.
4610 (islessgreater_test): Likewise.
4611 (isnan_test): Likewise.
4612 (isnormal_test): Likewise.
4613 (issignaling_test): Likewise.
4614 (isunordered_test): Likewise.
4615 (j0_test): Likewise.
4616 (j1_test): Likewise.
4617 (jn_test): Likewise.
4618 (ldexp_test): Likewise.
4619 (lgamma_test): Likewise.
4620 (gamma_test): Likewise.
4621 (lrint_test): Likewise.
4622 (lrint_test_tonearest): Likewise.
4623 (lrint_test_towardzero): Likewise.
4624 (lrint_test_downward): Likewise.
4625 (lrint_test_upward): Likewise.
4626 (llrint_test): Likewise.
4627 (llrint_test_tonearest): Likewise.
4628 (llrint_test_towardzero): Likewise.
4629 (llrint_test_downward): Likewise.
4630 (llrint_test_upward): Likewise.
4631 (log_test): Likewise.
4632 (log10_test): Likewise.
4633 (log1p_test): Likewise.
4634 (log2_test): Likewise.
4635 (logb_test): Likewise.
4636 (logb_test_downward): Likewise.
4637 (lround_test): Likewise.
4638 (llround_test): Likewise.
4639 (modf_test): Likewise.
4640 (nearbyint_test): Likewise.
4641 (nextafter_test): Likewise.
4642 (nexttoward_test): Likewise.
4643 (pow_test): Likewise.
4644 (pow_test_tonearest): Likewise.
4645 (pow_test_towardzero): Likewise.
4646 (pow_test_downward): Likewise.
4647 (pow_test_upward): Likewise.
4648 (remainder_test): Likewise.
4649 (drem_test): Likewise.
4650 (remainder_test_tonearest): Likewise.
4651 (drem_test_tonearest): Likewise.
4652 (remainder_test_towardzero): Likewise.
4653 (drem_test_towardzero): Likewise.
4654 (remainder_test_downward): Likewise.
4655 (drem_test_downward): Likewise.
4656 (remainder_test_upward): Likewise.
4657 (drem_test_upward): Likewise.
4658 (remquo_test): Likewise.
4659 (rint_test): Likewise.
4660 (rint_test_tonearest): Likewise.
4661 (rint_test_towardzero): Likewise.
4662 (rint_test_downward): Likewise.
4663 (rint_test_upward): Likewise.
4664 (round_test): Likewise.
4665 (scalb_test): Likewise.
4666 (scalbn_test): Likewise.
4667 (scalbln_test): Likewise.
4668 (signbit_test): Likewise.
4669 (sin_test): Likewise.
4670 (sin_test_tonearest): Likewise.
4671 (sin_test_towardzero): Likewise.
4672 (sin_test_downward): Likewise.
4673 (sin_test_upward): Likewise.
4674 (sincos_test): Likewise.
4675 (sinh_test): Likewise.
4676 (sinh_test_tonearest): Likewise.
4677 (sinh_test_towardzero): Likewise.
4678 (sinh_test_downward): Likewise.
4679 (sinh_test_upward): Likewise.
4680 (sqrt_test): Likewise.
4681 (sqrt_test_tonearest): Likewise.
4682 (sqrt_test_towardzero): Likewise.
4683 (sqrt_test_downward): Likewise.
4684 (sqrt_test_upward): Likewise.
4685 (tan_test): Likewise.
4686 (tan_test_tonearest): Likewise.
4687 (tan_test_towardzero): Likewise.
4688 (tan_test_downward): Likewise.
4689 (tan_test_upward): Likewise.
4690 (tanh_test): Likewise.
4691 (tgamma_test): Likewise.
4692 (trunc_test): Likewise.
4693 (y0_test): Likewise.
4694 (y1_test): Likewise.
4695 (yn_test): Likewise.
4696 (significand_test): Likewise.
4698 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4699 individual tests in comment.
4700 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4701 (prev_max_error): New variable.
4702 (prev_real_max_error): Likewise.
4703 (prev_imag_max_error): Likewise.
4704 (compare_ulp_data): Don't refer to test names in comment.
4705 (find_test_ulps): Remove function.
4706 (find_function_ulps): Likewise.
4707 (find_complex_function_ulps): Likewise.
4708 (init_max_error): Take function name as argument. Look up ulps
4710 (print_ulps): Remove function.
4711 (print_max_error): Use prev_max_error instead of calling
4713 (print_complex_max_error): Use prev_real_max_error and
4714 prev_imag_max_error instead of calling find_complex_function_ulps.
4715 (check_float_internal): Take max_ulp parameter instead of calling
4716 find_test_ulps. Don't call print_ulps.
4717 (check_float): Update call to check_float_internal.
4718 (check_complex): Update calls to check_float_internal.
4719 (START): Pass argument to init_max_error.
4720 * math/gen-libm-test.pl (%results): Don't include "kind"
4722 (parse_ulps): Don't handle ulps of individual tests.
4723 (print_ulps_file): Likewise.
4724 (output_ulps): Likewise.
4725 * math/README.libm-test: Update.
4726 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4728 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4729 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4730 * sysdeps/arm/libm-test-ulps: Likewise.
4731 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4732 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4733 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4734 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4735 * sysdeps/microblaze/libm-test-ulps: Likewise.
4736 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4737 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4739 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4740 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4741 * sysdeps/sh/libm-test-ulps: Likewise.
4742 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4743 * sysdeps/tile/libm-test-ulps: Likewise.
4744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4748 * math/libm-test.inc (print_complex_max_error): Check separately
4749 whether real and imaginary errors are within allowed range and
4750 pass 0 to print_complex_function_ulps instead of value within
4753 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4755 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4757 (get_handles_fopen): Likewise.
4758 (do_write_test): Likewise.
4760 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4762 * libio/fileops.c (do_ftell): Use cached offset when
4764 * libio/iofwide.c (do_ftell_wide): Likewise.
4765 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4767 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4770 * libio/libioP.h (get_file_offset): New function.
4771 * libio/fileops.c (get_file_offset): Likewise.
4772 (do_ftell): Likewise.
4773 (_IO_new_file_seekoff): Split out ftell logic.
4774 * libio/wfileops.c (do_ftell_wide): Likewise.
4775 (_IO_wfile_seekoff): Split out ftell logic.
4776 * libio/tst-ftell-active-handler.c: New test case.
4777 * libio/Makefile (tests): Add it.
4779 2014-03-03 Roland McGrath <roland@hack.frob.com>
4781 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4782 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4784 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4787 * nscd/connections.c (nscd_init): Call do_exit.
4788 (start_threads): Call do_exit and notify_parent.
4789 (begin_drop_privileges): Call do_exit.
4790 (finish_drop_privileges): Likewise.
4791 * nscd/selinux.c (preserve_capabilities): Likewise.
4792 (install_real_capabilities): Likewise.
4793 (nscd_selinux_enabled): Likewise.
4794 (avc_create_thread): Likewise.
4795 (avc_alloc_lock): Likewise.
4796 (nscd_avc_init): Likewise.
4797 * nscd/nscd.c (parent_fd): New static variable.
4798 (main): Create a pipe between parent and child processes.
4799 Skip closing parent_fd.
4800 (monitor_child): New function.
4801 (do_exit): Likewise.
4802 (notify_parent): Likewise.
4803 * nscd/nscd.h (notify_parent): Likewise.
4804 (do_exit): Likewise.
4806 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4808 * malloc/malloc.c (__libc_calloc): Revert last change.
4810 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4814 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4816 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4820 (__libc_ifunc_impl_list): Likewise.
4821 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4822 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4823 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4824 * string/strrchr.c: Define STRRCHR.
4826 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4828 * benchtest/bench-strtok.c (simple_strtok): Delete.
4829 (strtok_string): Use as benchmark.
4830 * string/strtok (STRTOK): New macro.
4832 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4834 * manual/threads.texi: Add header and standard comments to all
4837 * elf/dl-lookup.c (check_match): New function.
4838 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4839 (do_lookup_x): Remove nested function check_match. Use non-nested
4840 function check_match.
4842 2014-02-28 Roland McGrath <roland@hack.frob.com>
4844 * csu/Makefile (generated, before-compile): Use += rather than =.
4845 * catgets/Makefile (generated, generated-dirs): Likewise.
4846 * debug/Makefile (generated): Likewise.
4847 * dlfcn/Makefile (generated): Likewise.
4848 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4849 * iconvdata/Makefile (before-compile, generated): Likewise.
4850 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4851 * libio/Makefile (generated): Likewise.
4852 * malloc/Makefile (generated): Likewise.
4853 * manual/Makefile (generated, generated-dirs): Likewise.
4854 * misc/Makefile (generated): Likewise.
4855 * posix/Makefile (generated): Likewise.
4856 * resolv/Makefile (generated): Likewise.
4857 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4858 * timezone/Makefile (generated, generated-dirs): Likewise.
4860 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4862 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4865 power8 implementation.
4866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4867 file: POWER8 llround ifunc implementation.
4868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4869 (__lllround): Add POWER8 implementation.
4870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4871 POWER8 llround implementation.
4873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4874 power8 implementation.
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4876 file: POWER8 llrint ifunc implementation.
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4878 Add POWER8 implementation.
4879 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4880 POWER8 llrint implementation.
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4883 power8 implementation.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4885 file: POWER8 finite ifunc implementation.
4886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4887 Add POWER8 implementation.
4888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4890 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4891 POWER8 finite implementation.
4892 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4895 power8 implementation.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4897 file: POWER8 isinf ifunc implementation.
4898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4899 POWER8 implementation.
4900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4903 isinf implementation.
4904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4906 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4907 (INIT_ARCH): Add hwcap2 initialization.
4908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4909 power8 implementation.
4910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4911 file: POWER8 isnan ifunc implementation.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4913 POWER8 implementation.
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4917 isnan implementation.
4918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4920 2014-02-27 Joey Ye <joey.ye@arm.com>
4922 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4923 (_FP_NANFRAC_Q): Set to zero.
4925 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4928 * math/auto-libm-test-in: New test inputs.
4929 * math/auto-libm-test-out: Regenerate.
4930 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4935 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4937 * scripts/evaluate-test.sh: Take new argument indicating whether
4938 failure is expected.
4939 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4940 indicating whether failure is expected.
4941 * conform/Makefile (test-xfail-run-conformtest): New variable.
4942 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4944 * posix/Makefile (test-xfail-annexc): New variable.
4945 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4947 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4949 * argp/Makefile: Include Makeconfig immediately after defining
4951 * assert/Makefile: Likewise.
4952 * benchtests/Makefile: Likewise.
4953 * catgets/Makefile: Likewise.
4954 * conform/Makefile: Likewise.
4955 * crypt/Makefile: Likewise.
4956 * csu/Makefile: Likewise.
4957 (all): Remove target.
4958 * ctype/Makefile: Include Makeconfig immediately after defining
4960 * debug/Makefile: Likewise.
4961 * dirent/Makefile: Likewise.
4962 * dlfcn/Makefile: Likewise.
4963 * gmon/Makefile: Likewise.
4964 * gnulib/Makefile: Likewise.
4965 * grp/Makefile: Likewise.
4966 * gshadow/Makefile: Likewise.
4967 * hesiod/Makefile: Likewise.
4968 * hurd/Makefile: Likewise.
4969 (all): Remove target.
4970 * iconvdata/Makefile: Include Makeconfig immediately after
4972 * inet/Makefile: Likewise.
4973 * intl/Makefile: Likewise.
4974 * io/Makefile: Likewise.
4975 * libio/Makefile: Likewise.
4976 (all): Remove target.
4977 * locale/Makefile: Include Makeconfig immediately after defining
4979 * login/Makefile: Likewise.
4980 * mach/Makefile: Likewise.
4981 (all): Remove target.
4982 * malloc/Makefile: Include Makeconfig immediately after defining
4984 (all): Remove target.
4985 * manual/Makefile: Include Makeconfig immediately after defining
4987 * math/Makefile: Likewise.
4988 * misc/Makefile: Likewise.
4989 * nis/Makefile: Likewise.
4990 * nss/Makefile: Likewise.
4991 * po/Makefile: Likewise.
4992 (all): Remove target.
4993 * posix/Makefile: Include Makeconfig immediately after defining
4995 * pwd/Makefile: Likewise.
4996 * resolv/Makefile: Likewise.
4997 * resource/Makefile: Likewise.
4998 * rt/Makefile: Likewise.
4999 * setjmp/Makefile: Likewise.
5000 * shadow/Makefile: Likewise.
5001 * signal/Makefile: Likewise.
5002 * socket/Makefile: Likewise.
5003 * soft-fp/Makefile: Likewise.
5004 * stdio-common/Makefile: Likewise.
5005 * stdlib/Makefile: Likewise.
5006 * streams/Makefile: Likewise.
5007 * string/Makefile: Likewise.
5008 * sunrpc/Makefile: Likewise.
5009 (all): Remove target.
5010 * sysvipc/Makefile: Include Makeconfig immediately after defining
5012 * termios/Makefile: Likewise.
5013 * time/Makefile: Likewise.
5014 * timezone/Makefile: Likewise.
5015 (all): Remove target.
5016 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5018 * wctype/Makefile: Likewise.
5020 2014-02-26 Steve Ellcey <sellcey@mips.com>
5022 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5023 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5024 (libc_feholdexcept_setround_mips): Ditto.
5025 (libc_feholdsetround): New.
5026 (libc_feholdsetroundf): New.
5027 (libc_feholdsetroundl): New.
5028 (libc_feupdateenv_test_mips): New.
5029 (libc_feupdateenv_test): New.
5030 (libc_feupdateenv_testf): New.
5031 (libc_feupdateenv_testl): New.
5032 (libc_feresetround): New.
5033 (libc_feresetroundf): New.
5034 (libc_feresetroundl): New.
5035 (libc_fetestexcept_mips): New.
5036 (libc_fetestexcept): New.
5037 (libc_fetestexceptf): New.
5038 (libc_fetestexceptl): New.
5040 (libc_feholdexcept_setround_mips_ctx): New.
5041 (libc_feholdexcept_setround_ctx): New.
5042 (libc_feholdexcept_setroundf_ctx): New.
5043 (libc_feholdexcept_setroundl_ctx): New.
5044 (libc_fesetenv_mips_ctx): New.
5045 (libc_fesetenv_ctx): New.
5046 (libc_fesetenv_ctxf): New.
5047 (libc_fesetenv_ctxl): New.
5048 (libc_feupdateenv_mips_ctx): New.
5049 (libc_feupdateenv_ctx): New.
5050 (libc_feupdateenvf_ctx): New.
5051 (libc_feupdateenvl_ctx): New.
5052 (libc_feholdsetround_mips_ctx): New.
5053 (libc_feholdsetround_ctx): New.
5054 (libc_feholdsetroundf_ctx): New.
5055 (libc_feholdsetroundl_ctx): New.
5056 (libc_feresetround_mips_ctx): New.
5057 (libc_feresetround_ctx): New.
5058 (libc_feresetroundf_ctx): New.
5059 (libc_feresetroundl_ctx): New.
5061 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5063 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5065 * manual/ipc.texi: New file.
5066 * manual/Makefile (chapters): Add ipc.
5067 * manual/job.texi: Add "Inter-Process Communication" to next.
5068 * manual/process.texi: Add "Inter-Process Communication" to prev.
5070 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5074 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5076 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5078 * manual/arith.texi: Fix spaces after sentences.
5079 * manual/charset.texi: Likewise.
5080 * manual/errno.texi: Likewise.
5081 * manual/install.texi: Likewise.
5082 * manual/llio.texi: Likewise.
5083 * manual/locale.texi: Likewise.
5084 * manual/maint.texi: Likewise.
5085 * manual/math.texi: Likewise.
5086 * manual/memory.texi: Likewise.
5087 * manual/message.texi: Likewise.
5088 * manual/probes.texi: Likewise.
5089 * manual/resource.texi: Likewise.
5090 * manual/signal.texi: Likewise.
5091 * manual/socket.texi: Likewise.
5092 * manual/stdio.texi: Likewise.
5093 * manual/string.texi: Likewise.
5094 * manual/time.texi: Likewise.
5095 * manual/users.texi: Likewise.
5097 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5100 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5101 _DEFAULT_SOURCE is defined.
5103 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5104 Carlos O'Donell <carlos@redhat.com>
5107 * elf/dl-tls.c (_dl_count_modids): New function.
5108 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5109 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5110 audit library and increment generation counter.
5111 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5112 * elf/tst-audit9.c: New file.
5113 * elf/tst-auditmod9a.c: New file.
5114 * elf/tst-auditmod9b.c: New file.
5115 * elf/Makefile: Add rules to build and run tst-audit9.
5117 2014-02-25 Florian Weimer <fweimer@redhat.com>
5120 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5122 2014-02-25 Will Newton <will.newton@linaro.org>
5124 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5125 (__longjmp): Restore sp and lr before restoring callee
5126 saved registers. Add longjmp and longjmp_target
5127 SystemTap probe point.
5128 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5129 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5130 Define to zero to match jmpbuf layout.
5131 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5132 (__sigsetjmp): Save sp and lr before saving callee
5133 saved registers. Add setjmp SystemTap probe point.
5135 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5137 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5139 2014-02-24 Andreas Schwab <schwab@suse.de>
5142 * elf/pldd.c (wait_for_ptrace_stop): New function.
5143 (main): Call it after attaching.
5145 2014-02-22 Roland McGrath <roland@hack.frob.com>
5147 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5148 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5149 Versions files is now verboten.
5150 * hurd/Versions (libc: GLIBC_2.0):
5151 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5152 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5153 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5154 * mach/Versions: Likewise.
5156 * csu/Versions: Remove unused %include.
5157 * resolv/Versions: Likewise.
5159 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5161 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5162 ($(objpfx)check-local-headers.out): Likewise.
5163 ($(objpfx)begin-end-check.out): Likewise.
5164 * Makerules (check-abi-%.out): Likewise.
5165 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5166 ($(objpfx)test2.cat): Likewise.
5167 ($(objpfx)de/libc.cat): Likewise.
5168 ($(objpfx)test-gencat.out): Likewise.
5169 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5170 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5171 ($(objpfx)noload-mem): Likewise.
5172 ($(objpfx)tst-pathopt.out): Likewise.
5173 ($(objpfx)tst-rtld-load-self.out): Likewise.
5174 ($(objpfx)tst-array1-cmp.out): Likewise.
5175 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5176 ($(objpfx)tst-array2-cmp.out): Likewise.
5177 ($(objpfx)tst-array3-cmp.out): Likewise.
5178 ($(objpfx)tst-array4-cmp.out): Likewise.
5179 ($(objpfx)tst-array5-cmp.out): Likewise.
5180 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5181 ($(objpfx)check-textrel.out): Likewise.
5182 ($(objpfx)check-execstack.out): Likewise.
5183 ($(objpfx)check-localplt.out): Likewise.
5184 ($(objpfx)order2-cmp.out): Likewise.
5185 ($(objpfx)tst-leaks1-mem): Likewise.
5186 ($(objpfx)tst-leaks1-static-mem): Likewise.
5187 ($(objpfx)tst-initorder-cmp.out): Likewise.
5188 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5189 ($(objpfx)tst-unused-dep.out): Likewise.
5190 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5191 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5192 * iconv/Makefile (test-iconvconfig): Likewise.
5193 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5194 ($(objpfx)iconv-test.out): Likewise.
5195 ($(objpfx)tst-tables.out): Likewise.
5196 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5197 ($(objpfx)tst-gettext.out): Likewise.
5198 ($(objpfx)tst-translit.out): Likewise.
5199 ($(objpfx)tst-gettext2.out): Likewise.
5200 ($(objpfx)tst-gettext4.out): Likewise.
5201 ($(objpfx)tst-gettext6.out): Likewise.
5202 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5203 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5204 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5205 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5206 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5207 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5208 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5209 ($(objpfx)wordexp-tst.out): Likewise.
5210 ($(objpfx)annexc.out): Likewise.
5211 ($(objpfx)tst-fnmatch-mem): Likewise.
5212 ($(objpfx)bug-regex2-mem): Likewise.
5213 ($(objpfx)bug-regex14-mem): Likewise.
5214 ($(objpfx)bug-regex21-mem): Likewise.
5215 ($(objpfx)bug-regex31-mem): Likewise.
5216 ($(objpfx)tst-vfork3-mem): Likewise.
5217 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5218 ($(objpfx)tst-pcre-mem): Likewise.
5219 ($(objpfx)tst-boost-mem): Likewise.
5220 ($(objpfx)tst-getconf.out): Likewise.
5221 ($(objpfx)bug-ga2-mem): Likewise.
5222 ($(objpfx)bug-glob2-mem): Likewise.
5223 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5224 ($(objpfx)mtrace-tst-leaks2): Likewise.
5225 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5226 ($(objpfx)tst-printf.out): Likewise.
5227 ($(objpfx)tst-setvbuf1.out): Likewise.
5228 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5229 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5230 ($(objpfx)tst-fmtmsg.out): Likewise.
5231 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5232 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5234 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5235 * bits/sigaction.h [__USE_MISC]: Likewise.
5236 * bits/waitstatus.h: Update #endif comments.
5237 * ctype/ctype.h: Likewise.
5238 * dirent/dirent.h: Likewise.
5239 [__USE_MISC]: Remove redundant conditionals.
5240 * grp/grp.h: Update #endif comments.
5241 [__USE_GNU]: Remove redundant conditionals.
5242 [__USE_MISC]: Likewise.
5243 * inet/netinet/in.h [__USE_GNU]: Likewise.
5244 * io/sys/stat.h [__USE_MISC]: Likewise.
5245 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5246 * libio/bits/stdio.h: Update #endif comments.
5247 [__USE_MISC]: Remove redundant conditionals.
5248 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5249 * libio/stdio.h: Update #endif comments.
5250 [__USE_MISC]: Remove redundant conditionals.
5251 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5252 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5253 * math/math.h: Update #else and #endif comments.
5254 [__USE_MISC]: Remove redundant conditionals.
5255 * misc/sys/uio.h: Update #endif comments.
5256 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5257 * posix/glob.h [__USE_MISC]: Likewise.
5258 * posix/sys/types.h: Update #endif comments.
5259 [__USE_MISC]: Remove redundant conditionals.
5260 * posix/sys/wait.h: Update #endif comments.
5261 [__USE_MISC]: Remove redundant conditionals.
5262 * posix/unistd.h: Update #endif comments.
5263 [__USE_MISC]: Remove redundant conditionals.
5264 * pwd/pwd.h [__USE_GNU]: Likewise.
5265 [__USE_MISC]: Likewise.
5266 * resolv/netdb.h [__USE_GNU]: Likewise.
5267 * signal/signal.h: Update #endif comments.
5268 [__USE_MISC]: Remove redundant conditionals.
5269 * stdlib/stdlib.h: Update #else and #endif comments.
5270 [__USE_MISC]: Remove redundant conditionals.
5271 [__USE_GNU]: Likewise.
5272 * string/bits/string2.h [__USE_MISC]: Likewise.
5273 * string/string.h: Update #endif comments.
5274 [__USE_MISC]: Remove redundant conditionals.
5275 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5278 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5279 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5281 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5285 [__USE_MISC]: Remove redundant conditionals.
5286 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5287 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5288 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5289 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5290 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5292 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5293 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5295 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5298 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5300 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5303 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5305 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5306 * sysdeps/x86/bits/string.h: Update #endif comments.
5307 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5309 * time/sys/time.h: Update #endif comments.
5310 * time/time.h: Likewise.
5311 [__USE_MISC]: Remove redundant conditionals.
5313 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5316 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5318 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5320 * Versions.def (librt): Add GLIBC_2.17.
5322 2014-02-21 Adam Conrad <adconrad@0c3.net>
5324 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5325 synonym for _SYS_AUXV_H to allow direct inclusion.
5326 * sysdeps/sparc/bits/hwcap.h: Likewise.
5327 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5328 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5329 * sysdeps/sparc/sysdep.h: Likewise.
5331 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5333 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5335 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5337 * benchtests/bench-strrchr.c: Print length instead of position.
5339 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5342 * sysdeps/unix/sysv/linux/kernel-features.h
5343 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5344 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5345 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5346 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5348 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5349 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5350 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5351 (__ASSUME_SENDMMSG): Define instead of using previous
5352 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5353 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5354 (__ASSUME_SENDMMSG_SYSCALL): Define.
5355 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5356 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5358 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5359 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5361 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5362 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5364 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5365 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5366 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5367 [__ASSUME_SENDMMSG]: Change conditionals to
5368 [__ASSUME_SENDMMSG_SOCKETCALL].
5369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5372 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5373 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5375 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5376 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5377 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5378 [!__ASSUME_SENDMMSG]: Change conditional to
5379 [!__ASSUME_SENDMMSG_SOCKETCALL].
5380 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5381 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5385 * sysdeps/unix/sysv/linux/kernel-features.h
5386 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5387 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5388 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5389 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5390 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5391 [__i386__ || __sparc__]
5392 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5393 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5394 (__ASSUME_RECVMMSG): Define instead of using previous
5395 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5396 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5397 (__ASSUME_RECVMMSG_SYSCALL): Define.
5398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5401 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5402 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5404 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5405 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5407 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5408 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5409 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5410 [__ASSUME_RECVMMSG]: Change condition to
5411 [__ASSUME_RECVMMSG_SOCKETCALL].
5412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5413 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5415 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5416 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5419 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5420 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5421 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5422 [!__ASSUME_RECVMMSG]: Change condition to
5423 [!__ASSUME_RECVMMSG_SOCKETCALL].
5424 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5425 (__ASSUME_RECVMMSG_SYSCALL): Define.
5428 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5429 __powerpc__ || __s390__ || __sh__ || __sparc__]
5430 (__ASSUME_SOCKETCALL): Define.
5431 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5432 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5433 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5434 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5435 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5436 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5437 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5438 (__ASSUME_ACCEPT4): Define instead of using previous
5439 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5440 __powerpc__ || __sparc__ || __s390__)] condition.
5441 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5442 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5443 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5444 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5445 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5446 [!__ASSUME_ACCEPT4]: Change condition to
5447 [!__ASSUME_ACCEPT4_SOCKETCALL].
5448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5449 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5450 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5451 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5452 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5453 __ASSUME_ACCEPT4_SYSCALL.
5454 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5455 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5456 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5457 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5458 __ASSUME_ACCEPT4_SYSCALL.
5459 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5460 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5461 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5462 [__ASSUME_ACCEPT4]: Change condition to
5463 [__ASSUME_ACCEPT4_SOCKETCALL].
5464 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5465 (__ASSUME_SOCKETCALL): Define.
5466 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5468 (__ASSUME_SOCKETCALL): Define.
5469 (__ASSUME_ACCEPT4): Remove.
5470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5473 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5475 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5476 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5478 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5480 (HWCAP_ARM_LPAE): Likewise.
5481 (HWCAP_ARM_EVTSTRM): Likewise.
5482 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5483 Add vpfd32, lpae and evtstrm.
5484 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5487 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5489 * math/auto-libm-test-in: Add tests of clog10.
5490 * math/auto-libm-test-out: Regenerated.
5491 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5492 * sysdeps/i386/fpu/libm-test-ulps: Update.
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495 2014-02-18 Andreas Schwab <schwab@suse.de>
5498 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5499 Store non-zero if the second buffer was newly allocated.
5500 (send_dg): Likewise.
5501 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5502 to send_vc and send_dg.
5503 (res_nsend): Pass NULL for ansp2_malloced.
5504 * resolv/res_query.c (__libc_res_nquery): Add parameter
5505 answerp2_malloced and pass it down to __libc_res_nsend.
5506 (res_nquery): Pass additional NULL to __libc_res_nquery.
5507 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5508 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5509 second answer buffer if answerp2_malloced was set.
5510 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5511 (__libc_res_nquerydomain): Add parameter
5512 answerp2_malloced and pass it down to __libc_res_nquery.
5513 (res_nquerydomain): Pass additional NULL to
5514 __libc_res_nquerydomain.
5515 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5516 additional NULL to __libc_res_nsend and __libc_res_nquery.
5517 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5518 additional NULL to __libc_res_nsearch.
5519 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5520 parameter of __libc_res_nsearch to check for separately allocated
5522 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5524 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5525 additional NULL to __libc_res_nquery.
5526 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5528 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5529 * include/resolv.h: Update prototypes of __libc_res_nquery,
5530 __libc_res_nsearch, __libc_res_nsend.
5532 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5534 * math/auto-libm-test-in: Add tests of fma.
5535 * math/auto-libm-test-out: Regenerated.
5536 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5537 (fma_towardzero_test_data): Likewise.
5538 (fma_downward_test_data): Likewise.
5539 (fma_upward_test_data): Likewise.
5540 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5542 (rounding_modes): Add values for new field.
5543 (func_calc_method): Add value mpfr_fff_f.
5544 (func_calc_desc): Add mpfr_fff_f union field.
5545 (test_function): Add field exact_args.
5546 (FUNC): Add macro argument EXACT_ARGS.
5547 (FUNC_mpfr_f_f): Update call to FUNC.
5548 (FUNC_mpfr_f_f): Likewise.
5549 (FUNC_mpfr_ff_f): Likewise.
5550 (FUNC_mpfr_if_f): Likewise.
5551 (FUNC_mpc_c_f): Likewise.
5552 (FUNC_mpc_c_c): Likewise.
5553 (test_functions): Add fma. Update calls to FUNC.
5554 (handle_input_arg): Add argument exact_args.
5555 (add_test): Update call to handle_input_arg.
5556 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5557 (output_for_one_input_case): Update call to calc_generic_results.
5558 Recalculate exact zero results in each rounding mode.
5560 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5561 non-negative before setting low bit.
5562 * math/auto-libm-test-in: Mark one asin test possibly having
5564 * math/auto-libm-test-out: Regenerated.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5570 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5571 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5572 ports/sysdeps/unix/sysv/linux/microblaze.
5573 * README: Add missing listing for microblaze*-*-linux-gnu.
5575 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5577 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5578 * sysdeps/unix/sysv/linux/ia64: Move directory from
5579 ports/sysdeps/unix/sysv/linux/ia64.
5580 * README: Update listing for ia64-*-linux-gnu.
5582 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5583 Joseph Myers <joseph@codesourcery.com>
5585 * Makeconfig (test-name): New variable.
5586 (evaluate-test): Likewise.
5587 * Makerules (do-test-clean): Remove .test-result files.
5588 (common-mostlyclean): Likewise.
5589 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5590 * scripts/evaluate-test.sh: New file.
5592 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5594 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5595 separate $(objpfx)tst-fopenloc-cmp.out and
5596 $(objpfx)tst-fopenloc-mem.out targets.
5597 (tests): Update dependencies.
5598 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5599 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5600 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5601 (tst-rxspencer-no-utf8-ARGS): New variable.
5602 (tst-rxspencer-no-utf8-ENV): Likewise.
5603 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5604 instead of $(objpfx)tst-rxspencer-mem.
5605 ($(objpfx)tst-rxspencer-mem): Change target to
5606 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5607 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5608 * posix/tst-rxspencer-no-utf8.c: New file.
5610 * elf/Makefile ($(objpfx)order.out): Remove rule.
5611 [$(run-built-tests) = yes] (tests): Depend on
5612 $(objpfx)order-cmp.out.
5613 ($(objpfx)order-cmp.out): New rule.
5614 [$(run-built-tests) = yes] (tests): Depend on
5615 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5616 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5617 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5618 $(objpfx)tst-array5-static-cmp.out.
5619 ($(objpfx)tst-array1.out): Remove rule.
5620 ($(objpfx)tst-array1-cmp.out): New rule.
5621 ($(objpfx)tst-array1-static.out): Remove rule.
5622 ($(objpfx)tst-array1-static-cmp.out): New rule.
5623 ($(objpfx)tst-array2.out): Remove rule.
5624 ($(objpfx)tst-array2-cmp.out): New rule.
5625 ($(objpfx)tst-array3.out): Remove rule.
5626 ($(objpfx)tst-array3-cmp.out): New rule.
5627 ($(objpfx)tst-array4.out): Remove rule.
5628 ($(objpfx)tst-array4-cmp.out): New rule.
5629 ($(objpfx)tst-array5.out): Remove rule.
5630 ($(objpfx)tst-array5-cmp.out): New rule.
5631 ($(objpfx)tst-array5-static.out): Remove rule.
5632 ($(objpfx)tst-array5-static-cmp.out): New rule.
5633 [$(run-built-tests) = yes] (tests): Depend on
5634 $(objpfx)order2-cmp.out.
5635 ($(objpfx)order2.out): Remove rule.
5636 ($(objpfx)order2-cmp.out): New rule.
5637 ($(objpfx)tst-initorder.out): Remove rule.
5638 [$(run-built-tests) = yes] (tests): Depend on
5639 $(objpfx)tst-initorder-cmp.out.
5640 ($(objpfx)tst-initorder-cmp.out): New rule.
5641 ($(objpfx)tst-initorder2.out): Remove rule.
5642 [$(run-built-tests) = yes] (tests): Depend on
5643 $(objpfx)tst-initorder2-cmp.out.
5644 ($(objpfx)tst-initorder2-cmp.out): New rule.
5645 [$(run-built-tests) = yes] (tests): Depend on
5646 $(objpfx)tst-unused-dep-cmp.out.
5647 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5648 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5649 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5650 on $(objpfx)tst-setvbuf1-cmp.out.
5651 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5652 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5653 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5654 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5655 ($(objpfx)tst-svc.out): Remove rule.
5656 ($(objpfx)tst-svc-cmp.out): New rule.
5658 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5660 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5661 * ctype/ctype.h [__USE_MISC]: Likewise.
5662 * dirent/dirent.h [__USE_MISC]: Likewise.
5663 * grp/grp.h [__USE_MISC]: Likewise.
5664 * io/fcntl.h [__USE_MISC]: Likewise.
5665 * io/sys/stat.h [__USE_MISC]: Likewise.
5666 * libio/stdio.h [__USE_MISC]: Likewise.
5667 * posix/unistd.h [__USE_MISC]: Likewise.
5668 * pwd/pwd.h [__USE_MISC]: Likewise.
5669 * stdlib.h [__USE_MISC]: Likewise.
5670 * string/bits/string2.h [__USE_MISC]: Likewise.
5671 * string/string.h [__USE_MISC]: Likewise.
5672 * time/time.h [__USE_MISC]: Likewise.
5674 2014-02-13 Andreas Schwab <schwab@suse.de>
5677 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5678 second answer buffer if it was separately allocated.
5680 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5682 * sysdeps/mips/math-tests.h: Include <features.h>.
5683 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5684 (ROUNDING_TESTS_long_double): Do not define.
5685 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5686 (EXCEPTION_TESTS_long_double): Likewise.
5687 * sysdeps/mips/mips64/libm-test-ulps: Update.
5689 * include/features.h (__USE_BSD): Remove macro definitions.
5690 (__USE_SVID): Likewise.
5691 (_BSD_SOURCE): Likewise.
5692 (_SVID_SOURCE): Likewise.
5693 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5694 from definition of _DEFAULT_SOURCE.
5695 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5697 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5698 * bits/mman.h [__USE_BSD]: Likewise.
5699 * bits/termios.h [__USE_BSD]: Likewise.
5700 * bits/waitstatus.h [__USE_BSD]: Likewise.
5701 * ctype/ctype.h [__USE_SVID]: Likewise.
5702 * dirent/dirent.h [__USE_BSD]: Likewise.
5703 * grp/grp.h [__USE_SVID]: Likewise.
5704 [__USE_BSD]: Likewise.
5705 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5706 * io/fcntl.h [__USE_BSD]: Likewise.
5707 * io/ftw.h [__USE_BSD]: Likewise.
5708 * io/sys/stat.h [__USE_BSD]: Likewise.
5709 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5710 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5711 * libio/stdio.h [__USE_SVID]: Likewise.
5712 [__USE_BSD]: Likewise.
5713 * math/math.h [__USE_SVID]: Likewise.
5714 [__USE_BSD]: Likewise.
5715 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5716 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5717 * misc/search.h [__USE_SVID]: Likewise.
5718 * misc/sys/mman.h [__USE_BSD]: Likewise.
5719 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5720 * misc/sys/uio.h [__USE_BSD]: Likewise.
5721 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5722 * posix/glob.h [__USE_BSD]: Likewise.
5723 * posix/regex.h [__USE_BSD]: Likewise.
5724 * posix/sys/types.h [__USE_BSD]: Likewise.
5725 [__USE_SVID]: Likewise.
5726 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5727 * posix/sys/wait.h [__USE_BSD]: Likewise.
5728 [__USE_SVID]: Likewise.
5729 * posix/unistd.h [__USE_BSD]: Likewise.
5730 [__USE_SVID]: Likewise.
5731 * pwd/pwd.h [__USE_SVID]: Likewise.
5732 * resolv/netdb.h [__USE_BSD]: Likewise.
5733 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5734 * signal/signal.h [__USE_BSD]: Likewise.
5735 [__USE_SVID]: Likewise.
5736 * socket/sys/socket.h [__USE_BSD]: Likewise.
5737 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5738 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5739 [__USE_SVID]: Likewise.
5740 * string/bits/string2.h [__USE_BSD]: Likewise.
5741 [__USE_SVID]: Likewise.
5742 * string/bits/string3.h [__USE_BSD]: Likewise.
5743 * string/endian.h [__USE_BSD]: Likewise.
5744 * string/string.h [__USE_SVID]: Likewise.
5745 [__USE_BSD]: Likewise.
5746 * string/strings.h [__USE_BSD]: Likewise.
5747 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5748 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5749 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5750 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5751 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5752 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5756 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5757 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5759 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5760 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5762 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5764 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5765 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5770 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5771 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5772 * termios/termios.h [__USE_BSD]: Likewise.
5773 * time/sys/time.h [__USE_BSD]: Likewise.
5774 * time/time.h [__USE_BSD]: Likewise.
5775 [__USE_SVID]: Likewise.
5777 * Makefile (subdir_targets): Remove subdir_lint.out.
5779 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5780 (do-tst-printf): Likewise.
5781 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5782 $(objpfx)tst-printf.out.
5784 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5786 * Makerules (check-abi-%): Change target to
5787 $(objpfx)check-abi-%.out.
5788 (check-abi target): Update dependencies.
5789 (check-abi-pattern variable): Redirect output of diff to $@.
5790 (check-abi variable): Likewise.
5791 * elf/Makefile (check-abi): Update dependencies.
5793 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5795 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5796 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5798 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5799 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5800 value has largest subnormal exponent.
5801 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5802 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5803 * sysdeps/aarch64/soft-fp/sfp-machine.h
5804 (_FP_TININESS_AFTER_ROUNDING): New macro.
5805 * sysdeps/alpha/soft-fp/sfp-machine.h
5806 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5807 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5809 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5810 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5811 * sysdeps/mips/soft-fp/sfp-machine.h
5812 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5813 * sysdeps/powerpc/soft-fp/sfp-machine.h
5814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5815 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5817 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5818 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5820 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5821 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5824 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5830 2014-02-12 Richard Henderson <rth@redhat.com>
5832 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5833 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5834 * sysdeps/unix/sysv/linux/alpha: Move directory from
5835 ports/sysdeps/unix/sysv/linux/alpha.
5836 * README: Update listing for alpha-*-linux-gnu.
5838 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5840 * include/features.h: Update comment documenting feature test
5842 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5844 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5845 (_SVID_SOURCE): Likewise.
5846 (_DEFAULT_SOURCE): Update description of default features.
5847 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5849 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5850 (S_ISVTX): Likewise.
5851 * manual/math.texi (Mathematical Constants): Likewise.
5852 * manual/signal.texi (Interrupted Primitives): Likewise.
5853 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5854 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5855 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5856 Don't refer to _SVID_SOURCE in warning text.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5860 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5862 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5863 * sysdeps/mips/dl-lookup.c: Remove.
5864 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5866 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5869 * math/auto-libm-test-in: Add testcase for expl.
5870 * math/auto-libm-test-out: Regenerate.
5871 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5872 calculation of unsafe.
5873 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5875 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5877 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5878 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5879 ports/sysdeps/unix/sysv/linux/aarch64.
5880 * README: Update listing for aarch64*-*-linux-gnu.
5882 2014-02-11 Will Newton <will.newton@linaro.org>
5884 * manual/probes.texi (Mathematical Function Probes): Use
5885 "triggered" instead of "hit".
5887 * manual/probes.texi (Internal Probes): Add documentation
5888 of setjmp, longjmp and longjmp_target probes.
5890 * include/stap-probe.h: Add comment about probe argument
5893 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5894 definition. (tr_where, tr_freehook, tr_mallochook,
5895 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5897 2014-02-11 David S. Miller <davem@davemloft.net>
5899 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5900 processing int_tests.
5902 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5904 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5905 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5906 * sysdeps/unix/sysv/linux/mips: Move directory from
5907 ports/sysdeps/unix/sysv/linux/mips.
5908 * README: Update listing for mips-*-linux-gnu and
5911 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5913 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5914 * sysdeps/unix/sysv/linux/m68k: Move directory from
5915 ports/sysdeps/unix/sysv/linux/m68k.
5916 * README: Update listing for m68k-*-linux-gnu.
5918 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5920 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5921 * sysdeps/unix/sysv/linux/generic: Move directory from
5922 ports/sysdeps/unix/sysv/linux/generic.
5923 * sysdeps/unix/sysv/linux/tile: Move directory from
5924 ports/sysdeps/unix/sysv/linux/tile.
5925 * README: Update listing for tile*-*-linux-gnu.
5927 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5929 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5931 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5932 * catgets/open_catalog.c (__open_catalog): Likewise.
5933 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5934 * debug/confstr_chk.c: Likewise.
5935 * debug/fread_chk.c (__fread_chk): Likewise.
5936 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5937 * debug/getgroups_chk.c: Likewise.
5938 * debug/mbsnrtowcs_chk.c: Likewise.
5939 * debug/mbsrtowcs_chk.c: Likewise.
5940 * debug/mbstowcs_chk.c: Likewise.
5941 * debug/memcpy_chk.c: Likewise.
5942 * debug/memmove_chk.c: Likewise.
5943 * debug/mempcpy_chk.c: Likewise.
5944 * debug/memset_chk.c: Likewise.
5945 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5946 * debug/strcat_chk.c (__strcat_chk): Likewise.
5947 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5948 * debug/strncat_chk.c (__strncat_chk): Likewise.
5949 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5950 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5951 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5952 * debug/wcpncpy_chk.c: Likewise.
5953 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5954 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5955 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5956 * debug/wcsncpy_chk.c: Likewise.
5957 * debug/wcsnrtombs_chk.c: Likewise.
5958 * debug/wcsrtombs_chk.c: Likewise.
5959 * debug/wcstombs_chk.c: Likewise.
5960 * debug/wmemcpy_chk.c: Likewise.
5961 * debug/wmemmove_chk.c: Likewise.
5962 * debug/wmempcpy_chk.c: Likewise.
5963 * debug/wmemset_chk.c: Likewise.
5964 * dirent/scandirat.c (SCANDIRAT): Likewise.
5965 * dlfcn/dladdr1.c (dladdr1): Likewise.
5966 * dlfcn/dladdr.c (dladdr): Likewise.
5967 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5968 * dlfcn/dlerror.c (__dlerror): Likewise.
5969 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5970 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5971 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5972 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5973 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5974 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5975 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5976 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5978 * elf/dl-conflict.c: Likewise.
5979 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5980 * elf/dl-dst.h: Likewise.
5981 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5982 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5983 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5984 * elf/dl-init.c (call_init, _dl_init): Likewise.
5985 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5986 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5987 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5989 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5991 * elf/dl-minimal.c (__libc_memalign): Likewise.
5992 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5993 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5994 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5995 * elf/dl-sym.c (do_sym): Likewise.
5996 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5997 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5998 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5999 * elf/dl-writev.h (_dl_writev): Likewise.
6000 * elf/ldconfig.c (search_dir): Likewise.
6001 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6002 (dl_main): Likewise.
6003 * elf/setup-vdso.h (setup_vdso): Likewise.
6004 * grp/compat-initgroups.c (compat_call): Likewise.
6005 * grp/fgetgrent.c (fgetgrent): Likewise.
6006 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6007 * grp/putgrent.c (putgrent): Likewise.
6008 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6010 * hurd/hurdinit.c: Likewise.
6011 * iconvdata/8bit-gap.c (struct): Likewise.
6012 * iconvdata/ansi_x3.110.c : Likewise.
6013 * iconvdata/big5.c : Likewise.
6014 * iconvdata/big5hkscs.c : Likewise.
6015 * iconvdata/cp1255.c: Likewise.
6016 * iconvdata/cp1258.c : Likewise.
6017 * iconvdata/cp932.c : Likewise.
6018 * iconvdata/euc-cn.c: Likewise.
6019 * iconvdata/euc-jisx0213.c : Likewise.
6020 * iconvdata/euc-jp.c: Likewise.
6021 * iconvdata/euc-jp-ms.c : Likewise.
6022 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6023 * iconvdata/gb18030.c : Likewise.
6024 * iconvdata/gbbig5.c (const): Likewise.
6025 * iconvdata/gbgbk.c: Likewise.
6026 * iconvdata/gbk.c : Likewise.
6027 * iconvdata/ibm1364.c : Likewise.
6028 * iconvdata/ibm930.c : Likewise.
6029 * iconvdata/ibm932.c: Likewise.
6030 * iconvdata/ibm933.c : Likewise.
6031 * iconvdata/ibm935.c : Likewise.
6032 * iconvdata/ibm937.c : Likewise.
6033 * iconvdata/ibm939.c : Likewise.
6034 * iconvdata/ibm943.c: Likewise.
6035 * iconvdata/iso_11548-1.c: Likewise.
6036 * iconvdata/iso-2022-cn.c : Likewise.
6037 * iconvdata/iso-2022-cn-ext.c : Likewise.
6038 * iconvdata/iso-2022-jp-3.c: Likewise.
6039 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6040 * iconvdata/iso-2022-kr.c : Likewise.
6041 * iconvdata/iso646.c (gconv_end): Likewise.
6042 * iconvdata/iso_6937-2.c : Likewise.
6043 * iconvdata/iso_6937.c : Likewise.
6044 * iconvdata/iso8859-1.c: Likewise.
6045 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6046 * iconvdata/shift_jisx0213.c : Likewise.
6047 * iconvdata/sjis.c : Likewise.
6048 * iconvdata/t.61.c : Likewise.
6049 * iconvdata/tcvn5712-1.c : Likewise.
6050 * iconvdata/tscii.c: Likewise.
6051 * iconvdata/uhc.c : Likewise.
6052 * iconvdata/unicode.c (gconv_end): Likewise.
6053 * iconvdata/utf-16.c (gconv_end): Likewise.
6054 * iconvdata/utf-32.c (gconv_end): Likewise.
6055 * iconvdata/utf-7.c (base64): Likewise.
6056 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6057 * iconv/gconv_close.c (__gconv_close): Likewise.
6058 * iconv/gconv_open.c (__gconv_open): Likewise.
6059 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6060 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6061 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6062 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6063 (ucs4le_internal_loop_single): Likewise.
6064 * iconv/iconv.c (iconv): Likewise.
6065 * iconv/iconv_close.c: Likewise.
6066 * iconv/loop.c (SINGLE): Likewise.
6067 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6068 * include/atomic.h: Likewise.
6069 * inet/inet6_option.c (option_alloc): Likewise.
6070 * intl/bindtextdom.c (set_binding_values): Likewise.
6071 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6072 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6073 * intl/localealias.c (read_alias_file): Likewise.
6074 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6075 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6076 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6077 * libio/fmemopen.c (fmemopen): Likewise.
6078 * libio/iofgets.c (_IO_fgets): Likewise.
6079 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6080 * libio/iofgetws.c (fgetws): Likewise.
6081 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6082 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6083 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6084 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6085 * locale/findlocale.c (_nl_find_locale): Likewise.
6086 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6087 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6089 * locale/setlocale.c (setlocale): Likewise.
6090 * login/programs/pt_chown.c (main): Likewise.
6091 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6092 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6093 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6094 (mmap, mmap64, mremap, munmap): Likewise.
6095 * math/e_exp2l.c: Likewise.
6096 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6097 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6098 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6099 * math/s_catan.c (__catan): Likewise.
6100 * math/s_catanf.c (__catanf): Likewise.
6101 * math/s_catanh.c (__catanh): Likewise.
6102 * math/s_catanhf.c (__catanhf): Likewise.
6103 * math/s_catanhl.c (__catanhl): Likewise.
6104 * math/s_catanl.c (__catanl): Likewise.
6105 * math/s_ccosh.c (__ccosh): Likewise.
6106 * math/s_ccoshf.c (__ccoshf): Likewise.
6107 * math/s_ccoshl.c (__ccoshl): Likewise.
6108 * math/s_cexp.c (__cexp): Likewise.
6109 * math/s_cexpf.c (__cexpf): Likewise.
6110 * math/s_cexpl.c (__cexpl): Likewise.
6111 * math/s_clog10.c (__clog10): Likewise.
6112 * math/s_clog10f.c (__clog10f): Likewise.
6113 * math/s_clog10l.c (__clog10l): Likewise.
6114 * math/s_clog.c (__clog): Likewise.
6115 * math/s_clogf.c (__clogf): Likewise.
6116 * math/s_clogl.c (__clogl): Likewise.
6117 * math/s_csin.c (__csin): Likewise.
6118 * math/s_csinf.c (__csinf): Likewise.
6119 * math/s_csinh.c (__csinh): Likewise.
6120 * math/s_csinhf.c (__csinhf): Likewise.
6121 * math/s_csinhl.c (__csinhl): Likewise.
6122 * math/s_csinl.c (__csinl): Likewise.
6123 * math/s_csqrt.c (__csqrt): Likewise.
6124 * math/s_csqrtf.c (__csqrtf): Likewise.
6125 * math/s_csqrtl.c (__csqrtl): Likewise.
6126 * math/s_ctan.c (__ctan): Likewise.
6127 * math/s_ctanf.c (__ctanf): Likewise.
6128 * math/s_ctanh.c (__ctanh): Likewise.
6129 * math/s_ctanhf.c (__ctanhf): Likewise.
6130 * math/s_ctanhl.c (__ctanhl): Likewise.
6131 * math/s_ctanl.c (__ctanl): Likewise.
6132 * math/w_pow.c: Likewise.
6133 * math/w_powf.c: Likewise.
6134 * math/w_powl.c: Likewise.
6135 * math/w_scalb.c (sysv_scalb): Likewise.
6136 * math/w_scalbf.c (sysv_scalbf): Likewise.
6137 * math/w_scalbl.c (sysv_scalbl): Likewise.
6138 * misc/error.c (error_tail): Likewise.
6139 * misc/pselect.c (__pselect): Likewise.
6140 * nis/nis_callback.c (__nis_create_callback): Likewise.
6141 * nis/nis_call.c (__nisfind_server): Likewise.
6142 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6143 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6145 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6146 * nis/nis_lookup.c (nis_lookup): Likewise.
6147 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6148 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6149 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6150 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6151 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6152 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6153 * nis/nss_compat/compat-initgroups.c (add_group)
6154 (internal_getgrent_r): Likewise.
6155 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6156 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6157 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6158 (internal_getspnam_r): Likewise.
6159 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6160 (_nss_nis_getaliasbyname_r): Likewise.
6161 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6162 (_nss_nis_getntohost_r): Likewise.
6163 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6164 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6165 (_nss_nis_getgrgid_r): Likewise.
6166 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6167 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6168 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6169 (_nss_nis_gethostbyname4_r): Likewise.
6170 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6171 (initgroups_netid): Likewise.
6172 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6173 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6174 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6175 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6176 (_nss_nis_getprotobynumber_r): Likewise.
6177 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6178 (_nss_nis_getsecretkey): Likewise.
6179 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6180 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6181 (_nss_nis_getpwuid_r): Likewise.
6182 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6183 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6184 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6185 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6186 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6187 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6188 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6190 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6191 (_nss_nisplus_getntohost_r): Likewise.
6192 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6193 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6194 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6195 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6197 * nis/nss_nisplus/nisplus-initgroups.c
6198 (_nss_nisplus_initgroups_dyn): Likewise.
6199 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6200 (_nss_nisplus_getnetbyaddr_r): Likewise.
6201 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6202 (_nss_nisplus_getprotobynumber_r): Likewise.
6203 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6204 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6205 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6207 * nis/nss_nisplus/nisplus-service.c
6208 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6209 (_nss_nisplus_getservbyport_r): Likewise.
6210 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6211 (_nss_nisplus_getspnam_r): Likewise.
6212 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6214 * nscd/aicache.c (addhstaiX): Likewise.
6215 * nscd/cache.c (cache_search, prune_cache): Likewise.
6216 * nscd/connections.c (register_traced_file, send_ro_fd)
6217 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6218 (main_loop_epoll): Likewise.
6219 * nscd/grpcache.c (addgrbyX): Likewise.
6220 * nscd/hstcache.c (addhstbyX): Likewise.
6221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6222 * nscd/mem.c (gc, mempool_alloc): Likewise.
6223 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6224 (addinnetgrX): Likewise.
6225 * nscd/nscd-client.h (__nscd_acquire_maplock)
6226 (__nscd_drop_map_ref): Likewise.
6227 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6228 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6229 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6231 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6232 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6233 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6234 (__nscd_get_map_ref): Likewise.
6235 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6236 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6238 * nscd/pwdcache.c (addpwbyX): Likewise.
6239 * nscd/selinux.c (preserve_capabilities): Likewise.
6240 * nscd/servicescache.c (addservbyX): Likewise.
6241 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6242 * posix/fnmatch.c (fnmatch): Likewise.
6243 * posix/getopt.c (_getopt_internal_r): Likewise.
6244 * posix/glob.c (glob, glob_in_dir): Likewise.
6245 * posix/wordexp.c (exec_comm_child): Likewise.
6246 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6247 (getanswer_r, gaih_getanswer_slice): Likewise.
6248 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6249 * resolv/res_init.c: Likewise.
6250 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6251 * resolv/res_query.c (__libc_res_nquery): Likewise.
6252 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6254 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6255 * stdio-common/perror.c (perror): Likewise.
6256 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6257 * stdio-common/tmpnam.c (tmpnam): Likewise.
6258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6259 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6260 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6262 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6263 * stdlib/putenv.c (putenv): Likewise.
6264 * stdlib/setenv.c (__add_to_environ): Likewise.
6265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6266 * stdlib/strtol_l.c (INTERNAL): Likewise.
6267 * string/memmem.c (memmem): Likewise.
6268 * string/strerror.c (strerror): Likewise.
6269 * string/strnlen.c (__strnlen): Likewise.
6270 * string/test-memmem.c (simple_memmem): Likewise.
6271 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6272 * sunrpc/pm_getport.c (__get_socket): Likewise.
6273 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6274 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6275 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6276 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6278 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6279 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6281 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6282 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6283 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6285 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6287 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6288 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6290 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6291 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6293 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6294 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6295 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6296 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6298 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6304 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6306 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6308 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6309 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6310 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6321 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6323 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6325 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6327 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6329 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6331 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6332 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6333 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6334 * sysdeps/posix/sleep.c: Likewise.
6335 * sysdeps/posix/tempname.c: Likewise.
6336 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6337 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6339 * sysdeps/powerpc/powerpc32/dl-machine.h
6340 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6341 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6343 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6344 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6346 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6347 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6348 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6349 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6350 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6351 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6352 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6353 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6354 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6355 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6357 (elf_machine_lazy_rel): Likewise.
6358 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6360 (elf_machine_lazy_rel): Likewise.
6361 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6362 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6363 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6364 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6365 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6366 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6367 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6370 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6371 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6372 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6373 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6374 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6376 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6377 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6378 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6379 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6380 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6382 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6383 (__posix_fallocate64_l64): Likewise.
6384 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6385 (posix_fallocate): Likewise.
6386 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6389 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6390 (getifaddrs_internal): Likewise.
6391 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6393 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6394 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6395 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6396 (__posix_fallocate64_l64): Likewise.
6397 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6399 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6401 (__get_clockfreq): Likewise.
6402 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6403 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6404 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6407 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6408 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6409 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6411 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6412 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6413 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6414 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6415 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6416 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6417 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6419 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6420 (posix_fallocate): Likewise.
6421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6422 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6423 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6424 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6425 (elf_machine_rela, elf_machine_rela_relative)
6426 (elf_machine_lazy_rel): Likewise.
6427 * time/asctime.c (asctime_internal): Likewise.
6428 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6429 * time/tzset.c (__tzset_parse_tz): Likewise.
6430 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6431 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6432 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6433 * wcsmbs/wcsmbsload.h: Likewise.
6436 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6438 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6439 (arena_get2): Remove THREAD_STATS conditionals.
6440 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6441 (__malloc_stats, int): Likewise.
6443 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6445 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6446 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6448 * manual/setjmp.texi: Fix typos/grammar errors.
6450 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6451 Only return early when n is <= 0. Delete unused return statement.
6453 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6454 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6455 * debug/tst-longjmp_chk3.c: New file.
6457 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6458 (test_main): Replace code with set_fortify_handler call.
6459 * debug/test-strcpy_chk.c: Likewise.
6460 * debug/tst-chk1.c: Likewise.
6461 * debug/tst-longjmp_chk.c: Likewise.
6462 * test-skeleton.c: Include fcntl.h & paths.h
6463 (set_fortify_handler): Define.
6465 * debug/tst-longjmp_chk.c: Add header comment and include
6467 (do_test): Mark static.
6468 (TEST_FUNCTION): Define.
6470 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6471 (IP_PMTUDISC_INTERFACE): Likewise.
6472 (IP_MULTICAST_IF): Likewise.
6473 (IP_MULTICAST_TTL): Likewise.
6474 (IP_MULTICAST_LOOP): Likewise.
6475 (IP_ADD_MEMBERSHIP): Likewise.
6476 (IP_DROP_MEMBERSHIP): Likewise.
6477 (IP_UNBLOCK_SOURCE): Likewise.
6478 (IP_BLOCK_SOURCE): Likewise.
6479 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6480 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6481 (IP_MSFILTER): Likewise.
6482 (MCAST_JOIN_GROUP): Likewise.
6483 (MCAST_BLOCK_SOURCE): Likewise.
6484 (MCAST_UNBLOCK_SOURCE): Likewise.
6485 (MCAST_LEAVE_GROUP): Likewise.
6486 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6487 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6488 (MCAST_MSFILTER): Likewise.
6489 (IP_MULTICAST_ALL): Likewise.
6490 (IP_UNICAST_IF): Likewise.
6492 * timezone/Makefile: Delete $(have-ksh) check.
6493 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6494 * timezone/tzselect.ksh: Add +x mode bits.
6496 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6497 (ANON_INODE_FS_MAGIC): Likewise.
6498 (BDEVFS_MAGIC): Likewise.
6499 (BINFMTFS_MAGIC): Likewise.
6500 (BTRFS_TEST_MAGIC): Likewise.
6501 (CRAMFS_MAGIC_WEND): Likewise.
6502 (DEBUGFS_MAGIC): Likewise.
6503 (ECRYPTFS_SUPER_MAGIC): Likewise.
6504 (EXT3_SUPER_MAGIC): Likewise.
6505 (EXT4_SUPER_MAGIC): Likewise.
6506 (FUTEXFS_SUPER_MAGIC): Likewise.
6507 (HOSTFS_SUPER_MAGIC): Likewise.
6508 (HUGETLBFS_MAGIC): Likewise.
6509 (MINIX3_SUPER_MAGIC): Likewise.
6510 (MTD_INODE_FS_MAGIC): Likewise.
6511 (NILFS_SUPER_MAGIC): Likewise.
6512 (OPENPROM_SUPER_MAGIC): Likewise.
6513 (PIPEFS_MAGIC): Likewise.
6514 (PSTOREFS_MAGIC): Likewise.
6515 (QNX6_SUPER_MAGIC): Likewise.
6516 (RAMFS_MAGIC): Likewise.
6517 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6518 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6519 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6520 (SECURITYFS_MAGIC): Likewise.
6521 (SELINUX_MAGIC): Likewise.
6522 (SMACK_MAGIC): Likewise.
6523 (SOCKFS_MAGIC): Likewise.
6524 (SQUASHFS_MAGIC): Likewise.
6525 (STACK_END_MAGIC): Likewise.
6526 (TMPFS_MAGIC): Likewise.
6527 (USBDEVICE_SUPER_MAGIC): Likewise.
6528 (V9FS_MAGIC): Likewise.
6529 (XENFS_SUPER_MAGIC): Likewise.
6530 (CRAMFS_MAGIC): Fix typo in comment.
6531 (EXT2_SUPER_MAGIC): Update comment.
6532 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6534 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6537 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6538 * sysdeps/unix/sysv/linux/arm: Move directory from
6539 ports/sysdeps/unix/sysv/linux/arm.
6540 * README: Update listing for arm-*-linux-gnueabi.
6542 * README: Remove mention of am33.
6544 2014-02-07 Roland McGrath <roland@hack.frob.com>
6546 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6547 than the comma operator, to avoid "rhs of comma has no effect"
6549 (__sigfillset, __sigandset, __sigorset): Likewise.
6550 * include/signal.h (__sigemptyset): Likewise.
6551 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6553 2014-02-07 Allan McRae <allan@archlinux.org>
6555 * version.h (RELEASE): Set to "development".
6556 (VERSION): Set to "2.19.90"
6557 * NEWS: Add 2.20 section.
6559 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6562 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6564 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6566 * manual/contrib.texi: Update entry for Carlos O'Donell,
6567 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6569 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6571 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6573 * sysdeps/unix/sysv/linux/kernel-features.h
6574 [__LINUX_KERNEL_VERSION >= 0x020621]
6575 (__ASSUME_PROC_PID_TASK_COMM): Define.
6577 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6580 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6581 conversion when destination buffer does not have enough space.
6582 * libio/tst-ftell-partial-wide.c: New test case.
6583 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6585 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6586 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6587 Leonard and Allan McRae.
6589 2014-02-04 David S. Miller <davem@davemloft.net>
6591 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6594 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6623 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6625 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6626 * shlib-versions: Likewise.
6628 2014-02-04 Roland McGrath <roland@hack.frob.com>
6629 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6632 (abilist-pattern): New variable, set to %-le.abilist.
6634 * Makerules (abilist-pattern): New variable.
6635 (vpath): Use $(abilist-pattern) in place of %.abilist.
6636 (check-abi-% pattern rule): Likewise.
6637 (check-abi, update-abi): Likewise.
6639 2014-02-04 Eric Wong <normalperson@yhbt.net>
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6643 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6645 * manual/startup.texi: Add next, previous, and top entries for
6646 the `Program Arguments' and `Environment Variables' nodes.
6648 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6650 * manual/macros.texi: Add comments before MTASC-safety macros.
6652 * manual/users.texi: Document MTASC-safety properties.
6654 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6655 (pthread_getspecific, pthread_setspecific): Format with
6656 @deftypefun, and add @safety note.
6657 * manual/signal.texi: Move comments that analyze the above
6658 functions to their home place.
6660 2014-02-03 Allan McRae <allan@archlinux.org>
6662 * po/sl.po: Update Slovenian translation from translation project.
6664 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6666 * manual/time.texi (timegm): Add missing blank after @c.
6667 Reported by Joseph Myers <joseph@codesourcery.com>.
6669 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6671 * manual/check-safety.sh: New.
6672 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6674 * manual/terminal.texi: Document MTASC-safety properties.
6676 * manual/filesys.texi: Document MTASC-safety properties.
6678 * manual/errno.texi: Document MTASC-safety properties.
6680 * manual/intro.texi: Document safety identifiers and
6683 * manual/string.texi (wcstok): Fix prototype.
6684 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6686 * manual/time.texi: Document MTASC-safety properties.
6688 * manual/string.texi: Document MTASC-safety properties.
6690 * manual/threads.texi: Document MTASC-safety properties.
6692 * manual/stdio.texi: Document MTASC-safety properties.
6694 * manual/syslog.texi: Document MTASC-safety properties.
6696 * manual/sysinfo.texi: Document MTASC-safety properties.
6698 * manual/startup.texi: Document MTASC-safety properties.
6700 * manual/socket.texi: Document MTASC-safety properties.
6702 * manual/signal.texi: Document MTASC-safety properties.
6704 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6706 * manual/setjmp.texi: Document MTASC-safety properties.
6708 * manual/search.texi: Document MTASC-safety properties.
6710 * manual/resource.texi: Document MTASC-safety properties.
6712 * manual/process.texi: Document MTASC-safety properties.
6714 * manual/platform.texi: Document MTASC-safety properties.
6716 * manual/pipe.texi: Document MTASC-safety properties.
6718 * manual/pattern.texi: Document MTASC-safety properties.
6720 * manual/message.texi: Document MTASC-safety properties.
6723 * manual/memory.texi: Document MTASC-safety properties.
6725 * manual/math.texi: Document MTASC-safety properties.
6727 * manual/locale.texi: Document MTASC-safety properties.
6729 * manual/llio.texi: Document MTASC-safety properties.
6731 * manual/libdl.texi: New.
6733 * manual/lang.texi: Document MTASC-safety properties.
6735 * manual/job.texi: Document MTASC-safety properties.
6737 * manual/getopt.texi: Document MTASC-safety properties.
6739 * manual/ctype.texi: Document MTASC-safety properties.
6741 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6744 * csu/libc-tls.c (static_map): Remove variable.
6745 (__libc_setup_tls): Use main executable's link map for TLS data.
6746 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6747 casing for LM_ID_BASE and GL(dl_nns).
6748 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6749 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6750 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6751 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6752 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6754 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6757 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6759 * manual/debug.texi: Document MTASC-safety properties.
6761 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6764 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6765 of __x86_64__ when disabling x87 inline functions.
6767 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6769 * manual/charset.texi: Document MTASC-safety properties.
6771 * manual/crypt.texi: Document MTASC-safety properties.
6773 * manual/conf.texi: Document MTASC-safety properties.
6775 * manual/arith.texi: Document MTASC-safety properties.
6777 * manual/argp.texi: Document MTASC-safety properties.
6779 * manual/macros.texi: Introduce macros to document multi
6780 thread, asynchronous signal and asynchronous cancellation
6782 * manual/intro.texi: Introduce the properties themselves.
6784 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6786 * sysdeps/sh/sh4/Makefile: New file.
6788 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6790 * math/gen-libm-test.pl ($srcdir): New variable.
6791 ($auto_input): Use it.
6793 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6796 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6797 access beyond array bounds when parsing netgroups file.
6799 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6800 the old buffer before realloc.
6802 2014-01-27 Allan McRae <allan@archlinux.org>
6804 * po/fr.po: Update French translation from translation project.
6806 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6808 * sysdeps/sh/libm-test-ulps: Regenerate.
6810 2014-01-24 David S. Miller <davem@davemloft.net>
6812 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6814 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6816 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6817 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6819 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6823 string pointers after reallocation.
6825 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6827 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6828 __SH4A__ instead of __SH_FPU_ANY__.
6830 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6832 * sysdeps/sh/fpu_control.h: New file.
6833 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6834 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6835 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6836 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6837 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6838 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6839 * sysdeps/sh/sys/ucontext.h: Remove.
6840 * sysdeps/sh/sys: Remove directory.
6842 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6844 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6845 s390/sys/ucontext.h.
6846 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6847 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6849 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6852 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6854 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6858 Adjust the vDSO correctly for internal calls.
6859 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6861 2014-01-20 Allan McRae <allan@archlinux.org>
6863 * po/ca.po: Update Catalan translation from translation project.
6865 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6867 * sysdeps/s390/sotruss-lib.c: New file.
6869 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6873 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6874 local calls issues by not having a PLT stub required for IFUNC calls.
6875 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6877 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6879 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6880 * math/test-fpucw-static.c: Likewise.
6882 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6885 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6887 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6890 implementation for powerpc.
6892 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6895 * sysdeps/posix/system.c (__libc_system): Do not enable
6896 asynchronous cancellation.
6898 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6901 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6902 handling only for numbers special also in the IEEE case.
6904 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6906 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6908 2014-01-11 Allan McRae <allan@archlinux.org>
6910 * po/bg.po: Update Bulgarian translation from translation project.
6912 * po/de.po: Update German translation from translation project.
6914 2014-01-10 Roland McGrath <roland@hack.frob.com>
6916 * sysdeps/generic/gcc-compat.h: New file.
6918 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6920 * benchtests/asin-inputs: Correct slow inputs.
6921 * benchtests/acos-inputs: Likewise.
6923 2014-01-10 Allan McRae <allan@archlinux.org>
6925 * po:sv.po: Update Swedish translation from translation project.
6927 * po/vi.po: Update Vietnamese translation from translation project.
6929 * po/eo.po: Update Esperanto translation from translation project.
6931 * po/cs.po: Update Czech translation from translation project.
6933 * po/nl.po: Update Dutch translation from translation project.
6935 * po/pl.po: Update Polish translation from translation project.
6937 * po/ru.po: Update Russian translation from translation project.
6939 * po/uk.po: Update Ukrainian translation from translation project.
6941 2014-01-08 Brooks Moses <bmoses@google.com>
6943 * elf/dl-load.c: Fix comment typo.
6945 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6947 * po/header.pot: Rename to...
6948 * po/pot.header: ... this.
6949 * po/Makefile: Use pot.header.
6951 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6952 Maxim Kuvyrkov <maxim@kugelworks.com>
6955 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6956 SRC and DEST against LEN.
6958 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6961 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6963 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6965 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6969 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6972 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6973 for large positive arguments.
6975 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6977 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6979 * math/auto-libm-test-in: Mark various tests with
6980 xfail-rounding:ldbl-128ibm.
6981 * math/auto-libm-test-out: Regenerated.
6984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6985 Increase overflow threshold.
6987 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6990 * stdio-common/vfprintf.c: Check for integer overflow.
6992 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6994 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6995 the first argument and return value of __tls_get_addr_internal.
6997 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6999 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7000 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7002 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7004 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7005 * sysdeps/s390/rtld-global-offsets.sym: New file.
7006 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7008 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7010 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7012 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7020 halfs of GPRs for high_gprs contexts.
7021 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7022 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7028 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7029 for high GPRs (uc_high_gprs) and for future extensions
7031 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7032 for future extensions (__reserved).
7033 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7035 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7036 SC_HIGHGPRS offset definition.
7037 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7038 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7040 * Versions.def: Add GLIBC_2.19 for libpthread.
7041 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7042 siglongjmp for libpthread with GLIBC_2.19 symver.
7043 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7044 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7045 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7046 * sysdeps/s390/__longjmp.c: New file.
7047 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7048 * sysdeps/s390/longjmp.c: New file.
7049 * sysdeps/s390/setjmp.S: New file.
7050 * sysdeps/s390/sigjmp.S: New file.
7051 * sysdeps/s390/v1-longjmp.c: New file.
7052 * sysdeps/s390/v1-setjmp.h: New file.
7053 * sysdeps/s390/v1-sigjmp.c: New file.
7054 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7055 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7057 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7058 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7059 versioned symbols for ____longjmp_chk.
7060 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7070 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7071 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7072 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7073 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7074 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7075 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7076 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7077 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7078 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7079 * sysdeps/s390/rtld-__longjmp.c: New file.
7080 * sysdeps/s390/rtld-setjmp.S: New file.
7082 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7085 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7086 Return -__logl (x) for small positive arguments without evaluating
7089 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7091 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7093 (__ptrace_peeksiginfo_args): ... this.
7094 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7096 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7098 2014-01-06 Allan McRae <allan@archlinux.org>
7100 * inet/netinet/in.h: Fix typo in comment.
7102 2014-01-05 Andreas Jaeger <aj@suse.de>
7104 * sysdeps/i386/fpu/libm-test-ulps: Update.
7106 2014-01-05 Allan McRae <allan@archlinux.org>
7108 * po/libc.pot: Regenerated.
7110 * malloc/memusagestat.c: Fix gettext call formatting.
7112 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7114 * nscd/nscd.c: Improve usage() output.
7116 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7118 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7119 * sysdeps/unix/sysv/linux/configure: Regenerated.
7120 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7121 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7123 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7126 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7127 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7129 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7132 extra tokens at end of #undef directive.
7133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7134 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7135 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7137 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7139 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7141 * math/auto-libm-test-in: Mark various tests with
7142 xfail-rounding:ldbl-128ibm.
7143 * math/auto-libm-test-out: Regenerated.
7145 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7148 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7149 numbers with subnormal high part when calculating exponent.
7152 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7158 (__ieee754_acoshl): Use __log1pl not __log1p.
7160 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7162 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7163 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7164 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7165 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7166 (reused_arena, arena_get2): Convert to GNU style.
7167 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7168 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7169 (memalign_check, __malloc_set_state): Likewise.
7170 * malloc/mallocbug.c (main): Likewise.
7171 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7172 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7173 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7174 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7175 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7176 (__posix_memalign, malloc_info): Likewise.
7177 * malloc/malloc.h: Likewise.
7178 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7179 (mallochook, memalignhook, reallochook, mabort): Likewise.
7180 * malloc/mcheck.h: Likewise.
7181 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7182 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7183 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7184 * malloc/morecore.c (__default_morecore): Likewise.
7185 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7186 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7187 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7188 (print_and_abort): Likewise.
7189 * malloc/obstack.h: Likewise.
7190 * malloc/set-freeres.c (__libc_freeres): Likewise.
7191 * malloc/tst-mallocstate.c (main): Likewise.
7192 * malloc/tst-mtrace.c (main): Likewise.
7193 * malloc/tst-realloc.c (do_test): Likewise.
7195 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7198 * nscd/netgroupcache.c (do_notfound): New function.
7199 (addgetnetgrentX): Use it.
7202 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7203 NSS_STATUS_NOTFOUND.
7205 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7207 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210 2014-01-01 Allan McRae <allan@archlinux.org>
7212 * scripts/update-copyrights: Update configure input file suffix.
7214 * NEWS: Update copyright year.
7215 * catgets/gencat.c: Likewise.
7216 * csu/version.c: Likewise.
7217 * debug/catchsegv.sh: Likewise.
7218 * debug/pcprofiledump.c: Likewise.
7219 * debug/xtrace.sh: Likewise.
7220 * elf/ldconfig.c: Likewise.
7221 * elf/ldd.bash.in: Likewise.
7222 * elf/pldd.c: Likewise.
7223 * elf/sotruss.ksh: Likewise.
7224 * elf/sprof.c: Likewise.
7225 * iconv/iconv_prog.c: Likewise.
7226 * iconv/iconvconfig.c: Likewise.
7227 * locale/programs/locale.c: Likewise.
7228 * locale/programs/localedef.c: Likewise.
7229 * login/programs/pt_chown.c: Likewise.
7230 * malloc/memusage.sh: Likewise.
7231 * malloc/memusagestat.c: Likewise.
7232 * malloc/mtrace.pl: Likewise.
7233 * manual/libc.texinfo: Likewise.
7234 * nscd/nscd.c: Likewise.
7235 * nss/getent.c: Likewise.
7236 * nss/makedb.c: Likewise.
7237 * posix/getconf.c: Likewise.
7238 * scripts/test-installation.pl: Likewise.
7240 * All files with FSF copyright notices: Update copyright dates
7241 using scripts/update-copyrights.
7242 * intl/plural.c: Regenerated.
7243 * locale/programs/charmap-kw.h: Likewise.
7244 * locale/programs/locfile-kw.h: Likewise.
7246 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7248 * sysdeps/unix/sysv/linux/configure: Regenerated.
7249 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7250 the linux/fanotify.h header.
7251 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7252 HAVE_LINUX_FANOTIFY_H is defined.
7254 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7256 * benchtests/cos-inputs: New inputs.
7257 * benchtests/sin-inputs: Likewise.
7259 * benchtests/atan-inputs: New inputs. Fix name of multiple
7260 precision fallback inputs.
7262 * benchtests/atanh-inputs: New inputs.
7263 * benchtests/tanh-inputs: Likewise.
7265 * benchtests/acosh-inputs: New inputs.
7266 * benchtests/asinh-inputs: Likewise.
7268 * benchtests/cosh-inputs: New inputs.
7269 * benchtests/sinh-inputs: Likewise.
7271 * benchtests/acos-inputs: Add more inputs.
7272 * benchtests/asin-inputs: Likewise.
7274 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7277 * manual/arith.texi: Fix spelling.
7278 * manual/charset.texi: Likewise.
7279 * manual/errno.texi: Likewise.
7280 * manual/filesys.texi: Likewise.
7281 * manual/lang.texi: Likewise.
7282 * manual/llio.texi: Likewise.
7283 * manual/locale.texi: Likewise.
7284 * manual/message.texi: Likewise.
7285 * manual/resource.texi: Likewise.
7286 * manual/search.texi: Likewise.
7287 * manual/setjmp.texi: Likewise.
7288 * manual/stdio.texi: Likewise.
7289 * manual/string.texi: Likewise.
7290 * manual/sysinfo.texi: Likewise.
7291 * manual/time.texi: Likewise.
7293 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7295 * po/sl.po: New file.
7297 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7299 * .gitignore: Add core/.gdbinit/.gdb_history.
7301 2013-12-27 Allan McRae <allan@archlinux.org>
7304 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7305 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7307 2013-12-24 Brooks Moses <bmoses@google.com>
7309 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7310 all compilers that claim C++98 compliance, not just GCC.
7311 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7314 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7316 * NEWS: Restore accidentally deleted bug-fix entries.
7318 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7319 Ondřej Bílka <neleai@seznam.cz>
7322 * malloc/malloc.c (_int_free): Perform sanity check only if we
7325 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7328 * manual/stdio.texi (String Input Conversions): Clarify that character
7329 classes are not supported.
7331 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7335 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7339 Calculate results for small negative arguments directly rather
7340 than using reflection formula with special underflow handling.
7342 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7343 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7344 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7345 (fchflags): Likewise.
7347 (setlogin): Likewise.
7348 (sigaltstack): Likewise.
7351 (sigsetmask): Likewise.
7353 (waitpid): Likewise.
7354 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7355 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7357 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7358 * sysdeps/unix/bsd/Makefile: ... here.
7359 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7360 * sysdeps/unix/bsd/Versions: ... here.
7361 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7362 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7363 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7364 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7365 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7366 * sysdeps/unix/bsd/sigblock.c: ... here.
7367 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7368 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7369 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7370 * sysdeps/unix/bsd/sigvec.c: ... here.
7371 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7372 * sysdeps/unix/bsd/tcdrain.c: ... here.
7373 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7374 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7375 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7376 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7377 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7378 * sysdeps/unix/bsd/wait.c: ... here.
7379 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7380 * sysdeps/unix/bsd/wait3.c: ... here.
7381 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7382 * sysdeps/unix/bsd/waitpid.c: ... here.
7384 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7388 round-to-nearest for [!USE_AS_EXPM1L].
7389 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7390 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7391 more tests of exp and exp10. Expect some exp10 tests to miss
7392 exceptions or fail in directed rounding modes.
7393 * math/auto-libm-test-out: Regenerated.
7394 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7395 (exp10_test_tonearest): New function.
7396 (exp10_towardzero_test_data): New array.
7397 (exp10_test_towardzero): New function.
7398 (exp10_downward_test_data): New array.
7399 (exp10_test_downward): New function.
7400 (exp10_upward_test_data): New array.
7401 (exp10_test_upward): New function.
7402 (main): Call the new functions.
7403 * sysdeps/i386/fpu/libm-test-ulps: Update.
7404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7408 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7409 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7410 * math/auto-libm-test-out: Regenerated.
7411 * math/libm-test.inc (acosh_test_data): Add more tests.
7412 (atanh_test_data): Likewise.
7413 (ceil_test_data): Likewise.
7414 (copysign_test_data): Likewise.
7415 * sysdeps/i386/fpu/libm-test-ulps: Update.
7416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418 * timezone/checktab.awk: Update from tzcode 2013i.
7419 * timezone/private.h: Likewise.
7420 * timezone/scheck.c: Likewise.
7421 * timezone/tzfile.h: Likewise.
7422 * timezone/tzselect.ksh: Likewise.
7423 * timezone/zdump.c: Likewise.
7424 * timezone/zic.c: Likewise.
7426 * math/auto-libm-test-in: Add tests of cpow.
7427 * math/auto-libm-test-out: Regenerated.
7428 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7429 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7431 (func_calc_desc): Add mpc_cc_c union field.
7432 (test_functions): Add cpow.
7433 (special_fill_2pi): New function.
7434 (special_real_inputs): Add 2pi.
7435 (calc_generic_results): Handle mpc_cc_c.
7436 * sysdeps/i386/fpu/libm-test-ulps: Update.
7437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7439 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7440 csqrt, ctan and ctanh.
7441 * math/auto-libm-test-out: Regenerated.
7442 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7443 (TEST_COND_x86): Likewise.
7444 (ccos_test_data): Use AUTO_TESTS_c_c.
7445 (ccosh_test_data): Likewise.
7446 (cexp_test_data): Likewise.
7447 (clog_test_data): Likewise.
7448 (csqrt_test_data): Likewise.
7449 (ctan_test_data): Likewise.
7450 (ctan_tonearest_test_data): Likewise.
7451 (ctan_towardzero_test_data): Likewise.
7452 (ctan_downward_test_data): Likewise.
7453 (ctan_upward_test_data): Likewise.
7454 (ctanh_test_data): Likewise.
7455 (ctanh_tonearest_test_data): Likewise.
7456 (ctanh_towardzero_test_data): Likewise.
7457 (ctanh_downward_test_data): Likewise.
7458 (ctanh_upward_test_data): Likewise.
7459 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7461 (func_calc_desc): Add mpc_c_c union field.
7462 (FUNC_mpc_c_c): New macro.
7463 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7464 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7466 (special_fill_min_subnorm_p120): New function.
7467 (special_real_inputs): Add min_subnorm_p120.
7468 (calc_generic_results): Handle mpc_c_c.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update.
7470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7472 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7474 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7475 (do_sin_slow): New functions.
7476 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7477 (cslow2, csloww1, csloww2): Use the new functions.
7479 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7480 Use M to change sign of result instead of X. Assume X is
7482 (csloww1): Likewise.
7486 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7493 (sloww1): Don't adjust sign of DX.
7494 (csloww1): Likewise.
7495 (sloww2): Use X directly and don't adjust sign of DX.
7496 (csloww2): Likewise.
7498 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7500 * math/auto-libm-test-in: Add tests of cabs and carg.
7501 * math/auto-libm-test-out: Regenerated.
7502 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7503 (carg_test_data): Likewise.
7504 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7506 (func_calc_desc): Add mpc_c_f union field.
7507 (test_functions): Add cabs and carg.
7508 (calc_generic_results): Handle mpc_c_f.
7510 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7511 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7512 as a macro and a compat symbol.
7513 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7514 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7515 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7516 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7517 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7518 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7520 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7522 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7524 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7526 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7528 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7530 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7531 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7534 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7538 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7540 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7541 trailing whitespace removed.
7542 * scripts/config.guess: Update to version 2013-11-29.
7543 * scripts/config.sub: Update to version 2013-10-01.
7545 * math/auto-libm-test-in: Add tests of sincos.
7546 * math/auto-libm-test-out: Regenerated.
7547 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7550 (func_calc_desc): Add mpfr_f_11 union field.
7551 (test_functions): Add sincos.
7552 (calc_generic_results): Handle mpfr_f_11.
7553 * sysdeps/i386/fpu/libm-test-ulps: Update.
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556 2013-12-19 Andreas Schwab <schwab@suse.de>
7558 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7561 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7562 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7564 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7566 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7572 round-to-nearest mode when using frndint.
7573 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7574 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7577 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7579 * math/auto-libm-test-out: Regenerated.
7580 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7581 (TEST_COND_x86): Likewise.
7582 (expm1_tonearest_test_data): New array.
7583 (expm1_test_tonearest): New function.
7584 (expm1_towardzero_test_data): New array.
7585 (expm1_test_towardzero): New function.
7586 (expm1_downward_test_data): New array.
7587 (expm1_test_downward): New function.
7588 (expm1_upward_test_data): New array.
7589 (expm1_test_upward): New function.
7590 (main): Run the new test functions.
7591 * sysdeps/i386/fpu/libm-test-ulps: Update.
7592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7594 * include/features.h: Update comment documenting feature test
7595 macros. Mention _DEFAULT_SOURCE in comment.
7596 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7597 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7598 _BSD_SOURCE and _SVID_SOURCE.
7599 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7600 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7601 !_SVID_SOURCE]: Likewise.
7602 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7603 (__USE_POSIX_IMPLICITLY): Define.
7604 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7605 (_POSIX_SOURCE): Undefine and redefine.
7606 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7607 (_POSIX_C_SOURCE): Likewise.
7608 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7609 (Feature Test Macros): Update documentation of default features.
7611 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7613 * benchtests/Makefile: Add bench-strtok.
7614 * benchtests/bench-strtok.c: New file: strtok benchtest.
7616 2013-12-19 Allan McRae <allan@archlinux.org>
7618 * manual/install.texi: Suppress menu for plain text output.
7619 * INSTALL: Regenerated.
7621 2013-12-18 Brooks Moses <bmoses@google.com>
7624 * misc/getauxval.c: Include errno.h.
7625 (__getauxval): Set errno to ENOENT if the requested type is not
7627 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7628 don't declare with __attribute_const__.
7629 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7630 * manual/startup.texi: Document that getauxval sets errno.
7632 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7634 * math/auto-libm-test-in: Add tests of jn and yn.
7635 * math/auto-libm-test-out: Regenerated.
7636 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7637 (yn_test_data): Likewise.
7638 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7640 (func_calc_desc): Add mpfr_if_f union field.
7641 (FUNC_mpfr_if_f): New macro.
7642 (test_functions): Add jn and yn.
7643 (calc_generic_results): Assert type of second input for
7644 mpfr_ff_f. Handle mpfr_if_f.
7645 (output_for_one_input_case): Disable all checking for arguments
7646 fitting floating-point types in case of an integer argument.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7651 Don't expect fegetround reference in libm.so.
7653 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7655 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7656 $(config-cflags-nofma).
7658 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7660 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7661 * math/auto-libm-test-out: Regenerated.
7664 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7665 to determine exponent and adjust argument to have exponent of -1.
7666 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7668 * math/auto-libm-test-out: Regenerated.
7669 * sysdeps/i386/fpu/libm-test-ulps: Update.
7670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7674 * manual/probes.texi: Remove cases when per-thread arenas are
7677 2013-12-18 Andreas Schwab <schwab@suse.de>
7679 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7680 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7681 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7682 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7683 * sysdeps/i386/i686/multiarch/Makefile: Update.
7684 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7686 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7688 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7689 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7691 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7694 Support TZ transition times < 00:00:00.
7695 This is needed for version-3 tz-format files; it supports time
7696 stamps past 2037 for America/Godthab (the only entry in the tz
7697 database for which this change is relevant).
7698 * manual/time.texi (TZ Variable): Document transition times
7699 from -167:59:59 through -00:00:01.
7700 * time/tzset.c (tz_rule): Time of day is now signed.
7701 (__tzset_parse_tz): Parse negative time of day.
7703 Document TZ transition times >= 25:00:00.
7704 * manual/time.texi (TZ Variable): Document transition times from
7705 25:00:00 through 167:59:59. These are already supported, and this
7706 support will help with version-3 tz-format files.
7708 * manual/time.texi (TZ Variable): Modernize North America example
7709 to reflect current (i.e., 2007-and-later) daylight saving rules.
7711 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7713 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7715 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7716 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7718 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7719 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7720 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7721 * sysdeps/unix/bsd/clock.c: Likewise.
7722 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7723 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7724 * sysdeps/unix/bsd/init-posix.c: Likewise.
7725 * sysdeps/unix/bsd/poll.c: Likewise.
7726 * sysdeps/unix/bsd/ptsname.c: Likewise.
7727 * sysdeps/unix/bsd/seekdir.c: Likewise.
7728 * sysdeps/unix/bsd/setegid.c: Likewise.
7729 * sysdeps/unix/bsd/seteuid.c: Likewise.
7730 * sysdeps/unix/bsd/setgid.c: Likewise.
7731 * sysdeps/unix/bsd/setrgid.c: Likewise.
7732 * sysdeps/unix/bsd/setruid.c: Likewise.
7733 * sysdeps/unix/bsd/setsid.c: Likewise.
7734 * sysdeps/unix/bsd/setuid.c: Likewise.
7735 * sysdeps/unix/bsd/sigaction.c: Likewise.
7736 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7737 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7738 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7739 * sysdeps/unix/bsd/telldir.c: Likewise.
7740 * sysdeps/unix/bsd/times.c: Likewise.
7741 * sysdeps/unix/bsd/usleep.c: Likewise.
7743 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7744 ($(objpfx)libbsd-compat.a): Remove rule.
7746 * include/features.h (__FAVOR_BSD): Do not define.
7747 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7748 features conflicting with POSIX.
7749 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7750 (_BSD_SOURCE): Remove description of not being a subset of other
7751 feature test macros.
7752 * manual/job.texi (getpgrp): Do not document BSD version.
7753 (getpgid): Do not document by reference to BSD getpgrp.
7754 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7755 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7756 * signal/signal.h [__FAVOR_BSD]: Likewise.
7757 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7758 instead of making contents conditional on [__FAVOR_BSD].
7759 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7761 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7765 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7769 values below 2**-450, not 2**-500.
7770 * math/auto-libm-test-in: Don't allow spurious underflow from
7772 * math/auto-libm-test-out: Regenerated.
7776 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7777 values of ha and hb and sort them after adjusting subnormal
7779 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7781 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7782 values of ea and eb and sort them after adjusting subnormal
7784 * math/auto-libm-test-in: Do not expect some hypot tests of
7785 subnormals to fail. Add more hypot tests.
7786 * math/auto-libm-test-out: Regenerated.
7788 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7791 * sysdeps/sh/s_fma.c: New file.
7792 * sysdeps/sh/s_fmaf.c: New file.
7793 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7795 * sysdeps/sh/Implies: Add sh/soft-fp.
7797 2013-12-16 Roland McGrath <roland@hack.frob.com>
7799 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7800 level of indirection to members `objname', `errstring', `malloced'.
7801 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7802 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7803 it as the __longjmp argument (just pass 1 instead).
7804 (_dl_catch_error): Initialize C with argument pointers and address of
7805 volatile local ERRCODE rather than copying values out of C at return.
7807 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7809 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7810 * math/auto-libm-test-out: Regenerated.
7811 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7812 (hypot_test_data): Likewise.
7813 (pow_test_data): Likewise.
7814 (pow_tonearest_test_data): Likewise.
7815 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7817 (func_calc_desc): Add mpfr_ff_f union field.
7818 (FUNC_mpfr_ff_f): New macro.
7819 (test_functions): Add atan2, hypot and pow.
7820 (special_fill_min): New function.
7821 (special_fill_minus_min): Likewise.
7822 (special_fill_min_subnorm): Likewise.
7823 (special_fill_minus_min_subnorm): Likewise.
7824 (special_real_inputs): Add min, -min, min_subnorm and
7826 (calc_generic_results): Handle mpfr_ff_f.
7827 * sysdeps/i386/fpu/libm-test-ulps: Update.
7828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830 2013-12-16 Will Newton <will.newton@linaro.org>
7832 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7833 (Aligned Memory Blocks): Add documentation for aligned_alloc
7834 and suggest it as an alternative to posix_memalign.
7835 (Hooks for Malloc): Document __memalign_hook is also called
7836 for aligned_alloc. (Summary of Malloc): Add summary for
7837 aligned alloc. Document __memalign_hook is also called
7840 2013-12-16 Will Newton <will.newton@linaro.org>
7842 * manual/memory.texi (Malloc Examples): Clarify default
7843 alignment documentation. Suggest posix_memalign rather
7844 than memalign or valloc.
7845 (Aligned Memory Blocks): Remove suggestion to use memalign
7846 or valloc. Remove obsolete comment about BSD.
7847 Document memalign errno values and mark the function obsolete.
7848 Document posix_memalign returned error codes. Mark valloc
7849 as obsolete. (Hooks for Malloc): __memalign_hook is also
7850 called for posix_memalign and valloc.
7851 (Summary of Malloc): Add posix_memalign to function summary.
7852 __memalign_hook is also called for posix_memalign and valloc.
7854 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7856 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7860 (sloww): Use mynumber union. Expand ternary operator into
7862 (cslow): use mynumber union.
7864 2013-12-16 Allan McRae <allan@archlinux.org>
7866 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7867 * configure: Regenerated.
7869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7872 * configure.ac: Added --enable-maintainer-mode. Check for
7873 autoconf when enabled.
7874 * configure: Regenerated.
7876 * nscd/nscd.service: New file.
7877 * nscd/nscd.tmpfiles: New file.
7879 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7882 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7883 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7884 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7885 (strstr): Add __strstr_sse2_unaligned ifunc.
7886 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7887 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7888 (strcasestr): Remove __strcasestr_sse42 ifunc.
7889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7893 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7895 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7896 * sysdeps/sh/bits/fenv.h: ... here.
7897 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7899 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7901 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7904 hypotf multiarch implementations.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7907 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7908 multiarch hypot for PPC64.
7909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7910 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7912 multiarch hypotf for PPC64.
7914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7915 modff multiarch implementations.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7919 multiarch modf for PPC64.
7920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7923 multiarch modff for PPC64.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7926 and logl multiarch implementations.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7930 multiarch logb for PPC64.
7931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7934 multiarch logb for PPC64.
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7938 multiarch logb for PPC64.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7941 isinff multiarch implementation.
7942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7946 multiarch isinf for PPC64.
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7950 multiarch isinff for PPC64.
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7953 finitef multiarch implementation.
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7958 multiarch finite for PPC64.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7962 multiarch finitef for PPC64.
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7965 lrint multiarch implementation.
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7970 multiarch llrint for PPC64.
7971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7972 multiarch lrint for PPC64.
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7975 copysignf multiarch implementation.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7981 multiarch copysign for PPC64.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7983 multiarch copysignf for PPC64.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7986 multiarch implementation.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7995 multiarch llround for PPC64.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7997 multiarch trunc for PPC64.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7999 multiarch truncf for PPC64.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8002 multiarch implementation.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8011 multiarch llround for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8013 multiarch round for PPC64.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8015 multiarch roundf for PPC64.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8018 multiarch implementation.
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8027 multiarch llround for PPC64.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8029 multiarch floor for PPC64.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8031 multiarch floorf for PPC64.
8033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8034 multiarch implementation.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8043 multiarch llround for PPC64.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8045 multiarch ceil for PPC64.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8047 multiarch ceilf for PPC64.
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8050 multiarch implementation.
8051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8058 multiarch llround for PPC64.
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8060 multiarch lround for PPC64.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8063 multiarch implementation.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8071 multiarch isnan for PPC64.
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8073 multiarch isnanf for PPC64.
8075 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8076 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8077 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8078 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8079 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8082 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8083 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8088 multiarch implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8094 multiarch stpcpy for PPC64.
8096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8097 multiarch implementations.
8098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8099 (__libc_ifunc_impl_list): Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8101 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8103 multiarch strcpy for PPC64.
8105 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8106 redefine function name.
8107 (_wordcopy_fwd_dest_aligned): Likewise.
8108 (_wordcopy_bwd_aligned): Likewise.
8109 (_wordcopy_bwd_dest_aligned): Likewise.
8110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8111 multiarch implementations.
8112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8113 (__libc_ifunc_impl_list): Likewise.
8114 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8115 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8117 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8118 multiarch wcscpy for PPC64.
8120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8121 multiarch implementations.
8122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8123 (__libc_ifunc_impl_list): Likewise.
8124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8125 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8126 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8127 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8128 multiarch wcscpy for PPC64.
8130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8131 multiarch implementations.
8132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8133 (__libc_ifunc_impl_list): Likewise.
8134 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8135 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8136 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8137 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8138 multiarch wcsrchr for PPC64.
8140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8141 multiarch implementations.
8142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8143 (__libc_ifunc_impl_list): Likewise.
8144 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8145 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8146 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8147 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8148 multiarch wcschr for PPC64.
8150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8151 multiarch implementations.
8152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8153 (__libc_ifunc_impl_list): Likewise.
8154 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8155 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8156 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8157 multiarch strchrnul for PPC64.
8159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8162 (__libc_ifunc_impl_list): Likewise.
8163 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8164 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8165 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8166 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8172 (__libc_ifunc_impl_list): Likewise.
8173 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8174 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8175 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8176 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8180 multiarch implementations.
8181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8182 (__libc_ifunc_impl_list): Likewise.
8183 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8184 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8185 strncasecmp for PPC64.
8186 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8188 multiarch strncasecmp_l for PPC64.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8191 multiarch implementations.
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8193 (__libc_ifunc_impl_list): Likewise.
8194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8196 multiarch strcasecmp for PPC64.
8197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8200 multiarch strcasecmp_l for PPC64.
8202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8205 (__libc_ifunc_impl_list): Likewise.
8206 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8208 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8223 (__libc_ifunc_impl_list): Likewise.
8224 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8225 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8227 rawmemrchr for PPC64.
8229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8232 (__libc_ifunc_impl_list): Likewise.
8233 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8234 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8235 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8241 (__libc_ifunc_impl_list): Likewise.
8242 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8243 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8244 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Likewise.
8251 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8252 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8253 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8256 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8257 avoid cretion of __bzero symbol.
8258 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8260 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8262 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8265 multiarch implementations.
8266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8267 (__libc_ifunc_impl_list): Likewise.
8268 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8269 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8270 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8271 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8273 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8274 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8275 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8276 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8277 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8279 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8281 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8285 (__libc_ifunc_impl_list): Likewise.
8286 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8287 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8288 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8289 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8293 multiarch for POWER/PPC64.
8294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8295 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8302 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8305 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8306 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8307 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8309 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8310 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8311 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8312 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8313 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8314 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8315 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8316 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8317 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8318 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8319 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8328 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8332 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 * benchtests/Makefile (bench): Add exp2 and log2.
8335 (LDLIBS-bench-exp2): Add -lm.
8336 (LDLIBS-bench-log2): Likewise.
8337 * benchtests/exp2-inputs: New inputs file.
8338 * benchtests/log2-inputs: New inputs file.
8339 * benchtests/log-inputs: Add new inputs.
8340 * benchtests/tan-inputs: Likewise.
8342 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8344 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8346 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8347 (csloww2): ... from here.
8349 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8350 instead of structures.
8351 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8352 (POLYNOMIAL): Likewise.
8353 (TAYLOR_SLOW): Likewise.
8361 (bsloww1): Likewise.
8362 (bsloww2): Likewise.
8365 (csloww1): Likewise.
8366 (csloww2): Likewise.
8368 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8370 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8371 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8372 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8373 * malloc/hooks.c (realloc_check): Likewise.
8375 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8376 * malloc/arena.c: Remove PER_THREAD conditional.
8377 [!PER_THREAD]: Remove code.
8378 (ptmalloc_unlock_all2): Likewise.
8379 (ptmalloc_init): Likewise.
8380 (_int_new_arena): Likewise.
8381 (arena_get2): Likewise.
8382 * malloc/hooks.c (__malloc_get_state): Likewise.
8383 (__malloc_set_state): Likewise.
8384 * malloc/malloc.c: Likewise.
8385 (struct malloc_state): Likewise.
8386 (struct malloc_par): Likewise.
8387 (__libc_realloc): Likewise.
8388 (__libc_mallopt): Likewise.
8390 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8392 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8394 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8396 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8397 macro to a function. Check for zero perturb_byte.
8398 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8400 * malloc/malloc.c: (force_reg): Remove.
8401 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8402 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8403 force_reg by atomic_forced_read.
8404 * malloc/arena.c (ptmalloc_init): Likewise.
8405 * malloc/hooks.c (top_check): Likewise.
8407 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8411 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8415 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8417 * math/auto-libm-test-in: Add tests of lgamma.
8418 * math/auto-libm-test-out: Regenerated.
8419 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8420 (M_LOG_2_SQRT_PIl): Likewise.
8421 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8422 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8424 (func_calc_desc): Add mpfr_f_f1 union field.
8433 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8434 (test_functions): Add lgamma.
8435 (calc_generic_results): Handle mpfr_f_f1.
8436 * sysdeps/i386/fpu/libm-test-ulps: Update.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8441 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8442 __mpn_add_n for PowerPC64/POWER7.
8443 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8444 __mpn_sub_n for PowerPC64/POWER7.
8446 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8447 __mpn_addmul_1 for PowerPC64.
8448 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8449 __mpn_submul_1 for PowerPC64.
8450 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8452 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8455 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8458 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8460 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8464 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8465 add multiarch folders.
8466 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8467 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8468 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8469 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8470 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8471 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8472 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8473 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8474 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8475 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8476 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8485 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8491 multiarch __ieee754_hypot for PowerPC32.
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8497 multiarch __ieee754_hypotf for PowerPC32.
8499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8500 long_double_symbol only if __logbl is defined.
8501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8502 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8504 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8506 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8508 path for implementation.
8509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8512 logb, and logbl multiarch implementations for PowerPC32.
8513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8518 multiarch logb for PowerPC32.
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8524 multiarch logbf for PowerPC32.
8525 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8529 multiarch logbl implementation for PowerPC32.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8532 and modff multiarch implementations.
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8538 multiarch modf for PowerPC32.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8544 multiarch modff for PowerPC32.
8546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8547 and lrintf multiarch implementations.
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8553 multiarch lrint for PowerPC32.
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8555 file: multiarch lrintf for PowerPC32.
8557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8558 and lroundf multiarch implementations.
8559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8566 multiarch lround for PowerPC32.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8568 file: multiarch lroundf for PowerPC32.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8571 copysign and copysignf multiarch implementations.
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8577 file: multiarch copysign for PowerPC32.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8579 file: multiarch copysignf for PowerPC32.
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8582 and truncf multiarch implementations.
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8588 multiarch trunc for PowerPC32.
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8594 multiarch truncf for PowerPC32.
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8597 and roundf multiarch implementations.
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8603 multiarch round for PowerPC32.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8609 multiarch roundf for PowerPC32.
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8612 and floorf multiarch implementations.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8618 multiarch floor for PowerPC32.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8624 multiarch floorf for PowerPC32.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8627 and ceilf multiarch implementations.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8633 multiarch ceil for PowerPC32.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8639 multiarch ceilf for PowerPC32.
8641 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8643 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8646 and finitef multiarch implementations.
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8652 multiarch finite for PowerPC32.
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8656 file: multiarch finitef for PowerPC32.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8659 and isinff multiarch implementations.
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8665 multiarch isinf for PowerPC32.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8669 multiarch isinff for PowerPC32.
8671 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8672 alias when __isnan is defined.
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8674 and isnanf multiarch implementations.
8675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8684 multiarch isnan for PowerPC32.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8690 multiarch isnanf for PowerPC32.
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8693 and sqrtf multiarch implementations.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8699 multiarch sqrt for PowerPC32.
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8705 multiarch sqrtf for PowerPC32.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8708 and llroundf multiarch implementations.
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8716 file: multiarch llround for PowerPC32.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8718 file: multiarch llroundf for PowerPC32.
8720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8721 multiarch PowerPC32 fpu implementations.
8722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8727 multiarch llrint for PowerPC32.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8737 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8739 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8744 multiarch wordcopy for PPC32.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8748 (__libc_ifunc_impl_list): Likewise.
8749 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8750 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8752 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8754 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8756 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8764 multiarch wcscpy for PPC32.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8768 (__libc_ifunc_impl_list): Likewise.
8769 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8770 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8771 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8772 sysdeps/powerpc/power6/wcscpy.c.
8774 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8782 multiarch wcsrchr for PPC32.
8783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8786 (__libc_ifunc_impl_list): Likewise.
8787 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8788 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8789 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8790 sysdeps/powerpc/power6/wcsrchr.c.
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8798 multiarch wcschr for PPc32.
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8802 (__libc_ifunc_impl_list): Likewise.
8803 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8804 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8805 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8806 sysdeps/powerpc/power6/wcschr.c.
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8812 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8813 file: multiarch strchr for PPC32.
8814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8817 (__libc_ifunc_impl_list): Likewise.
8819 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8821 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8826 multiarch strchrnul for PPC32.
8827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8830 (__libc_ifunc_impl_list): Likewise.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8835 multiarch strncasecmp for PPC32.
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8839 multiarch strncasecmp_l for PPC32.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8841 strncasecmp multiarch objects.
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8843 (__libc_ifunc_impl_list): Likewise.
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8848 multiarch strncasecmp for PPC32.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8852 multiarch strcasecmp_l for PPC32.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8856 (__libc_ifunc_impl_list): Likewise.
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8863 multiarch strncmp for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8867 (__libc_ifunc_impl_list): Likewise.
8869 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8870 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8877 (__libc_ifunc_impl_list): Likewise.
8879 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8887 (__libc_ifunc_impl_list): Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8894 multiarch rawmemchr for PPC32.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8898 (__libc_ifunc_impl_list): Likewise.
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8902 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8905 file: memrchr multiarch for PPC32.
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8909 (__libc_ifunc_impl_list): Likewise.
8911 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8916 multiarch memchr for PPC32.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8920 (__libc_ifunc_impl_list): Likewise.
8922 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8928 file: multiarch mempcpy for PPC32.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8932 (__libc_ifunc_impl_list): Likewise.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8938 multiarch bzero for PPC32.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8944 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8945 file: multiarch memset for PPC32.
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8948 memset multiarch objects.
8949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8950 (__libc_ifunc_impl_list): Likewise.
8952 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8961 (__libc_ifunc_impl_list): Likewise.
8963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8972 multiarch memcpy for PPC32.
8973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8976 (__libc_ifunc_impl_list): Likewise.
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8979 support multiarch for POWER/PPC32.
8980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8982 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8984 Implies file to make multiarch folder appers before the fpu and
8985 default folder for power4 configuration.
8987 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8989 * scripts/bench.pl: Append volatile keyword to type.
8991 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8993 * sysdeps/sh/sotruss-lib.c: New file.
8994 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8996 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9003 * math/w_tgamma.c: Include <errno.h>.
9004 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9005 * math/w_tgammaf.c: Include <errno.h>.
9006 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9007 * math/w_tgammal.c: Include <errno.h>.
9008 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9009 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9010 underflow. Add more tgamma tests.
9011 * math/auto-libm-test-out: Regenerated.
9012 * sysdeps/i386/fpu/libm-test-ulps: Update.
9013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9015 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9016 sin, sinh, tan, tanh, tgamma, y0 and y1.
9017 * math/auto-libm-test-out: Regenerated.
9018 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9019 (TEST_COND_x86): Likewise.
9020 (M_E2l): Remove macro.
9022 (M_2_SQRT_PIl): Likewise.
9023 (M_SQRT_PIl): Likewise.
9024 (M_1_DIV_El): Likewise.
9025 (log_test_data): Use AUTO_TESTS_f_f.
9026 (log10_test_data): Likewise.
9027 (log1p_test_data): Likewise.
9028 (log2_test_data): Likewise.
9029 (sin_test_data): Likewise.
9030 (sin_tonearest_test_data): Likewise.
9031 (sin_towardzero_test_data): Likewise.
9032 (sin_downward_test_data): Likewise.
9033 (sin_upward_test_data): Likewise.
9034 (sinh_test_data): Likewise.
9035 (sinh_tonearest_test_data): Likewise.
9036 (sinh_towardzero_test_data): Likewise.
9037 (sinh_downward_test_data): Likewise.
9038 (sinh_upward_test_data): Likewise.
9039 (tan_test_data): Likewise.
9040 (tan_tonearest_test_data): Likewise.
9041 (tan_towardzero_test_data): Likewise.
9042 (tan_downward_test_data): Likewise.
9043 (tan_upward_test_data): Likewise.
9044 (tanh_test_data): Likewise.
9045 (tgamma_test_data): Likewise.
9046 (y0_test_data): Likewise.
9047 (y1_test_data): Likewise.
9048 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9049 (special_real_inputs): Add pi/4.
9050 * sysdeps/i386/fpu/libm-test-ulps: Update.
9051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9056 "longjmp_target" static probes.
9057 (__longjmp): Rename to __longjmp_symbol.
9058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9059 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9060 on which longjmp to generate.
9061 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9064 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9065 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9066 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9068 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9069 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9071 __longjmp_symbol based on which __longjmp to generate.
9072 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9074 (setjmp): Rename to setjmp_symbol.
9075 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9076 (_setjmp): Rename to _setjmp_symbol.
9077 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9078 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9079 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9080 which setjmp to generate.
9081 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9082 "longjmp_target" static probes.
9084 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9086 * benchtests/README: Add note about output arguments.
9087 * benchtests/bench-sincos.c: Remove file.
9088 * benchtests/sincos-inputs: New file.
9089 * scripts/bench.pl: Identify output arguments and define
9090 static variables for them.
9092 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9095 * Makefile (INSTALL): Add install-plain.texi as the primary
9097 * manual/install-plain.texi: New file.
9098 * manual/install.texi: Include node directive only for
9099 non-plaintext output.
9101 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9103 * stdlib/longlong.h: Update from GCC.
9107 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9108 * math/w_j0f.c (y0f): Likewise.
9109 * math/w_j0l.c (__y0l): Likewise.
9110 * math/w_j1.c (y1): Likewise.
9111 * math/w_j1f.c (y1f): Likewise.
9112 * math/w_j1l.c (__y1l): Likewise
9113 * math/w_jn.c (yn): Likewise.
9114 * math/w_jnf.c (ynf): Likewise.
9115 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9116 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9117 value for Bessel function domain errors outside _SVID_ mode.
9118 Adjust sign of return value for yn (negative integer, 0).
9119 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9120 by zero in return for negative x and set sign appropriately for
9122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9123 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9124 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9125 expectations in error cases.
9126 (y1_test_data): Likewise.
9127 (yn_test_data): Likewise.
9128 * sysdeps/i386/fpu/libm-test-ulps: Update.
9129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9131 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9133 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9134 "64" to "64-v1". Add "64-v2".
9135 (abi-64-options): Rename to ...
9136 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9137 (abi-64-condition): Rename to ...
9138 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9139 (abi-64-ld-soname): Rename to ...
9140 (abi-64-v1-ld-soname): ... this.
9141 (abi-64-v2-options): Define.
9142 (abi-64-v2-condition): Likewise.
9143 (abi-64-v2-ld-soname): Likewise.
9144 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9145 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9150 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9151 Alan Modra <amodra@gmail.com>
9153 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9154 New versions for use with the ELFv2 ABI.
9155 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9156 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9158 (struct La_ppc64v2_retval): Likewise.
9159 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9160 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9161 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9162 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9163 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9165 Do not save or restore CR.
9166 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9167 (_dl_profile_resolve): Do no save or restore CR. Support extended
9168 return values for ELFv2 ABI. Fix location of FPR return registers.
9169 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9170 updated values for _CALL_ELF == 2.
9171 (La_regs, La_retval, int_retval): Likewise.
9173 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9175 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9176 (FRAME_MIN_SIZE_PARM): Likewise.
9177 (FRAME_BACKCHAIN): Likewise.
9178 (FRAME_CR_SAVE): Likewise.
9179 (FRAME_LR_SAVE): Likewise.
9180 (FRAME_TOC_SAVE): Likewise.
9181 (FRAME_PARM_SAVE): Likewise.
9182 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9183 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9184 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9185 (call_mcount_parm_offset): New macro.
9186 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9187 (PROF): Use symbolic stack frame offsets.
9188 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9190 Redefine in terms of FRAME_MIN_SIZE.
9191 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9192 (_dl_profile_resolve): Likewise. Update comment.
9193 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9194 symbols stack frame offsets.
9195 (__sigsetjmp): Likewise.
9196 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9197 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9198 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9199 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9202 (FRAME_BACKCHAIN): Remove.
9203 (FRAME_CR_SAVE): Likewise.
9204 (FRAME_LR_SAVE): Likewise.
9205 (FRAME_COMPILER_DW): Likewise.
9206 (FRAME_LINKER_DW): Likewise.
9207 (FRAME_TOC_SAVE): Likewise.
9208 (FRAME_PARM_SAVE): Likewise.
9209 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9210 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9211 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9213 (CHECK_SP): Use symbolic stack frame offsets.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9215 zone" instead of caller's parameter save area for temp storage.
9216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9217 Likewise. Also, use symbolic stack frame offsets.
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9219 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9220 our own stack frame instead of the caller's.
9221 (__socket): Use symbolic stack frame offsets.
9223 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9224 Alan Modra <amodra@gmail.com>
9226 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9228 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9229 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9230 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9232 (elf_machine_fixup_plt): Call it.
9233 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9235 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9237 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9238 r2 before calling target.
9240 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9241 Alan Modra <amodra@gmail.com>
9243 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9244 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9245 versions of macros to support ELFv2 ABI.
9246 (LOCALENTRY): New macro.
9247 (ENTRY, EALIGN): Use it.
9248 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9249 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9250 fall through into ENTRY entry point.
9251 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9252 Only define if _CALL_ELF != 2.
9254 (elf_machine_matches_host): Verify ABI version matches.
9255 (RTLD_START): Use LOCALENTRY.
9256 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9257 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9258 (PLT_ENTRY_WORDS): New macro.
9259 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9260 (elf_machine_runtime_setup): Support ELFv2 ABI.
9261 (elf_machine_fixup_plt): Likewise.
9262 (elf_machine_plt_conflict): Likewise.
9263 (resolve_ifunc): Likewise.
9264 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9268 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9270 (makecontext): Support ELFv2 ABI.
9271 * elf/elf.h (EF_PPC64_ABI): Define.
9273 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9275 * sysdeps/powerpc/powerpc64/sysdep.h
9276 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9277 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9278 (ENTRY) [ASSEMBLER]: ... but instead here ...
9279 (EALIGN) [ASSEMBLER]: ... and here.
9280 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9281 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9282 (ENTRY_2) [!ASSEMBLER]: Use it.
9283 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9284 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9285 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9286 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9287 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9289 Use PPC64_LOAD_FUNCPTR.
9291 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9293 2013-12-04 Alan Modra <amodra@gmail.com>
9295 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9296 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9297 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9298 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9301 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9302 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9303 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9304 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9305 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9307 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9310 (__makecontext): Fix incorrect CFI when backtracing out of
9311 context created via makecontext.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9313 (__setcontext): Fix incorrect CFI during switch to new context.
9314 (__novec_setcontext): Likewise.
9316 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9319 * time/strptime_l.c (__strptime_internal): Allow modifiers
9321 * time/tst-strptime.c (day_tests): Add testcase.
9323 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9325 * scripts/bench.pl: Skip over blank lines.
9327 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9330 * manual/time.texi (Calendar Time): Clarify what timezone functions
9333 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9337 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9339 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9341 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9342 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9343 * debug/memset_chk.c (__memset_chk): Likewise.
9344 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9345 * debug/strncpy_chk.c: Likewise.
9347 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9352 (__ieee754_exp): For possibly underflowing results, check size of
9353 result and force underflow exception if required.
9354 * math/auto-libm-test-in: Add more tests of exp.
9355 * math/auto-libm-test-out: Regenerated.
9356 * sysdeps/i386/fpu/libm-test-ulps: Update.
9357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9360 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9361 * math/w_exp2f.c (__exp2f): Likewise.
9362 * math/w_exp2l.c (__exp2l): Likewise.
9363 * math/auto-libm-test-in: Do not allow missing errno on exp2
9365 * math/auto-libm-test-out: Regenerated.
9367 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9370 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9371 handle filename validation.
9372 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9375 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9379 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9380 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9382 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9384 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9386 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9387 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9388 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9389 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9390 Add more erfc tests.
9391 * math/auto-libm-test-out: Regenerated.
9392 * sysdeps/i386/fpu/libm-test-ulps: Update.
9393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9395 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9396 exp2, expm1, j0 and j1.
9397 * math/auto-libm-test-out: Regenerated.
9398 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9399 (erfc_test_data): Likewise.
9400 (exp_test_data): Likewise.
9401 (exp_tonearest_test_data): Likewise.
9402 (exp_towardzero_test_data): Likewise.
9403 (exp_downward_test_data): Likewise.
9404 (exp_upward_test_data): Likewise.
9405 (exp10_test_data): Likewise.
9406 (exp2_test_data): Likewise.
9407 (expm1_test_data): Likewise.
9408 (j0_test_data): Likewise.
9409 (j1_test_data): Likewise.
9410 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9411 (input_flag_type): Add flag_xfail_rounding.
9412 (input_flags): Add xfail-rounding.
9413 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9414 (output_for_one_input_case): Handle flag_xfail_rounding.
9415 * sysdeps/i386/fpu/libm-test-ulps: Update.
9416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9418 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9421 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9424 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9427 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9428 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9429 (STAP_PROBE0): New macro.
9430 (STAP_PROBE1): Likewise.
9431 (STAP_PROBE2): Likewise.
9432 (STAP_PROBE3): Likewise.
9433 (STAP_PROBE4): Likewise.
9435 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9437 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9439 2013-12-02 Steve Ellcey <sellcey@mips.com>
9441 * benchtests/Makefile (bench): Add sqrt.
9442 (LDLIBS-bench-sqrt): New.
9443 * benchtests/sqrt-input: New.
9445 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9447 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9448 (GAIH_EAI): Likewise.
9449 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9450 (gaih_inet): Likewise.
9451 (getaddrinfo): Don't use GAIH_EAI.
9453 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9454 (struct gaih): Remove definition.
9456 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9458 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9459 Use HERRNOP directly.
9461 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9465 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9467 * math/gen-auto-libm-tests.c (test_functions): Add more
9468 single-argument functions.
9469 (special_fill_pi_2): New function.
9470 (special_fill_minus_pi_2): Likewise.
9471 (special_fill_pi_6): Likewise.
9472 (special_fill_minus_pi_6): Likewise.
9473 (special_fill_pi_3): Likewise.
9474 (special_fill_2pi_3): Likewise.
9475 (special_fill_e): Likewise.
9476 (special_fill_1_e): Likewise.
9477 (special_fill_e_minus_1): Likewise.
9478 (special_real_inputs): Add more special inputs.
9479 (output_for_one_input_case): Do not require ERANGE on underflow to
9480 zero if round-to-nearest result does not underflow to zero, unless
9481 exact results required.
9482 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9483 atan, atanh, cbrt, cos and cosh.
9484 * math/auto-libm-test-out: Regenerated.
9485 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9486 (acos_tonearest_test_data): Likewise.
9487 (acos_towardzero_test_data): Likewise.
9488 (acos_downward_test_data): Likewise.
9489 (acos_upward_test_data): Likewise.
9490 (acosh_test_data): Likewise.
9491 (asin_test_data): Likewise.
9492 (asin_tonearest_test_data): Likewise.
9493 (asin_towardzero_test_data): Likewise.
9494 (asin_upward_test_data): Likewise.
9495 (asinh_test_data): Likewise.
9496 (atan_test_data): Likewise.
9497 (atanh_test_data): Likewise.
9498 (cbrt_test_data): Likewise.
9499 (cos_test_data): Likewise.
9500 (cos_tonearest_test_data): Likewise.
9501 (cos_towardzero_test_data): Likewise.
9502 (cos_downward_test_data): Likewise.
9503 (cos_upward_test_data): Likewise.
9504 (cosh_test_data): Likewise.
9505 (cosh_tonearest_test_data): Likewise.
9506 (cosh_towardzero_test_data): Likewise.
9507 (cosh_downward_test_data): Likewise.
9508 (cosh_upward_test_data): Likewise.
9509 * sysdeps/i386/fpu/libm-test-ulps: Update.
9510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9515 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9516 * math/w_exp10f.c (__exp10f): Likewise.
9517 * math/w_exp10l.c (__exp10l): Likewise.
9518 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9519 errno settings in existing tests.
9522 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9523 precision control set to double precision.
9524 * sysdeps/i386/fpu/w_sqrt.c: New file.
9525 * math/auto-libm-test-in: Add more tests.
9526 * math/auto-libm-test-out: Update.
9528 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9529 (sqrt_test_tonearest): New function.
9530 (sqrt_towardzero_test_data): New variable.
9531 (sqrt_test_towardzero): New function.
9532 (sqrt_downward_test_data): New variable.
9533 (sqrt_test_downward): New function.
9534 (sqrt_upward_test_data): New variable.
9535 (sqrt_test_upward): New function.
9536 (main): Call the new functions.
9538 * math/gen-auto-libm-tests.c: New file.
9539 * math/auto-libm-test-in: Likewise.
9540 * math/auto-libm-test-out: New generated file.
9541 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9543 (%beautify): Add generated representations of zero.
9544 (top level): Set $auto_input and call parse_auto_input.
9545 (beautify): Remove trailing "f" from hex float constants.
9546 (parse_args): Handle XFAIL_TEST.
9547 (convert_condition): New function.
9548 (or_value): Likewise.
9549 (or_cond_value): Likewise.
9550 (generate_testfile): Handle AUTO_TESTS_* lines.
9551 (parse_auto_input): New function.
9552 * math/libm-test.inc (XFAIL_TEST): New macro.
9553 (ERRNO_UNCHANGED): Update value.
9554 (ERRNO_EDOM): Likewise.
9555 (ERRNO_ERANGE): Likewise.
9556 (IGNORE_RESULT): Likewise.
9557 (TEST_COND_flt_32): New macro.
9558 (TEST_COND_dbl_64): Likewise.
9559 (TEST_COND_ldbl_96_intel): Likewise.
9560 (TEST_COND_ldbl_96_m68k): Likewise.
9561 (TEST_COND_ldbl_128): Likewise.
9562 (TEST_COND_ldbl_128ibm): Likewise.
9563 (TEST_COND_long32): Likewise.
9564 (TEST_COND_long64): Likewise.
9565 (TEST_COND_before_rounding): Likewise.
9566 (TEST_COND_after_rounding): Likewise.
9567 (enable_test): Handle XFAIL_TEST flag.
9568 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9569 with finite results.
9570 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9573 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9574 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9577 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9578 __tls_get_addr_internal instead of __tls_get_offset in order to
9579 avoid GOT pointer dependency. Make rtld export
9580 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9581 __tls_get_addr since we are a __tls_get_offset platform.
9582 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9583 GOT pointer being set up before.
9584 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9586 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9588 * manual/math.texi (Errors in Math Functions): Document accuracy
9592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9593 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9609 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9610 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9611 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9612 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9613 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9615 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9617 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9619 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9620 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9621 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9622 atomic-feupdateenv and flt-rounds.
9623 * sysdeps/powerpc/nofpu/Versions (libc): Add
9624 __atomic_feholdexcept, __atomic_feclearexcept,
9625 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9627 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9628 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9629 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9634 * manual/arith.texi (FP Exceptions): Document that exceptions may
9635 not be raised when matherr is used.
9636 (Math Error Reporting): Document overflow in directed rounding
9637 modes. Document that errno may not be set when finite values are
9638 returned on overflow. Document intent to set errno on underflow
9639 only for underflow to zero.
9642 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9643 round-to-nearest then adjust result for other rounding modes.
9644 * include/fenv.h (fegetround): Use libm_hidden_proto.
9645 * math/fegetround.c (fegetround): Use libm_hidden_def.
9646 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9647 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9648 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9651 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9653 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9654 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9656 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9659 * nss/Versions (libnss_files): Add
9660 _nss_files_gethostbyname3_r.
9661 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9663 (HOST_DB_LOOKUP): Remove macro.
9664 (_nss_files_gethostbyname_r): Implement function without the
9665 HOST_DB_LOOKUP macro.
9666 (_nss_files_gethostbyname2_r): Likewise.
9668 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9670 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9672 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9674 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9675 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9678 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9680 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9681 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9682 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9683 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9684 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9685 __fe_nomask_env_priv and attribute_hidden.
9686 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9687 (libc_feupdateenv_test_ppc): Likewise.
9688 (libc_feresetround_ppc): Likewise.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9690 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9691 compat_symbol macro.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9693 (__fe_nomask_env): Likewise.
9694 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9696 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9698 * string/Makefile: Remove ifunc tests.
9699 * string/test-string.h: Define TEST_IFUNC.
9700 * string/test-bcopy-ifunc.c: Remove.
9701 * string/test-bzero-ifunc.c: Likewise.
9702 * string/test-memccpy-ifunc.c: Likewise.
9703 * string/test-memchr-ifunc.c: Likewise.
9704 * string/test-memcmp-ifunc.c: Likewise.
9705 * string/test-memcpy-ifunc.c: Likewise.
9706 * string/test-memmem-ifunc.c: Likewise.
9707 * string/test-memmove-ifunc.c: Likewise.
9708 * string/test-mempcpy-ifunc.c: Likewise.
9709 * string/test-memrchr-ifunc.c: Likewise.
9710 * string/test-memset-ifunc.c: Likewise.
9711 * string/test-rawmemchr-ifunc.c: Likewise.
9712 * string/test-stpcpy-ifunc.c: Likewise.
9713 * string/test-stpncpy-ifunc.c: Likewise.
9714 * string/test-strcasecmp-ifunc.c: Likewise.
9715 * string/test-strcasestr-ifunc.c: Likewise.
9716 * string/test-strcat-ifunc.c: Likewise.
9717 * string/test-strchr-ifunc.c: Likewise.
9718 * string/test-strchrnul-ifunc.c: Likewise.
9719 * string/test-strcmp-ifunc.c: Likewise.
9720 * string/test-strcpy-ifunc.c: Likewise.
9721 * string/test-strcspn-ifunc.c: Likewise.
9722 * string/test-strlen-ifunc.c: Likewise.
9723 * string/test-strncasecmp-ifunc.c: Likewise.
9724 * string/test-strncat-ifunc.c: Likewise.
9725 * string/test-strncmp-ifunc.c: Likewise.
9726 * string/test-strncpy-ifunc.c: Likewise.
9727 * string/test-strnlen-ifunc.c: Likewise.
9728 * string/test-strpbrk-ifunc.c: Likewise.
9729 * string/test-strrchr-ifunc.c: Likewise.
9730 * string/test-strspn-ifunc.c: Likewise.
9731 * string/test-strstr-ifunc.c: Likewise.
9733 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9735 * benchtests/Makefile: Remove ifunc tests.
9736 * benchtests/bench-string.h: Define TEST_IFUNC.
9737 * benchtests/bench-bcopy-ifunc.c: Remove.
9738 * benchtests/bench-bzero-ifunc.c: Likewise.
9739 * benchtests/bench-memccpy-ifunc.c: Likewise.
9740 * benchtests/bench-memchr-ifunc.c: Likewise.
9741 * benchtests/bench-memcmp-ifunc.c: Likewise.
9742 * benchtests/bench-memcpy-ifunc.c: Likewise.
9743 * benchtests/bench-memmem-ifunc.c: Likewise.
9744 * benchtests/bench-memmove-ifunc.c: Likewise.
9745 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9746 * benchtests/bench-memrchr-ifunc.c: Likewise.
9747 * benchtests/bench-memset-ifunc.c: Likewise.
9748 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9749 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9750 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9751 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9752 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9753 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9754 * benchtests/bench-strcat-ifunc.c: Likewise.
9755 * benchtests/bench-strchr-ifunc.c: Likewise.
9756 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9757 * benchtests/bench-strcmp-ifunc.c: Likewise.
9758 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9759 * benchtests/bench-strcpy-ifunc.c: Likewise.
9760 * benchtests/bench-strcspn-ifunc.c: Likewise.
9761 * benchtests/bench-strlen-ifunc.c: Likewise.
9762 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9763 * benchtests/bench-strncat-ifunc.c: Likewise.
9764 * benchtests/bench-strncmp-ifunc.c: Likewise.
9765 * benchtests/bench-strncpy-ifunc.c: Likewise.
9766 * benchtests/bench-strnlen-ifunc.c: Likewise.
9767 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9768 * benchtests/bench-strrchr-ifunc.c: Likewise.
9769 * benchtests/bench-strsep-ifunc.c: Likewise.
9770 * benchtests/bench-strspn-ifunc.c: Likewise.
9771 * benchtests/bench-strstr-ifunc.c: Likewise.
9773 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9775 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9777 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9779 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9780 * rt/aio.h: Likewise.
9781 * sysdeps/gnu/bits/utmp.h: Likewise.
9782 * sysdeps/gnu/bits/utmpx.h: Likewise.
9783 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9784 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9785 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9786 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9787 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9788 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9789 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9790 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9794 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9795 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9798 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9799 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9800 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9801 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9802 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9803 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9813 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9815 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9817 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9818 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9819 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9820 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9821 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9822 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9823 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9824 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9826 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9829 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9830 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9832 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9834 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9835 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9838 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9841 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9842 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9843 (__fesetround): Remove define.
9844 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9845 rounding and exceptions handling.
9846 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9847 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9848 (__fe_nomask_env): Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9850 __fegetround instead of fegetround.
9851 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9854 2013-11-21 Roland McGrath <roland@hack.frob.com>
9856 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9859 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9861 2013-11-21 Meador Inge <meadori@codesourcery.com>
9864 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9865 (encrypt_r): Likewise.
9866 * malloc/obstack.h (obstack_free): Likewise.
9867 * posix/unistd.h (encrypt): Likewise.
9869 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9871 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9872 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9873 DL_CALL_DT_FINI() that call the functions directly.
9874 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9875 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9876 * elf/dl-fini.c: Likewise.
9878 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9880 * malloc/hooks.c (memalign_check): Add alignment rounding.
9881 * malloc/malloc.c (_mid_memalign): New function.
9882 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9883 Implement by calling _mid_memalign.
9884 * manual/probes.texi (Memory Allocation Probes): Remove
9885 memory_valloc_retry and memory_pvalloc_retry.
9887 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9889 * locale/programs/locarchive.c (open_archive): Add const
9890 qualifier to ARCHIVEFNAME and copy default fname to
9894 * libio/tst-widetext.input: Rename Oriya to Odia.
9895 * locale/iso-639.def: Likewise.
9897 * manual/probes.texi (Mathematical Function Probes): Add
9898 documentation for sin, cos, asin and acos probes.
9899 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9900 (__sin32): Add slowasin probe.
9901 (__cos32): Add slowacos probe.
9902 (__mpsin): Add slowsin probe.
9903 (__mpcos): Add slowcos probe.
9905 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9908 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9909 thread-local __sim_exceptions_thread and global
9910 __sim_exceptions_global.
9911 (__sim_disabled_exceptions): Change to thread-local
9912 __sim_disabled_exceptions_thread and global
9913 __sim_disabled_exceptions_global.
9914 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9915 and global __sim_round_mode_global.
9916 (__simulate_exceptions): Use thread-local floating-point state and
9917 set global state from it as needed.
9918 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9919 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9920 __sim_round_mode_thread.
9921 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9922 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9923 and global __sim_exceptions_global.
9924 (__sim_disabled_exceptions): Change to thread-local
9925 __sim_disabled_exceptions_thread and global
9926 __sim_disabled_exceptions_global.
9927 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9928 and global __sim_round_mode_global.
9929 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9930 (SIM_SET_GLOBAL): Likewise.
9931 * sysdeps/powerpc/soft-fp/sfp-machine.h
9932 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9933 __sim_round_mode_thread.
9934 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9935 __sim_disabled_exceptions_thread.
9936 (__sim_exceptions): Change to __sim_exceptions_thread.
9937 (__sim_disabled_exceptions): Change to
9938 __sim_disabled_exceptions_thread.
9939 (__sim_round_mode): Change to __sim_round_mode_thread.
9940 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9941 thread-local floating-point state and set global state from it as
9943 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9944 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9945 (__sim_disabled_exceptions): Remove extern declaration.
9946 (feenableexcept): Use thread-local floating-point state and set
9947 global state from it as needed.
9948 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9950 (__sim_disabled_exceptions): Likewise.
9951 (__sim_round_mode): Likewise.
9952 (__fegetenv): Use thread-local floating-point state.
9953 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9954 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9955 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9956 floating-point state and set global state from it as needed.
9957 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9958 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9959 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9961 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9962 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9964 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9965 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9966 Use __sim_round_mode_thread.
9967 * math/test-fenv-tls.c: New file.
9968 * math/Makefile (tests): Add test-fenv-tls.
9969 ($(objpfx)test-fenv-tls): Depend on
9970 $(common-objpfx)nptl/libpthread.so.
9972 2013-11-19 Andreas Schwab <schwab@suse.de>
9974 * locale/programs/locale.c (show_info): Decode wordarray elements.
9975 * locale/categories.def (LC_MONETARY): Add element for
9976 _NL_MONETARY_CRNCYSTR.
9977 * locale/C-monetary.c (conversion_rate): New variable.
9978 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9981 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9983 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9984 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9986 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9988 * elf/Makefile (tst-auxv): New test.
9989 * elf/tst-auxv.c: New
9990 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9992 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9994 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9995 (hidden_proto): Caller changed.
9996 (hidden_tls_proto): New macro.
9997 (libc_hidden_tls_proto): Likewise.
9998 (rtld_hidden_tls_proto): Likewise.
9999 (libm_hidden_tls_proto): Likewise.
10000 (libresolv_hidden_tls_proto): Likewise.
10001 (librt_hidden_tls_proto): Likewise.
10002 (libdl_hidden_tls_proto): Likewise.
10003 (libnss_files_hidden_tls_proto): Likewise.
10004 (libnsl_hidden_tls_proto): Likewise.
10005 (libnss_nisplus_hidden_tls_proto): Likewise.
10006 (libutil_hidden_tls_proto): Likewise.
10008 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10011 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10012 (decompose_rpath): Defer expansion to fillin_rpath.
10013 (_dl_init_paths): Pass linkmap to fillin_rpath.
10015 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10017 * benchtests/Makefile: Add strsep.
10018 * benchtests/bench-strsep.c: New file: strsep benchtest.
10019 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10021 2013-11-18 Andreas Schwab <schwab@suse.de>
10023 * locale/programs/locale.c (show_info) [case byte]: Check for
10024 '\377' instead of '\177'.
10025 * locale/C-monetary.c (not_available): Always use "\377".
10026 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10027 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10028 detect unavailable sign_posn locale elements.
10029 * locale/localeconv.c (__localeconv): For grouping and
10030 mon_grouping handle "\177" and "\377" like no grouping.
10031 (INT_ELEM): New macro. Use it to set all numeric members.
10032 * locale/programs/ld-monetary.c (monetary_read)
10033 <tok_mon_grouping>: Normalize single -1 to the empty string.
10034 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10037 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10040 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10041 when we match (nil).
10042 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10044 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10046 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10047 (NO_TEST_INLINE): Update value.
10048 (ERRNO_UNCHANGED): Likewise.
10049 (ERRNO_EDOM): Likewise.
10050 (ERRNO_ERANGE): Likewise.
10051 (IGNORE_RESULT): Likewise.
10052 (check_float_internal): Check signs of NaN results if
10053 TEST_NAN_SIGN used.
10054 (check_complex): Pass TEST_NAN_SIGN flag through to second
10055 check_float_internal call.
10056 (copysign_test_data): Add tests with quiet NaNs as second
10057 argument. Use TEST_NAN_SIGN.
10058 (fabs_test_data): Add test of negative quiet NaN argument. Use
10060 (signbit_test_data): Add tests of quiet NaN argument.
10061 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10063 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10065 (parse_args): Handle function results specified as IGNORE.
10066 * math/libm-test.inc (IGNORE_RESULT): New macro.
10067 (check_float_internal): Do not check numerical result if flag
10069 (check_complex): Pass through IGNORE_RESULT to second
10070 check_float_internal call.
10071 (check_int): Do not check numerical result if flag IGNORE_RESULT
10073 (check_long): Likewise.
10074 (check_bool): Likewise.
10075 (check_longlong): Likewise.
10076 (lrint_test_data): Add tests of infinite and NaN arguments.
10077 (lrint_tonearest_test_data): Likewise.
10078 (lrint_towardzero_test_data): Likewise.
10079 (lrint_downward_test_data): Likewise.
10080 (lrint_upward_test_data): Likewise.
10081 (llrint_test_data): Likewise.
10082 (llrint_tonearest_test_data): Likewise.
10083 (llrint_towardzero_test_data): Likewise.
10084 (llrint_downward_test_data): Likewise.
10085 (llrint_upward_test_data): Likewise.
10086 (lround_test_data): Likewise.
10087 (llround_test_data): Likewise.
10089 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10090 (ERRNO_UNCHANGED): Update value.
10091 (ERRNO_EDOM): Likewise.
10092 (ERRNO_ERANGE): Likewise.
10093 (NO_TEST_INLINE_FLOAT): New macro.
10094 (NO_TEST_INLINE_DOUBLE): Likewise.
10095 (enable_test): New function.
10096 (RUN_TEST_f_f): Check enable_test before running test.
10097 (RUN_TEST_2_f): Likewise.
10098 (RUN_TEST_fff_f): Likewise.
10099 (RUN_TEST_c_f): Likewise.
10100 (RUN_TEST_f_f1): Likewise.
10101 (RUN_TEST_fF_f1): Likewise.
10102 (RUN_TEST_fI_f1): Likewise.
10103 (RUN_TEST_ffI_f1): Likewise.
10104 (RUN_TEST_c_c): Likewise.
10105 (RUN_TEST_cc_c): Likewise.
10106 (RUN_TEST_f_i): Likewise.
10107 (RUN_TEST_f_i_tg): Likewise.
10108 (RUN_TEST_ff_i_tg): Likewise.
10109 (RUN_TEST_f_b): Likewise.
10110 (RUN_TEST_f_b_tg): Likewise.
10111 (RUN_TEST_f_l): Likewise.
10112 (RUN_TEST_f_L): Likewise.
10113 (RUN_TEST_fFF_11): Likewise.
10114 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10116 (cosh_test_data): Likewise.
10117 (exp_test_data): Likewise.
10118 (expm1_test_data): Likewise.
10119 (hypot_test_data): Likewise.
10120 (pow_test_data): Likewise.
10121 (sinh_test_data): Likewise.
10122 (tanh_test_data): Likewise.
10123 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10126 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10127 tests with quiet NaN input and output.
10128 (acosh_test_data): Likewise.
10129 (asin_test_data): Likewise.
10130 (asinh_test_data): Likewise.
10131 (atan_test_data): Likewise.
10132 (atanh_test_data): Likewise.
10133 (atan2_test_data): Likewise.
10134 (cbrt_test_data): Likewise.
10135 (cos_test_data): Likewise.
10136 (cosh_test_data): Likewise.
10137 (erf_test_data): Likewise.
10138 (erfc_test_data): Likewise.
10139 (exp_test_data): Likewise.
10140 (exp10_test_data): Likewise.
10141 (exp2_test_data): Likewise.
10142 (expm1_test_data): Likewise.
10143 (hypot_test_data): Likewise.
10144 (j0_test_data): Likewise.
10145 (j1_test_data): Likewise.
10146 (jn_test_data): Likewise.
10147 (lgamma_test_data): Likewise.
10148 (log_test_data): Likewise.
10149 (log10_test_data): Likewise.
10150 (log1p_test_data): Likewise.
10151 (log2_test_data): Likewise.
10152 (pow_test_data): Likewise.
10153 (scalb_test_data): Likewise.
10154 (sin_test_data): Likewise.
10155 (sincos_test_data): Likewise.
10156 (sinh_test_data): Likewise.
10157 (tan_test_data): Likewise.
10158 (tanh_test_data): Likewise.
10159 (tgamma_test_data): Likewise.
10160 (y0_test_data): Likewise.
10161 (y1_test_data): Likewise.
10162 (yn_test_data): Likewise.
10165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10166 argument being NaN and avoid computations with second argument in
10168 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10169 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10170 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10172 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10174 * locale/iso-639.def: Add Chitwani Tharu (the).
10176 2013-11-14 Andreas Schwab <schwab@suse.de>
10178 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10179 word instead of empty string.
10181 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10184 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10186 (__fe_nomask_env): Likewise.
10188 2013-11-13 Steve Ellcey <sellcey@mips.com>
10190 * benchtests/bench-timing.h: Include time.h.
10192 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10195 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10197 * sysdeps/unix/sysv/linux/configure: Regenerated.
10199 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10202 * stdlib/strtod_l.c (round_and_return): Do not consider
10203 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10204 exponent one less than half the least subnormal exponent.
10205 * stdlib/test-strtod-round-data: Add more tests.
10206 * stdlib/tst-strtod-round.c (tests): Regenerated.
10208 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10211 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10212 (__fe_mask_env): Likewise.
10213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10214 libm_hidden_proto and add function prototype.
10215 (__fe_mask_env): Add function prototype.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10217 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10219 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10221 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10223 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10225 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10226 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10228 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10230 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10231 of htab_find_slot().
10233 2013-11-11 David S. Miller <davem@davemloft.net>
10236 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10237 symbol in the non-vis3 case in static builds.
10238 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10239 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10240 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10241 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10243 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10246 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10249 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251 * benchtests/Makefile: Add bench-strtod.
10252 * benchtests/bench-strtod.c: New file: strtod benchtest
10254 2013-11-11 Andreas Schwab <schwab@suse.de>
10257 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10258 terminating NUL in key length.
10260 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10263 Add artificial ODP entry for vDSO symbol for PPC64.
10264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10265 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10267 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10270 * nss/getent.c (services_keys): Recognize services starting with digit.
10272 2013-11-06 David S. Miller <davem@davemloft.net>
10275 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10276 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10278 2013-11-06 Will Newton <will.newton@linaro.org>
10280 * manual/memory.texi (Malloc Examples): Remove register
10281 keyword from examples.
10283 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10285 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10287 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10290 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10291 depending on [__GCC_IEC_559 > 0].
10292 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10293 depending on [__GCC_IEC_559_COMPLEX > 0].
10295 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10297 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10300 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10302 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10304 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10307 * malloc/malloc (malloc_info): Do not handle first bin as
10310 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10312 * locale/iso-639.def: Add Central Nahuatl (nhn).
10314 2013-11-01 Bruno Haible <bruno@clisp.org>
10317 * manual/math.texi (BSD Random): Specify range upper bound as
10320 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10322 * locale/iso-639.def: Add Meadow Mari (mhr).
10324 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10326 [BZ #14752], [BZ #15763]
10327 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10329 * rt/tst_shm.c: Add test for escaping directory.
10331 2013-10-31 Andreas Schwab <schwab@suse.de>
10334 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10335 followed by 'x' as part of digit sequence.
10336 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10338 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10341 * configure.ac: allow GNU Make 4.0 and greater.
10342 * configure: Regenerated.
10344 2013-10-30 Will Newton <will.newton@linaro.org>
10347 * malloc/hooks.c (memalign_check): Limit alignment to the
10348 maximum representable power of two.
10349 * malloc/malloc.c (__libc_memalign): Likewise.
10350 * malloc/tst-memalign.c (do_test): Add test for very
10351 large alignment values.
10352 * malloc/tst-posix_memalign.c (do_test): Likewise.
10354 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10357 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10358 (munmap_chunk): Likewise.
10359 (mremap_chunk): Likewise.
10361 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10364 * stdlib/div.c (div): Remove obsolete code.
10365 * stdlib/ldiv.c (ldiv): Likewise.
10366 * stdlib/lldiv.c (lldiv): Likewise.
10368 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10371 * nss/nss_files/files-XXX.c (get_contents_ret): New
10373 (get_contents): New function.
10374 (internal_getent): Use it. Expand size of LINEBUFLEN.
10376 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10378 * configure.in: Moved to ...
10379 * configure.ac: ... here. Change reference to configure.in
10381 * sysdeps/arm/preconfigure.ac: ... here.
10382 configure.in to configure.ac.
10383 * sysdeps/gnu/configure.in: Moved to ...
10384 * sysdeps/gnu/configure.ac: ... here.
10385 * sysdeps/i386/configure.in: Moved to ...
10386 * sysdeps/i386/configure.ac: ... here.
10387 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10388 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10389 * sysdeps/mach/configure.in: Moved to ...
10390 * sysdeps/mach/configure.ac: ... here.
10391 * sysdeps/mach/hurd/configure.in: Moved to ...
10392 * sysdeps/mach/hurd/configure.ac: ... here.
10393 * sysdeps/powerpc/configure.in: Moved to ...
10394 * sysdeps/powerpc/configure.ac: ... here.
10395 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10396 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10397 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10398 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10399 * sysdeps/s390/s390-32/configure.in: Moved to ...
10400 * sysdeps/s390/s390-32/configure.ac: ... here.
10401 * sysdeps/s390/s390-64/configure.in: Moved to ...
10402 * sysdeps/s390/s390-64/configure.ac: ... here.
10403 * sysdeps/sh/configure.in: Moved to ...
10404 * sysdeps/sh/configure.ac: ... here.
10405 * sysdeps/sparc/configure.in: Moved to ...
10406 * sysdeps/sparc/configure.ac: ... here.
10407 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10408 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10409 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10410 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10411 * sysdeps/x86_64/configure.in: Moved to ...
10412 * sysdeps/x86_64/configure.ac: ... here.
10413 * sysdeps/x86_64/preconfigure.in: Moved to ...
10414 * sysdeps/x86_64/preconfigure.ac: ... here.
10415 * aclocal.m4: Change reference to configure.in to configure.ac.
10416 * config.h.in: Likewise.
10417 * manual/install.texi: Likewise.
10418 * manual/maint.texi: Likewise.
10419 * Makefile: Likewise.
10420 * malloc/Makefile: Likewise.
10421 * nscd/Makefile: Likewise.
10422 * Makeconfig: Change reference to configure.in and
10423 preconfigure.in to configure.ac and preconfigure.ac
10425 * INSTALL: Regenerated.
10426 * configure: Likewise.
10427 * sysdeps/gnu/configure: Likewise.
10428 * sysdeps/i386/configure: Likewise.
10429 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10430 * sysdeps/mach/configure: Likewise.
10431 * sysdeps/mach/hurd/configure: Likewise.
10432 * sysdeps/powerpc/configure: Likewise.
10433 * sysdeps/powerpc/powerpc32/configure: Likewise.
10434 * sysdeps/powerpc/powerpc64/configure: Likewise.
10435 * sysdeps/s390/s390-32/configure: Likewise.
10436 * sysdeps/s390/s390-64/configure: Likewise.
10437 * sysdeps/sh/configure: Likewise.
10438 * sysdeps/sparc/configure: Likewise.
10439 * sysdeps/unix/sysv/linux/configure: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10441 * sysdeps/x86_64/configure: Likewise.
10442 * sysdeps/x86_64/preconfigure: Likewise.
10444 2013-10-29 Andreas Schwab <schwab@suse.de>
10446 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10448 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10450 * benchtests/pow-inputs: Add new inputs.
10452 * benchtests/exp-inputs: Add new inputs.
10454 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10455 conditional check for return value.
10456 (__cos32): Likewise.
10458 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10460 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10461 to provide a boost for large inputs with word alignment.
10462 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10463 implementation based on optimized PPC64 strcpy.
10464 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10465 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10466 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10467 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10469 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10472 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10474 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10477 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10478 * time/tst-strptime.c (day_tests): Add testcase.
10480 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10483 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10485 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10488 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10489 MAP_FAILED on error.
10491 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10494 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10495 heap for large requests.
10497 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10500 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10501 result if the result has no associated interface.
10502 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10503 interface for all 127.X.Y.Z addresses.
10505 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10507 * locale/iso-639.def: Add Ligurian (lij)
10509 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10512 * sunrpc/rpc_main.c: Document rpcgen -5.
10514 2013-10-19 Michael Stahl <mstahl@redhat.com>
10516 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10518 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10521 * posix/glob.c: Match only directories when trailing slash is present.
10522 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10523 (main): Add testcase.
10525 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10528 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10530 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10532 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10533 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10534 AUTH_DES and cindex for FIPS 140-2.
10535 (DES Encryption): Add cindex FIPS 46-3.
10537 * locale/locarchive.h (struct locarhandle): Add fname.
10538 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10539 if an optional argument was specified to --list-archive,
10541 * locale/programs/locarchive.c (show_archive_content): Take new
10542 argument fname and pass it via ah.fname to open_archive.
10543 * locale/programs/localedef.h: Update decl.
10544 (open_archive): If AH->fname is non-null, open that file
10545 rather than the default file name, and don't ignore ENOENT.
10546 (create_archive): Set AH.fname to NULL.
10547 (delete_locales_from_archive): Likewise.
10548 (add_locales_to_archive): Likewise.
10549 * locale/programs/locfile.c (write_all_categories): Likewise.
10551 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10552 Aldy Hernandez <aldyh@redhat.com>
10554 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10555 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10556 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10557 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10558 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10559 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10561 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10562 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10563 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10565 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10566 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10567 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10570 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10572 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10574 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10576 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10577 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10579 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10580 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10581 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10582 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10584 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10585 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10586 * sysdeps/powerpc/preconfigure: Likewise.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10589 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10590 Replace contents of file by #include of <fenv_libc.h>.
10591 * sysdeps/powerpc/soft-fp/sfp-machine.h
10592 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10594 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10607 Allow copysignl PLT reference to be missing.
10609 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10610 Joseph Myers <joseph@codesourcery.com
10613 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10615 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10617 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10619 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10620 * elf/tst-tls1.c: Likewise.
10621 * elf/tst-tls10.h: Likewise.
10622 * elf/tst-tls14.c: Likewise.
10623 * elf/tst-tls2.c: Likewise.
10624 * elf/tst-tls3.c: Likewise.
10625 * elf/tst-tls4.c: Likewise.
10626 * elf/tst-tls5.c: Likewise.
10627 * elf/tst-tls6.c: Likewise.
10628 * elf/tst-tls7.c: Likewise.
10629 * elf/tst-tls8.c: Likewise.
10630 * elf/tst-tls9.c: Likewise.
10631 * elf/tst-tlsmod1.c: Likewise.
10632 * elf/tst-tlsmod13.c: Likewise.
10633 * elf/tst-tlsmod13a.c: Likewise.
10634 * elf/tst-tlsmod14a.c: Likewise.
10635 * elf/tst-tlsmod16a.c: Likewise.
10636 * elf/tst-tlsmod16b.c: Likewise.
10637 * elf/tst-tlsmod2.c: Likewise.
10638 * elf/tst-tlsmod3.c: Likewise.
10639 * elf/tst-tlsmod4.c: Likewise.
10640 * elf/tst-tlsmod5.c: Likewise.
10641 * elf/tst-tlsmod6.c: Likewise.
10643 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10646 * malloc/malloc.c: remove checks for statistics.
10648 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10651 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10652 * inet/tst-network.c: Add testcase.
10654 2013-10-17 Andreas Schwab <schwab@suse.de>
10657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10658 to determine canonical name.
10660 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10662 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10663 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10686 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10687 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10692 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10721 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10724 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10725 make result into a quiet NaN.
10727 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10729 * soft-fp/adddf3.c: Fix horizontal whitespace.
10730 * soft-fp/addsf3.c: Likewise.
10731 * soft-fp/addtf3.c: Likewise.
10732 * soft-fp/divdf3.c: Likewise.
10733 * soft-fp/divsf3.c: Likewise.
10734 * soft-fp/divtf3.c: Likewise.
10735 * soft-fp/double.h: Likewise.
10736 * soft-fp/eqdf2.c: Likewise.
10737 * soft-fp/eqsf2.c: Likewise.
10738 * soft-fp/eqtf2.c: Likewise.
10739 * soft-fp/extenddftf2.c: Likewise.
10740 * soft-fp/extended.h: Likewise.
10741 * soft-fp/extendsfdf2.c: Likewise.
10742 * soft-fp/extendsftf2.c: Likewise.
10743 * soft-fp/extendxftf2.c: Likewise.
10744 * soft-fp/fixdfdi.c: Likewise.
10745 * soft-fp/fixdfsi.c: Likewise.
10746 * soft-fp/fixdfti.c: Likewise.
10747 * soft-fp/fixsfdi.c: Likewise.
10748 * soft-fp/fixsfsi.c: Likewise.
10749 * soft-fp/fixsfti.c: Likewise.
10750 * soft-fp/fixtfdi.c: Likewise.
10751 * soft-fp/fixtfsi.c: Likewise.
10752 * soft-fp/fixtfti.c: Likewise.
10753 * soft-fp/fixunsdfdi.c: Likewise.
10754 * soft-fp/fixunsdfsi.c: Likewise.
10755 * soft-fp/fixunsdfti.c: Likewise.
10756 * soft-fp/fixunssfdi.c: Likewise.
10757 * soft-fp/fixunssfsi.c: Likewise.
10758 * soft-fp/fixunssfti.c: Likewise.
10759 * soft-fp/fixunstfdi.c: Likewise.
10760 * soft-fp/fixunstfsi.c: Likewise.
10761 * soft-fp/fixunstfti.c: Likewise.
10762 * soft-fp/floatdidf.c: Likewise.
10763 * soft-fp/floatdisf.c: Likewise.
10764 * soft-fp/floatditf.c: Likewise.
10765 * soft-fp/floatsidf.c: Likewise.
10766 * soft-fp/floatsisf.c: Likewise.
10767 * soft-fp/floatsitf.c: Likewise.
10768 * soft-fp/floattidf.c: Likewise.
10769 * soft-fp/floattisf.c: Likewise.
10770 * soft-fp/floattitf.c: Likewise.
10771 * soft-fp/floatundidf.c: Likewise.
10772 * soft-fp/floatundisf.c: Likewise.
10773 * soft-fp/floatunditf.c: Likewise.
10774 * soft-fp/floatunsidf.c: Likewise.
10775 * soft-fp/floatunsisf.c: Likewise.
10776 * soft-fp/floatunsitf.c: Likewise.
10777 * soft-fp/floatuntidf.c: Likewise.
10778 * soft-fp/floatuntisf.c: Likewise.
10779 * soft-fp/floatuntitf.c: Likewise.
10780 * soft-fp/fmadf4.c: Likewise.
10781 * soft-fp/fmasf4.c: Likewise.
10782 * soft-fp/fmatf4.c: Likewise.
10783 * soft-fp/gedf2.c: Likewise.
10784 * soft-fp/gesf2.c: Likewise.
10785 * soft-fp/getf2.c: Likewise.
10786 * soft-fp/ledf2.c: Likewise.
10787 * soft-fp/lesf2.c: Likewise.
10788 * soft-fp/letf2.c: Likewise.
10789 * soft-fp/muldf3.c: Likewise.
10790 * soft-fp/mulsf3.c: Likewise.
10791 * soft-fp/multf3.c: Likewise.
10792 * soft-fp/negdf2.c: Likewise.
10793 * soft-fp/negsf2.c: Likewise.
10794 * soft-fp/negtf2.c: Likewise.
10795 * soft-fp/op-1.h: Likewise.
10796 * soft-fp/op-2.h: Likewise.
10797 * soft-fp/op-4.h: Likewise.
10798 * soft-fp/op-8.h: Likewise.
10799 * soft-fp/op-common.h: Likewise.
10800 * soft-fp/quad.h: Likewise.
10801 * soft-fp/single.h: Likewise.
10802 * soft-fp/soft-fp.h: Likewise.
10803 * soft-fp/sqrtdf2.c: Likewise.
10804 * soft-fp/sqrtsf2.c: Likewise.
10805 * soft-fp/sqrttf2.c: Likewise.
10806 * soft-fp/subdf3.c: Likewise.
10807 * soft-fp/subsf3.c: Likewise.
10808 * soft-fp/subtf3.c: Likewise.
10809 * soft-fp/truncdfsf2.c: Likewise.
10810 * soft-fp/trunctfdf2.c: Likewise.
10811 * soft-fp/trunctfsf2.c: Likewise.
10812 * soft-fp/trunctfxf2.c: Likewise.
10813 * soft-fp/unorddf2.c: Likewise.
10814 * soft-fp/unordsf2.c: Likewise.
10815 * soft-fp/unordtf2.c: Likewise.
10817 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10819 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10820 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10822 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10824 * elf/dl-libc.c: Clear initfini list after freeing.
10826 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10828 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10829 * soft-fp/addsf3.c: Likewise.
10830 * soft-fp/addtf3.c: Likewise.
10831 * soft-fp/divdf3.c: Likewise.
10832 * soft-fp/divsf3.c: Likewise.
10833 * soft-fp/divtf3.c: Likewise.
10834 * soft-fp/double.h: Likewise.
10835 * soft-fp/eqdf2.c: Likewise.
10836 * soft-fp/eqsf2.c: Likewise.
10837 * soft-fp/eqtf2.c: Likewise.
10838 * soft-fp/extenddftf2.c: Likewise.
10839 * soft-fp/extended.h: Likewise.
10840 * soft-fp/extendsfdf2.c: Likewise.
10841 * soft-fp/extendsftf2.c: Likewise.
10842 * soft-fp/extendxftf2.c: Likewise.
10843 * soft-fp/fixdfdi.c: Likewise.
10844 * soft-fp/fixdfsi.c: Likewise.
10845 * soft-fp/fixdfti.c: Likewise.
10846 * soft-fp/fixsfdi.c: Likewise.
10847 * soft-fp/fixsfsi.c: Likewise.
10848 * soft-fp/fixsfti.c: Likewise.
10849 * soft-fp/fixtfdi.c: Likewise.
10850 * soft-fp/fixtfsi.c: Likewise.
10851 * soft-fp/fixtfti.c: Likewise.
10852 * soft-fp/fixunsdfdi.c: Likewise.
10853 * soft-fp/fixunsdfsi.c: Likewise.
10854 * soft-fp/fixunsdfti.c: Likewise.
10855 * soft-fp/fixunssfdi.c: Likewise.
10856 * soft-fp/fixunssfsi.c: Likewise.
10857 * soft-fp/fixunssfti.c: Likewise.
10858 * soft-fp/fixunstfdi.c: Likewise.
10859 * soft-fp/fixunstfsi.c: Likewise.
10860 * soft-fp/fixunstfti.c: Likewise.
10861 * soft-fp/floatdidf.c: Likewise.
10862 * soft-fp/floatdisf.c: Likewise.
10863 * soft-fp/floatditf.c: Likewise.
10864 * soft-fp/floatsidf.c: Likewise.
10865 * soft-fp/floatsisf.c: Likewise.
10866 * soft-fp/floatsitf.c: Likewise.
10867 * soft-fp/floattidf.c: Likewise.
10868 * soft-fp/floattisf.c: Likewise.
10869 * soft-fp/floattitf.c: Likewise.
10870 * soft-fp/floatundidf.c: Likewise.
10871 * soft-fp/floatundisf.c: Likewise.
10872 * soft-fp/floatunsidf.c: Likewise.
10873 * soft-fp/floatunsisf.c: Likewise.
10874 * soft-fp/floatuntidf.c: Likewise.
10875 * soft-fp/floatuntisf.c: Likewise.
10876 * soft-fp/floatuntitf.c: Likewise.
10877 * soft-fp/fmadf4.c: Likewise.
10878 * soft-fp/fmasf4.c: Likewise.
10879 * soft-fp/fmatf4.c: Likewise.
10880 * soft-fp/gedf2.c: Likewise.
10881 * soft-fp/gesf2.c: Likewise.
10882 * soft-fp/getf2.c: Likewise.
10883 * soft-fp/ledf2.c: Likewise.
10884 * soft-fp/lesf2.c: Likewise.
10885 * soft-fp/letf2.c: Likewise.
10886 * soft-fp/muldf3.c: Likewise.
10887 * soft-fp/mulsf3.c: Likewise.
10888 * soft-fp/multf3.c: Likewise.
10889 * soft-fp/negdf2.c: Likewise.
10890 * soft-fp/negsf2.c: Likewise.
10891 * soft-fp/negtf2.c: Likewise.
10892 * soft-fp/op-1.h: Likewise.
10893 * soft-fp/op-2.h: Likewise.
10894 * soft-fp/op-4.h: Likewise.
10895 * soft-fp/op-8.h: Likewise.
10896 * soft-fp/op-common.h: Likewise.
10897 * soft-fp/quad.h: Likewise.
10898 * soft-fp/single.h: Likewise.
10899 * soft-fp/soft-fp.h: Likewise.
10900 * soft-fp/sqrtdf2.c: Likewise.
10901 * soft-fp/sqrtsf2.c: Likewise.
10902 * soft-fp/sqrttf2.c: Likewise.
10903 * soft-fp/subdf3.c: Likewise.
10904 * soft-fp/subsf3.c: Likewise.
10905 * soft-fp/subtf3.c: Likewise.
10906 * soft-fp/truncdfsf2.c: Likewise.
10907 * soft-fp/trunctfdf2.c: Likewise.
10908 * soft-fp/trunctfsf2.c: Likewise.
10909 * soft-fp/trunctfxf2.c: Likewise.
10910 * soft-fp/unorddf2.c: Likewise.
10911 * soft-fp/unordsf2.c: Likewise.
10912 * soft-fp/unordtf2.c: Likewise.
10914 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10917 * misc/error.c (error_tail): Fix possible buffer overflow.
10919 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10922 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10925 2013-10-14 P. J. McDermott <pj@pehjota.net>
10928 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10929 testing pipefail option.
10931 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10933 * soft-fp/double.h: Indent preprocessor directives inside #if.
10934 * soft-fp/extended.h: Likewise.
10935 * soft-fp/op-2.h: Likewise.
10936 * soft-fp/op-4.h: Likewise.
10937 * soft-fp/op-common.h: Likewise.
10938 * soft-fp/quad.h: Likewise.
10939 * soft-fp/single.h: Likewise.
10940 * soft-fp/soft-fp.h: Likewise.
10942 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10944 * iconv/iconv_prog.c: Fix typos.
10945 * stdio-common/psiginfo-data.h: Likewise.
10947 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10950 * locale/setlocale.c: Fix typo.
10952 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10955 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10956 signaling NaN arguments.
10957 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10958 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10961 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10962 unordered operands.
10963 * soft-fp/gesf2.c (__gesf2): Likewise.
10964 * soft-fp/getf2.c (__getf2): Likewise.
10965 * soft-fp/ledf2.c (__ledf2): Likewise.
10966 * soft-fp/lesf2.c (__lesf2): Likewise.
10967 * soft-fp/letf2.c (__letf2): Likewise.
10969 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10970 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10971 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10972 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10973 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10974 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10975 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10976 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10977 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10978 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10979 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10980 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10981 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10982 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10983 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10984 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10985 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10986 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10987 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10988 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10989 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10990 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10991 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10992 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10993 * soft-fp/floattidf.c (__floattidf): Likewise.
10994 * soft-fp/floattisf.c (__floattisf): Likewise.
10995 * soft-fp/floattitf.c (__floattitf): Likewise.
10996 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10997 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10998 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10999 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11000 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11001 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11002 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11003 * soft-fp/gesf2.c (__gesf2): Likewise.
11004 * soft-fp/getf2.c (__getf2): Likewise.
11005 * soft-fp/ledf2.c (__ledf2): Likewise.
11006 * soft-fp/lesf2.c (__lesf2): Likewise.
11007 * soft-fp/letf2.c (__letf2): Likewise.
11009 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11010 Undefine and redefine.
11011 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11012 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11013 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11014 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11015 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11016 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11017 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11018 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11019 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11020 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11021 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11022 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11023 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11024 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11025 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11028 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11029 without decrementing exponent if mantissa >= that for the
11030 denominator, not >.
11031 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11032 denominator, not >. Decrement exponent in < case instead of
11033 incrementing in >= case.
11034 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11035 without decrementing exponent if mantissa >= that for the
11036 denominator, not >.
11038 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11039 computing saturated result for unsigned overflow.
11041 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11042 Jeff Law <law@redhat.com>
11044 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11045 (atan2Mp): Add systemtap probe marker.
11046 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11047 (__ieee754_log): Add systemtap probe marker.
11048 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11049 (atanMp): Add systemtap probe marker.
11050 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11051 (tanMp): Add systemtap probe marker.
11052 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11053 (__slowexp): Add systemtap probe marker.
11054 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11055 (__slowpow): Add systemtap probe marker.
11056 * manual/probes.texi: Document probes.
11058 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11061 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11063 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11065 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11066 written to buffer but not flushed.
11067 * libio/iofwrite_u.c: Likewise.
11068 * libio/iopadn.c: Return bytes returned even if EOF was
11070 * libio/iowpadn.c: Likewise.
11071 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11072 if _IO_padn does not write the whole buffer.
11073 [!COMPILE_WPRINTF] (PAD): Likewise.
11075 2013-10-10 David S. Miller <davem@davemloft.net>
11077 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11080 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11082 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11083 instead of FSF address.
11084 * soft-fp/fixdfti.c: Likewise.
11085 * soft-fp/fixsfti.c: Likewise.
11086 * soft-fp/fixtfti.c: Likewise.
11087 * soft-fp/fixunsdfti.c: Likewise.
11088 * soft-fp/fixunssfti.c: Likewise.
11089 * soft-fp/fixunstfti.c: Likewise.
11090 * soft-fp/floattidf.c: Likewise.
11091 * soft-fp/floattisf.c: Likewise.
11092 * soft-fp/floattitf.c: Likewise.
11093 * soft-fp/floatuntidf.c: Likewise.
11094 * soft-fp/floatuntisf.c: Likewise.
11095 * soft-fp/floatuntitf.c: Likewise.
11096 * soft-fp/trunctfxf2.c: Likewise.
11098 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11099 * soft-fp/fixdfti.c: Likewise.
11100 * soft-fp/fixsfti.c: Likewise.
11101 * soft-fp/fixtfti.c: Likewise.
11102 * soft-fp/fixunsdfti.c: Likewise.
11103 * soft-fp/fixunssfti.c: Likewise.
11104 * soft-fp/fixunstfti.c: Likewise.
11105 * soft-fp/floattidf.c: Likewise.
11106 * soft-fp/floattisf.c: Likewise.
11107 * soft-fp/floattitf.c: Likewise.
11108 * soft-fp/floatuntidf.c: Likewise.
11109 * soft-fp/floatuntisf.c: Likewise.
11110 * soft-fp/floatuntitf.c: Likewise.
11111 * soft-fp/trunctfxf2.c: Likewise.
11113 2013-10-10 David S. Miller <davem@davemloft.net>
11115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11117 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11119 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11120 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11121 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11122 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11123 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11124 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11125 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11128 for NaNs before doing comparisons on argument.
11129 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11132 2013-10-10 Will Newton <will.newton@linaro.org>
11134 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11135 passed to _int_memalign does not overflow.
11137 2013-10-10 Torvald Riegel <triegel@redhat.com>
11139 * scripts/bench.pl: Add include-sources directive.
11140 * benchtests/README: Update documentation.
11142 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11144 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11145 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11146 instead of FP_INIT_ROUNDMODE.
11147 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11148 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11151 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11152 copy class of input value.
11153 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11154 not handle exceptions.
11155 * soft-fp/negsf2.c (__negsf2): Likewise.
11156 * soft-fp/negtf2.c (__negtf2): Likewise.
11157 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11159 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11161 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11162 semicolon. From Linux kernel.
11164 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11166 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11168 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11171 * manual/socket.texi: Added statement about buffer
11172 for gethostbyname2_r.
11174 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11176 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11177 Use .p2align directive instead, throughout.
11178 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11179 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11180 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11183 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11184 * sysdeps/x86_64/strchr.S: Likewise.
11185 * sysdeps/x86_64/strrchr.S: Likewise.
11187 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11189 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11191 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11193 * sysdeps/generic/math_private.h (__mpsin1): Remove
11195 (__mpcos1): Likewise.
11196 (__mpsin): New argument __range_reduce.
11197 (__mpcos): Likewise.
11198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11199 (slow): Use __mpsin and __mpcos.
11203 (sloww1): Likewise.
11204 (sloww2): Likewise.
11205 (bsloww): Likewise.
11206 (bsloww1): Likewise.
11207 (bsloww2): Likewise.
11208 (cslow2): Likewise.
11209 (csloww): Likewise.
11210 (csloww1): Likewise.
11211 (csloww2): Likewise.
11212 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11213 range_reduce. Merge in __mpsin1.
11214 (__mpcos): Likewise.
11215 (__mpsin1): Remove.
11216 (__mpcos1): Likewise.
11218 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11220 * locale/loadlocale.c (_nl_intern_locale_data): Use
11222 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11223 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11224 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11225 obstack data is appropriately aligned.
11226 (obstack_int32_grow_fast): Likewise.
11227 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11228 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11229 (add_locale_uint32_array): Likewise.
11231 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11233 * benchtests/Makefile: Remove ARGLIST and RET variables.
11234 ($(objpfx)bench-%.c): Pass only function name to the script.
11235 * benchtests/README: Update documentation.
11236 * benchtests/acos-inputs: Add new directives.
11237 * benchtests/acosh-inputs: Likewise.
11238 * benchtests/asin-inputs: Likewise.
11239 * benchtests/asinh-inputs: Likewise.
11240 * benchtests/atan-inputs: Likewise.
11241 * benchtests/atanh-inputs: Likewise.
11242 * benchtests/cos-inputs: Likewise.
11243 * benchtests/cosh-inputs: Likewise.
11244 * benchtests/exp-inputs: Likewise.
11245 * benchtests/log-inputs: Likewise.
11246 * benchtests/pow-inputs: Likewise.
11247 * benchtests/rint-inputs: Likewise.
11248 * benchtests/sin-inputs: Likewise.
11249 * benchtests/sinh-inputs: Likewise.
11250 * benchtests/tan-inputs: Likewise.
11251 * benchtests/tanh-inputs: Likewise.
11252 * scripts/bench.pl: Add support for new directives.
11254 2013-10-07 Alan Modra <amodra@gmail.com>
11256 * README: Fix careless merge.
11258 2013-10-05 Alan Modra <amodra@gmail.com>
11260 * NEWS: Mention powerpc64le support and bugs fixed.
11261 * README: Both big-endian and little-endian powerpc64 supported.
11263 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11265 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11266 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11267 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11268 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11270 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11272 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11275 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11277 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11278 Move -mhard-float appending from
11279 ports/sysdeps/powerpc/powerpc32/Makefile.
11280 [$(with-fp) = yes] (ASFLAGS): Likewise.
11281 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11282 * sysdeps/powerpc/nofpu: Move directory from
11283 ports/sysdeps/powerpc/nofpu.
11284 * sysdeps/powerpc/soft-fp: Move directory from
11285 ports/sysdeps/powerpc/soft-fp.
11286 * sysdeps/powerpc/powerpc32/405: Move directory from
11287 ports/sysdeps/powerpc/powerpc32/405.
11288 * sysdeps/powerpc/powerpc32/440: Move directory from
11289 ports/sysdeps/powerpc/powerpc32/440.
11290 * sysdeps/powerpc/powerpc32/464: Move directory from
11291 ports/sysdeps/powerpc/powerpc32/464.
11292 * sysdeps/powerpc/powerpc32/476: Move directory from
11293 ports/sysdeps/powerpc/powerpc32/476.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11295 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11297 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11299 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11301 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11303 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11304 * README: Update for powerpc-*-linux-gnu software floating point
11307 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11308 case to powerpc/powerpc32*.
11309 * sysdeps/unix/sysv/linux/configure: Regenerated.
11311 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11312 (_FPU_MASK_OM): Define as 0x04.
11313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11321 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11324 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11327 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11328 and setcontext_e500.
11330 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11332 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11334 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11336 * manual/threads.texi (Default Thread Attributes): Fix typo.
11338 2013-10-04 Will Newton <will.newton@linaro.org>
11340 * malloc/Makefile: Add tst-memalign.
11341 * malloc/tst-memalign.c: New file.
11343 * malloc/tst-posix_memalign.c: Add comments.
11344 (do_test): Add comments and call free on all potentially
11345 allocated pointers. Add space after cast.
11347 * malloc/tst-pvalloc.c: Add comments.
11348 (do_test): Add comments and call free on all potentially
11349 allocated pointers. Remove duplicate check for NULL pointer.
11350 Add space after cast.
11352 * malloc/tst-valloc.c: Add comments.
11353 (do_test): Add comments and call free on all potentially
11354 allocated pointers. Remove duplicate check for NULL pointer.
11355 Add space after cast.
11357 2013-10-04 Alan Modra <amodra@gmail.com>
11359 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11360 Use stdint types in rather than __attribute__((mode())).
11361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11363 2013-10-04 Alan Modra <amodra@gmail.com>
11365 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11366 Correct handling of unaligned relocs for little-endian.
11367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11369 2013-10-04 Alan Modra <amodra@gmail.com>
11371 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11372 * configure: Regenerate.
11373 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11374 * shlib-versions: Likewise.
11376 2013-10-04 Alan Modra <amodra@gmail.com>
11378 * string/tester.c (test_memrchr): Increment reported test cycle.
11380 2013-10-04 Alan Modra <amodra@gmail.com>
11382 * string/test-memcpy.c (do_one_test): When reporting errors, print
11383 string address and don't overrun end of string.
11385 2013-10-04 Alan Modra <amodra@gmail.com>
11387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11388 insrdi. Make better use of reg selection to speed exit slightly.
11389 Schedule entry path a little better. Remove useless "are we done"
11390 checks on entry to main loop. Handle wrapping around zero address.
11391 Correct main loop count. Handle single left-over word from main
11392 loop inline rather than by using loop_small. Remove extra word
11393 case in loop_small caused by wrong loop count. Add little-endian
11395 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11398 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11399 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11400 support. Avoid rlwimi.
11401 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11403 2013-10-04 Alan Modra <amodra@gmail.com>
11405 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11406 insrdi. Formatting.
11407 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11408 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11409 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11414 2013-10-04 Alan Modra <amodra@gmail.com>
11416 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11417 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11419 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11425 use of regs. Use power7 mtocrf. Tidy function tails.
11427 2013-10-04 Alan Modra <amodra@gmail.com>
11429 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11430 Formatting. Consistently use rXXX register defines or rN defines.
11431 Use early exit labels that avoid restoring unused non-volatile regs.
11432 Make cr field use more consistent with rWORDn compares. Rename
11433 regs used as shift registers for unaligned loop, using rN defines
11434 for short lifetime/multiple use regs.
11435 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11437 addi 1,1,64 to pop stack frame. Simplify return value code.
11438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11440 2013-10-04 Alan Modra <amodra@gmail.com>
11442 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11443 support. Correct typos, formatting. Optimize tail. Use insrdi
11444 rather than rlwimi.
11445 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11447 little-endian support. Correct typos.
11448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11449 rather than rlwimi.
11450 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11451 in loop and entry code to keep "and." results.
11452 (strchr): Add little-endian support. Comment. Move cntlzd
11454 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11456 2013-10-04 Alan Modra <amodra@gmail.com>
11458 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11459 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11460 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11461 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11463 2013-10-04 Alan Modra <amodra@gmail.com>
11465 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11466 (rTMP): Define as r11.
11467 (strcmp): Add little-endian support. Optimise tail.
11468 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11469 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11470 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11472 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11476 2013-10-04 Alan Modra <amodra@gmail.com>
11478 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11479 little-endian support. Remove unnecessary "are we done" tests.
11480 Handle "s" wrapping around zero and extremely large "size".
11481 Correct main loop count. Handle single left-over word from main
11482 loop inline rather than by using small_loop. Correct comments.
11483 Delete "zero" tail, use "end_max" instead.
11484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11486 2013-10-04 Alan Modra <amodra@gmail.com>
11488 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11489 support. Don't branch over align.
11490 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11491 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11492 support. Rearrange tmp reg use to suit. Comment.
11493 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11495 2013-10-04 Alan Modra <amodra@gmail.com>
11497 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11499 2013-10-04 Alan Modra <amodra@gmail.com>
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11502 conditional form of branch and link when obtaining pc.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11505 2013-10-04 Alan Modra <amodra@gmail.com>
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11512 2013-10-04 Alan Modra <amodra@gmail.com>
11514 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11515 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11516 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11517 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11518 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11519 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11520 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11521 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11522 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11523 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11525 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11526 Alistair Popple <alistair@ozlabs.au.ibm.com>
11527 Alan Modra <amodra@gmail.com>
11530 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11531 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11532 _dl_hwcap access for little-endian.
11533 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11534 destroy vmx regs when saving unaligned.
11535 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11536 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11537 destroy vmx regs when saving unaligned.
11539 2013-10-04 Alan Modra <amodra@gmail.com>
11541 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11542 Don't use a union to pack hi/low value.
11544 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11546 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11548 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11550 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11551 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11554 2013-10-04 Alan Modra <amodra@gmail.com>
11556 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11557 constants to usual value for .cst8 section, and remove redundant
11559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11560 constant for 0x1p52. Load little-endian words of double from
11561 correct stack offsets.
11563 2013-10-04 Alan Modra <amodra@gmail.com>
11565 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11566 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11567 words of double from correct stack offsets.
11568 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11570 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11574 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11575 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11576 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11577 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11580 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11581 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11582 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11583 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11584 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11586 2013-10-04 Alan Modra <amodra@gmail.com>
11588 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11589 64-bit int/double union.
11590 (_FPU_SETCW): Likewise.
11591 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11592 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11594 2013-10-04 Alan Modra <amodra@gmail.com>
11596 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11597 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11599 2013-10-04 Alan Modra <amodra@gmail.com>
11601 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11602 use vector int constants.
11603 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11605 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11607 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11608 array with long long.
11609 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11610 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11611 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11612 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11613 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11614 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11615 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11616 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11617 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11618 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11619 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11620 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11621 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11623 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11625 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11626 (__signbit): Likewise. Correct for little-endian.
11627 (__signbitl): Call __signbit.
11628 (lrint): Correct for little-endian.
11629 (lrintf): Call lrint.
11631 2013-10-04 Alan Modra <amodra@gmail.com>
11633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11634 union 32-bit int array member with 64-bit int array.
11635 (t515, tm256): Double rather than long double.
11636 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11638 2013-10-04 Alan Modra <amodra@gmail.com>
11640 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11642 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11644 version of math_ldbl.h.
11646 2013-10-04 Alan Modra <amodra@gmail.com>
11648 [BZ #15734], [BZ #15735]
11649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11650 all uses of ieee875 long double macros and unions. Simplify test
11651 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11652 ldbl_extract_mantissa value for ix,iy exponents. Properly
11653 normalize after ldbl_extract_mantissa, and don't add hidden bit
11654 already handled. Don't treat low word of ieee854 mantissa like
11655 low word of IBM long double and mask off bit when testing for
11657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11658 all uses of ieee875 long double macros and unions. Simplify tests
11659 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11660 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11661 two1022, instead use their values. Recognise that tests for large
11662 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11664 Rewrite all uses of ieee875 long double macros and unions. Simplify
11665 test for 0.0L and nan. Correct negation.
11666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11667 ieee875 long double macros and unions. Correct output for large
11668 magnitude x. Correct absolute value calculation.
11669 (__erfcl): Likewise.
11670 * math/libm-test.inc: Add tests for errors discovered in IBM long
11671 double versions of fmodl, remainderl, erfl and erfcl.
11673 2013-10-04 Alan Modra <amodra@gmail.com>
11675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11676 all uses of ieee854 long double macros and unions. Simplify tests
11677 for long doubles that are fully specified by the high double.
11678 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11680 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11681 Remove dead code too.
11682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11683 (__ieee754_ynl): Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11687 Remove dead code too.
11688 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11698 Comment on variable precision.
11699 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11702 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11708 2013-10-04 Alan Modra <amodra@gmail.com>
11710 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11711 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11712 all uses of ieee854 long double macros and unions.
11713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11726 Simplify sign and nan test too.
11727 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11732 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11742 2013-10-04 Alan Modra <amodra@gmail.com>
11744 * stdio-common/printf_size.c (__printf_size): Don't use
11745 union ieee854_long_double in fpnum union.
11746 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11747 signbit macro to retrieve sign from long double.
11748 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11749 retrieve sign from long double.
11750 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11751 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11752 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11753 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11754 * math/test-misc.c (main): Don't use union ieee854_long_double.
11756 2013-10-04 Alan Modra <amodra@gmail.com>
11759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11760 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11761 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11762 calculation. Remove unnecessary test for denormal exponent.
11763 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11764 Correct handling of denormals. Avoid undefined shift behaviour.
11765 Correct normalisation of low mantissa when low double is denormal.
11766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11767 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11768 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11769 Correct normalisation of low mantissa. Test for overflow of high
11770 mantissa and normalise.
11771 (ldbl_nearbyint): Use more readable constant for two52.
11772 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11773 (__mpn_construct_long_double): Fix test for overflow of high
11774 mantissa and correct normalisation. Avoid undefined shift.
11776 2013-10-04 Alan Modra <amodra@gmail.com>
11778 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11779 (union ibm_extended_long_double): Define as an array of ieee754_double.
11780 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11781 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11782 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11783 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11792 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11794 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11795 page size instead of calling getpagesize.
11797 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11798 (LOCFILE_ALIGN_MASK): Likewise.
11799 (LOCFILE_ALIGN_UP): Likewise.
11800 (LOCFILE_ALIGNED_P): Likewise.
11801 * locale/programs/ld-collate.c (collate_output): Use the new
11802 macros instead of __alignof__ (int32_t).
11803 * locale/weight.h (findidx): Likewise.
11805 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11808 * manual/string.texi: Fix strncat and wcsncat.
11810 2013-10-03 Brooks Moses <bmoses@google.com>
11813 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11814 * Makerules: ...here, and adjust associated comments.
11816 2013-10-02 Will Newton <will.newton@linaro.org>
11818 * malloc/Makefile: Add tst-pvalloc.
11819 * malloc/tst-pvalloc.c: New file.
11821 2013-10-02 Will Newton <will.newton@linaro.org>
11823 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11824 improve test coverage.
11826 2013-10-02 Will Newton <will.newton@linaro.org>
11828 * malloc/Makefile: Add tst-posix_memalign.
11829 * malloc/tst-posix_memalign.c: New file.
11831 2013-10-01 Eric Blake <eblake@redhat.com>
11833 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11834 Use __THROWNL rather than __THROW on static functions.
11836 2013-09-30 Petr Machata <pmachata@redhat.com>
11838 * elf/elf.h (R_AARCH64_ABS16): New macro.
11839 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11840 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11841 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11842 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11843 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11844 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11845 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11846 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11847 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11848 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11849 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11850 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11851 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11852 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11853 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11854 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11855 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11856 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11857 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11858 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11859 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11860 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11861 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11862 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11863 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11864 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11865 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11866 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11867 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11868 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11869 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11870 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11871 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11872 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11873 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11874 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11875 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11876 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11877 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11878 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11879 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11880 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11881 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11882 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11883 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11884 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11885 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11886 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11887 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11888 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11889 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11890 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11891 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11892 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11893 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11894 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11895 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11896 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11897 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11898 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11899 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11900 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11901 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11902 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11903 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11904 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11905 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11906 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11907 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11908 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11909 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11910 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11911 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11912 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11913 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11914 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11915 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11916 (R_AARCH64_TLSDESC_LDR): Likewise.
11917 (R_AARCH64_TLSDESC_ADD): Likewise.
11918 (R_AARCH64_TLSDESC_CALL): Likewise.
11920 2013-09-30 Andreas Schwab <schwab@suse.de>
11923 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11924 the nss database lookup.
11925 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11928 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11930 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11932 2013-09-28 P. J. McDermott <pj@pehjota.net>
11934 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11935 ${Bash-specific parameter/pattern/string} parameter expansion.
11936 * sysdeps/unix/make-syscalls.sh: Likewise.
11938 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11940 * sysdeps/sh/stackguard-macros.h: New file.
11942 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11946 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11947 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11949 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11951 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11954 Fix thread ID register.
11956 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11958 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11959 [POSIX || UNIX98]: Require rather than permitting all symbols from
11961 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11962 element of struct sched_param.
11963 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11964 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11965 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11966 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11969 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11971 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11972 argument calculation.
11974 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11976 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11978 [POSIX] (pthread_attr_t): Do not require type.
11979 [POSIX] (pthread_cond_t): Likewise.
11980 [POSIX] (pthread_condattr_t): Likewise.
11981 [POSIX] (pthread_key_t): Likewise.
11982 [POSIX] (pthread_mutex_t): Likewise.
11983 [POSIX] (pthread_mutexattr_t): Likewise.
11984 [POSIX] (pthread_once_t): Likewise.
11985 [POSIX] (pthread_t): Likewise.
11986 [POSIX-based standards] (pthread_atfork): Expect function.
11988 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11989 Richard Sandiford <richard@codesourcery.com>
11991 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11992 (swap_endianness_p): New extern variable.
11993 (set_big_endian): New inline function.
11994 (maybe_swap_uint32): Likewise.
11995 (maybe_swap_uint32_array): Likewise.
11996 (maybe_swap_uint32_obstack): Likewise.
11997 * locale/programs/locfile.c: Include <stdbool.h>.
11998 (swap_endianness_p): New variable.
11999 (add_locale_uint32): Call maybe_swap_uint32.
12000 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12001 (write_locale_data): Call maybe_swap_uint32_array.
12002 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12004 (obstack_int32_grow_fast): Likewise.
12005 (output_weightwc): Call maybe_swap_uint32_obstack.
12006 (collate_output): Likewise.
12007 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12008 (OPT_LITTLE_ENDIAN): Likewise.
12009 (options): Add --little-endian and --big-endian options.
12010 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12011 * locale/programs/locarchive.c: Include "locfile.h".
12015 (create_archive): Use the new macros to access fields of
12016 structures directly mapped from or written to locale archives.
12017 (oldlocrecentcmp): Likewise.
12018 (enlarge_archive): Likewise.
12019 (insert_name): Likewise.
12020 (add_alias): Likewise.
12021 (add_locale): Likewise.
12022 (delete_locales_from_archive): Likewise.
12023 (show_archive_content): Likewise.
12024 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12027 2013-09-24 Roland McGrath <roland@hack.frob.com>
12029 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12030 http://www.gnu.org/doc/freemanuals.texi.
12031 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12033 2013-09-24 Will Newton <will.newton@linaro.org>
12035 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12038 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12040 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12043 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12045 * manual/threads.texi (POSIX Threads): Fix a typo.
12047 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 * string/tst-strcoll-overflow.c: New test case.
12051 * string/Makefile (xtests): Add tst-strcoll-overflow.
12052 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12053 cache if string sizes may cause integer overflow.
12056 * string/strcoll_l.c (coll_seq): New members rule, idx,
12057 save_idx and back_us.
12058 (get_next_seq_nocache): New function.
12059 (do_compare_nocache): New function.
12060 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12063 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12066 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12067 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12068 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12071 * elf/Makefile (tests): Add tst-ptrguard1.
12072 (tests-static): Add tst-ptrguard1-static.
12073 (tst-ptrguard1-ARGS): Define.
12074 (tst-ptrguard1-static-ARGS): Define.
12075 * elf/tst-ptrguard1.c: New file.
12076 * elf/tst-ptrguard1-static.c: New file.
12077 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12078 * sysdeps/i386/stackguard-macros.h: Likewise.
12079 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12080 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12081 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12082 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12083 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12084 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12086 2013-09-23 Hector Marco <hecmargi@upv.es>
12087 Ismael Ripoll <iripoll@disca.upv.es>
12088 Carlos O'Donell <carlos@redhat.com>
12091 * sysdeps/generic/stackguard-macros.h: Define
12092 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12093 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12094 Define __pointer_chk_guard_local.
12095 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12096 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12098 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12101 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12103 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12105 * include/string.h (__ffs): Declare as hidden.
12106 * string/ffs.c (__ffs): Define as hidden.
12107 * sysdeps/i386/ffs.c (__ffs): Likewise.
12108 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12109 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12110 * sysdeps/s390/ffs.c (__ffs): Likewise.
12111 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12113 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12115 * NEWS: Mention malloc probes.
12117 * malloc/arena.c (new_heap): New memory_heap_new probe.
12118 (grow_heap): New memory_heap_more probe.
12119 (shrink_heap): New memory_heap_less probe.
12120 (heap_trim): New memory_heap_free probe.
12121 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12122 (systrim): New memory_sbrk_less probe.
12123 * manual/probes.texi: Document them.
12125 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12126 * manual/probes.texi: Document it.
12128 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12129 (__libc_realloc): Add memory_realloc_retry probe.
12130 (__libc_memalign): Add memory_memalign_retry probe.
12131 (__libc_valloc): Add memory_valloc_retry probe.
12132 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12133 (__libc_calloc): Add memory_calloc_retry probe.
12134 * manual/probes.texi: Document them.
12136 * malloc/arena.c (get_free_list): Add probe
12137 memory_arena_reuse_free_list.
12138 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12139 and memory_arena_reuse.
12140 (arena_get2) [!PER_THREAD]: Likewise.
12141 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12142 memory_arena_reuse_realloc.
12143 * manual/probes.texi: Document them.
12145 * malloc/malloc.c (__libc_free): Add
12146 memory_mallopt_free_dyn_thresholds probe.
12147 (__libc_mallopt): Add multiple memory_mallopt probes.
12148 * manual/probes.texi: Document them.
12150 * malloc/malloc.c: Include stap-probe.h.
12151 (__libc_mallopt): Add memory_mallopt probe.
12152 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12153 * manual/probes.texi: New.
12154 * manual/Makefile (chapters): Add probes.
12155 * manual/threads.texi: Set next node.
12157 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12159 [BZ #15963, #13985]
12160 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12161 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12162 Add `Chinese' to `nan' entry name.
12164 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12166 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12167 (POLYNOMIAL): Likewise.
12168 (TAYLOR_SINCOS): Likewise.
12169 (TAYLOR_SLOW): Likewise.
12170 (__sin): Use TAYLOR_SINCOS.
12172 (slow): Use TAYLOR_SLOW.
12174 (bsloww): Likewise.
12175 (csloww): Likewise.
12177 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12179 * stdlib/strtod_l.c: Fix buffer overrun.
12181 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12183 * benchtests/Makefile (bench): Add sincos.
12184 * benchtests/bench-sincos.c: New file.
12186 * math/libm-test.inc (cos_test_data): New test inputs.
12187 (sin_test_data): Likewise.
12189 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12195 (sloww1): Likewise.
12196 (sloww2): Likewise.
12197 (bsloww1): Likewise.
12198 (bsloww2): Likewise.
12199 (cslow2): Likewise.
12200 (csloww1): Likewise.
12201 (csloww2): Likewise.
12203 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12212 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12214 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12215 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12216 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12217 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12218 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12219 * elf/cache.c (print_entry): Handle the new cache flags.
12221 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12222 Aldy Hernandez <aldyh@redhat.com>
12224 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12225 Change condition to [_SOFT_FLOAT].
12226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12238 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12241 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12244 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12246 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12247 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12248 (__longjmp): Use LOAD_GP to load saved GPRs.
12249 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12250 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12251 (__sigsetjmp): Use SAVE_GP to save GPRs.
12253 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12254 Do not append -msoft-float.
12255 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12257 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12259 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12261 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12264 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12265 (_FPU_GETCW): Use initial "__" on variable and field names but not
12266 on macro parameter name.
12267 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12268 parentheses around reference to macro parameter.
12270 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12272 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12274 (ctype_startup): Use uint32_t in cast and sizeof for
12277 2013-09-11 Jia Liu <proljc@gmail.com>
12279 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12281 [__FreeBSD__]: Likewise.
12283 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12286 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12288 (strchr): Remove __strchr_sse42 ifunc selection.
12289 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12290 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12292 2013-09-11 Will Newton <will.newton@linaro.org>
12294 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12295 parameter to RES. Remove hardcoded 1000 value.
12296 * benchtests/bench-skeleton.c (main): Pass RES parameter
12297 to TIMING_INIT and multiply result by 1000.
12299 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12303 2013-09-11 Andreas Schwab <schwab@suse.de>
12305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12307 (O_TMPFILE) [__USE_GNU]: Define.
12308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12311 2013-09-11 Will Newton <will.newton@linaro.org>
12314 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12317 2013-09-11 Will Newton <will.newton@linaro.org>
12320 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12323 2013-09-11 Will Newton <will.newton@linaro.org>
12326 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12329 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12331 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12337 2013-09-10 Allan McRae <allan@archlinux.org>
12340 * manual/arith.texi (Parsing of Floats): Clarify
12344 * manual/install.texi (Running make install): Mention
12346 * INSTALL: Regenerated.
12348 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12350 * csu/init-first.c (_init): Remove the !SHARED condition around
12351 FPU control word initialization.
12352 * elf/dl-support.c (_dl_fpu_control): New variable.
12353 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12354 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12355 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12356 * math/test-fpucw-static.c: New file.
12357 * math/test-fpucw-ieee.c: New file.
12358 * math/test-fpucw-ieee-static.c: New file.
12359 * math/Makefile (tests): Add `test-fpucw-ieee' and
12361 (tests-static): New variable.
12362 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12364 [($(build-shared),yes)]
12365 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12367 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12370 2013-09-09 Allan McRae <allan@archlinux.org>
12373 * manual/string.texi (Collation Functions): Fix typo in
12375 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12378 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12381 * libio/memstream.c (open_memstream): Fix memory leak.
12382 * libio/wmemstream.c (open_wmemstream): Likewise.
12385 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12387 2013-09-09 Will Newton <will.newton@linaro.org>
12389 * malloc/Makefile: Add tst-realloc to tests.
12390 * malloc/tst-realloc.c: New file.
12392 2013-09-09 Allan McRae <allan@archlinux.org>
12395 * COPYING: Update from GNU website to fix FSF address.
12396 * COPYING.LIB: Likewise.
12398 2013-09-06 David S. Miller <davem@davemloft.net>
12400 * po/zh_TW.po: Update Chinese (traditional) translation from
12401 translation project.
12403 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12404 Joseph Myers <joseph@codesourcery.com>
12406 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12408 (obstack_chunk_alloc): New macro.
12409 (obstack_chunk_free): Likewise.
12410 (record_offset): New function.
12411 (init_locale_data): Likewise.
12412 (align_locale_data): Likewise.
12413 (add_locale_empty): Likewise.
12414 (add_locale_raw_data): Likewise.
12415 (add_locale_raw_obstack): Likewise.
12416 (add_locale_string): Likewise.
12417 (add_locale_wstring): Likewise.
12418 (add_locale_uint32): Likewise.
12419 (add_locale_uint32_array): Likewise.
12420 (add_locale_char): Likewise.
12421 (start_locale_structure): Likewise.
12422 (end_locale_structure): Likewise.
12423 (start_locale_prelude): Likewise.
12424 (end_locale_prelude): Likewise.
12425 (write_locale_data): Take locale_file structure rather than an
12427 * locale/programs/locfile.h: Include "obstack.h".
12428 (struct locale_file): Change to store locale file contents instead
12430 (init_locale_data): New prototype.
12431 (align_locale_data): Likewise.
12432 (add_locale_empty): Likewise.
12433 (add_locale_raw_data): Likewise.
12434 (add_locale_raw_obstack): Likewise.
12435 (add_locale_string): Likewise.
12436 (add_locale_wstring): Likewise.
12437 (add_locale_uint32): Likewise.
12438 (add_locale_uint32_array): Likewise.
12439 (add_locale_char): Likewise.
12440 (start_locale_structure): Likewise.
12441 (end_locale_structure): Likewise.
12442 (start_locale_prelude): Likewise.
12443 (end_locale_prelude): Likewise.
12444 (write_locale_data): Update prototype.
12445 * locale/programs/3level.h (struct TABLE): Remove result field.
12446 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12447 Use new locale_file interface.
12448 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12449 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12450 * locale/programs/ld-address.c (address_output): Use new
12451 locale_file interface.
12452 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12454 (collate_finish): Don't call collseq_table_finalize.
12455 (collate_output): Use new locale_file interface.
12456 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12458 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12459 (TABLE): Move defines earlier in file.
12460 (ELEMENT): Likewise.
12461 (DEFAULT): Likewise.
12462 (wctrans_table_add): Move macro and inline function earlier in
12464 (struct wctype_table): Move type earlier in file.
12465 (add_locale_wctype_table): New static prototype.
12466 (struct locale_ctype_t): Use logical types instead of struct iovec
12467 pointers for members.
12468 (ctype_output): Use new locale_file interface.
12469 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12470 new locale_file interface.
12471 (allocate_arrays): Update for use of new locale_file interface.
12472 * locale/programs/ld-identification.c (identification_output): Use
12473 new locale_file interface.
12474 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12475 * locale/programs/ld-messages.c (messages_output): Likewise.
12476 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12477 * locale/programs/ld-name.c (name_output): Likewise.
12478 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12479 * locale/programs/ld-paper.c (paper_output): Likewise.
12480 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12481 * locale/programs/ld-time.c (time_output): Likewise.
12483 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12485 * benchtests/Makefile: Add memrchr benchmark.
12486 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12487 benchmark as memrchr.
12488 * benchtests/bench-memrchr-ifunc.c: New file.
12489 * benchtests/bench-memrchr.c: New file.
12491 2013-09-06 Will Newton <will.newton@linaro.org>
12493 * benchtests/Makefile (string-bench): Add memcpy.
12495 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12496 Cong Wang <amwang@redhat.com>
12499 * sysdeps/unix/sysv/linux/bits/in.h
12500 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12501 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12502 before __USE_KERNEL_IPV6_DEFS uses.
12503 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12505 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12506 sockaddr_in6, or ipv6_mreq.
12508 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12510 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12511 memory access for final bytes in some large inputs.
12512 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12514 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12516 * string/test-memrchr.c: New file.
12517 * string/test-memrchr-ifunc.c: New file.
12518 * string/Makefile: Add new memrchr testcase.
12520 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12522 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12523 fanotify_init returns EPERM.
12525 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12527 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12529 (top level): Treat second token from macro or constant entries for
12530 allowed headers as allowed.
12531 * include/complex.h: Condition internal declarations on
12533 * include/fenv.h: Condition include of <stdbool.h> and internal
12534 declarations on [!_ISOMAC].
12536 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12539 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12541 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12543 * configure.in (--enable-versioning): Remove configure option.
12544 (libc_cv_asm_symver_directive): Remove configure test.
12545 (libc_cv_ld_version_script_option): Likewise.
12546 (VERSIONING): Remove variable and AC_SUBST.
12547 (DO_VERSIONING): Remove AC_DEFINE.
12548 * configure: Regenerated.
12549 * config.h.in (DO_VERSIONING): Remove macro.
12550 * Makerules [$(versioning) = yes]: Change conditionals to
12551 [$(build-shared) = yes].
12552 * config.make.in (versioning): Remove variable.
12553 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12554 [$(build-shared) = yes].
12555 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12556 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12557 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12558 [$(build-shared) = yes].
12559 * extra-lib.mk [$(versioning) = yes]: Likewise.
12560 * hurd/Makefile [$(versioning) = yes]: Likewise.
12561 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12563 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12565 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12566 [SHARED && !NO_HIDDEN].
12567 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12569 [SHARED && DO_VERSIONING]: Likewise..
12570 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12571 [$(build-shared) = yes].
12572 * manual/install.texi (--disable-versioning): Remove
12574 * INSTALL: Regenerated.
12575 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12577 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12578 [$(build-shared) = yes].
12579 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12580 * sysdeps/i386/i686/multiarch/strstr-c.c
12581 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12582 [SHARED && !NO_HIDDEN].
12583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12584 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12585 * sysdeps/powerpc/powerpc32/dl-machine.c
12586 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12587 * sysdeps/powerpc/powerpc32/sysdep.h
12588 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12589 to [SHARED && PIC && !NO_HIDDEN].
12590 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12591 conditional to [SHARED].
12593 2013-09-04 Will Newton <will.newton@linaro.org>
12595 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12596 * benchtests/bench-string.h: Include bench-timing.h instead
12597 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12598 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12599 call to HP_TIMING_DIFF_INIT.
12600 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12601 instead of hp-timing.h macros.
12602 * benchtests/bench-memchr.c: Likewise.
12603 * benchtests/bench-memcmp.c: Likewise.
12604 * benchtests/bench-memcpy.c: Likewise.
12605 * benchtests/bench-memmem.c: Likewise.
12606 * benchtests/bench-memmove.c: Likewise.
12607 * benchtests/bench-memset.c: Likewise.
12608 * benchtests/bench-rawmemchr.c: Likewise.
12609 * benchtests/bench-strcasecmp.c: Likewise.
12610 * benchtests/bench-strcasestr.c: Likewise.
12611 * benchtests/bench-strcat.c: Likewise.
12612 * benchtests/bench-strchr.c: Likewise.
12613 * benchtests/bench-strcmp.c: Likewise.
12614 * benchtests/bench-strcpy.c: Likewise.
12615 * benchtests/bench-strcpy_chk.c: Likewise.
12616 * benchtests/bench-strlen.c: Likewise.
12617 * benchtests/bench-strncasecmp.c: Likewise.
12618 * benchtests/bench-strncat.c: Likewise.
12619 * benchtests/bench-strncmp.c: Likewise.
12620 * benchtests/bench-strncpy.c: Likewise.
12621 * benchtests/bench-strnlen.c: Likewise.
12622 * benchtests/bench-strpbrk.c: Likewise.
12623 * benchtests/bench-strrchr.c: Likewise.
12624 * benchtests/bench-strspn.c: Likewise.
12625 * benchtests/bench-strstr.c: Likewise.
12627 2013-09-04 Will Newton <will.newton@linaro.org>
12629 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12631 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12635 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12636 * math/libm-test.inc (lgamma_test_data): Add more tests.
12637 * sysdeps/i386/fpu/libm-test-ulps: Update.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12640 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12642 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12646 Add strcmp-sse2-unaligned
12647 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12649 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12651 * Versions.def (libc): Add GLIBC_2.19.
12653 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12655 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12656 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12658 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12661 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12662 intermediate calculations in recurrence.
12663 (__ieee754_ynf): Likewise.
12664 * math/libm-test.inc (jn_test_data): Do not allow spurious
12665 underflow exception. Add more tests.
12666 (yn_test_data): Add more tests.
12667 * sysdeps/i386/fpu/libm-test-ulps: Update.
12668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12670 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12674 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12676 * csu/init-first.c: Fix then/than typos.
12677 * locale/programs/ld-collate.c: Likewise.
12678 * locale/programs/linereader.h: Likewise.
12679 * manual/charset.texi: Likewise.
12680 * manual/filesys.texi: Likewise.
12681 * manual/stdio.texi: Likewise.
12682 * manual/string.texi: Likewise.
12683 * stdlib/fmtmsg.c: Likewise.
12684 * sysdeps/i386/stpncpy.S: Likewise.
12685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12686 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12688 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12690 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12692 * elf/dl-open.c: Fix typos.
12693 * iconvdata/gbbig5.c: Likewise.
12694 * iconvdata/iso-2022-jp.c: Likewise.
12695 * iconv/gconv_int.h: Likewise.
12696 * iconv/loop.c: Likewise.
12697 * nis/rpcsvc/nis.h: Likewise.
12698 * resolv/ns_name.c: Likewise.
12699 * stdio-common/vfscanf.c: Likewise.
12700 * streams/stropts.h: Likewise.
12701 * sunrpc/rpc_thread.c: Likewise.
12702 * sysdeps/i386/strpbrk.S: Likewise.
12703 * sysdeps/ieee754/k_standard.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12706 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12707 * sysdeps/mach/hurd/profil.c: Likewise.
12708 * sysdeps/s390/dl-procinfo.h: Likewise.
12709 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12710 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12712 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12715 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12717 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12720 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12722 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12723 aix specific files.
12724 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12727 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12728 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12733 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12734 Roland McGrath <roland@hack.frob.com>
12736 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12737 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12739 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12741 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12742 __executable_start symbol instead of _start.
12744 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12746 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12747 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12749 * sysdeps/gnu/ldsodefs.h: ... this new file.
12751 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12752 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12753 instead of ELFOSABI_LINUX.
12755 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12756 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12757 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12758 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12760 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12761 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12764 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12765 (ibm_extended_long_double): Add ieee_nan member.
12766 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12767 (do_test): New function.
12769 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12771 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12772 functions, renamed from truncdfsf_test, trunctfsf_test,
12774 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12776 (do_test): Run all these.
12778 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12780 * argp/argp-help.c: Fix typos.
12781 * argp/argp-parse.c: Likewise.
12782 * debug/backtracesyms.c: Likewise.
12783 * elf/elf.h: Likewise.
12784 * malloc/malloc.c: Likewise.
12785 * nis/nis_print.c: Likewise.
12786 * resolv/res_comp.c: Likewise.
12787 * stdlib/stdlib.h: Likewise.
12788 * sunrpc/clnt_tcp.c: Likewise.
12789 * sunrpc/clnt_udp.c: Likewise.
12790 * sunrpc/clnt_unix.c: Likewise.
12791 * sysdeps/unix/bsd/ptsname.c: Likewise.
12792 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12793 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12800 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12802 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12804 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12807 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12810 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12811 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12812 ($(objpfx)bug-dl-leaf): New rule.
12813 ($(objpfx)bug-dl-leaf.so): Likewise.
12814 ($(objpfx)bug-dl-leaf.out): Likewise.
12815 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12816 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12817 * dlfcn/bug-dl-leaf.c: New test.
12818 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12819 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12820 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12821 (dlclose): Likewise.
12822 (dlmopen): Likewise.
12824 2013-08-27 Roland McGrath <roland@hack.frob.com>
12826 * include/netdb.h [!_ISOMAC]:
12827 Don't include <tls.h>.
12828 (h_errno, __libc_h_errno): Move declaration and macros out of
12831 * include/resolv.h [_RESOLV_H_]:
12832 Don't include <tls.h>.
12833 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12834 * resolv/res_libc.c: Don't include <tls.h>.
12835 (_res): Use __attribute__ ((nocommon)) in place of
12836 __attribute__ ((section (".bss"))).
12838 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12839 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12841 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12843 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12844 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12846 * resolv/res_mkquery.c: Include <sys/time.h>.
12848 * inet/ifreq.c: Moved to ...
12849 * sysdeps/unix/ifreq.c: ... here.
12850 * inet/ifreq.c: New file, true stub version.
12852 * socket/sa_len.c: New file.
12853 * socket/Makefile (aux): Add it.
12854 * sysdeps/unix/sysv/linux/Makefile
12855 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12856 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12857 and #include <socket/sa_len.c>.
12858 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12859 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12861 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12862 * bits/socket.h: ... here.
12864 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12865 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12866 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12868 2013-08-27 Andreas Schwab <schwab@suse.de>
12871 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12872 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12873 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12874 * string/test-strcasecmp.c (test_main): Run tests in several
12876 * string/test-strncasecmp.c (test_main): Likewise.
12878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12879 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12880 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12882 (__strncasecmp_ssse3) [PIC]: Likewise.
12884 2013-08-26 Roland McGrath <roland@hack.frob.com>
12886 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12888 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12889 instead of explicitly declaring xdecrypt.
12890 * nis/nss_nis/nis-publickey.c: Likewise.
12892 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12895 * nscd/aicache.c: Include res_hconf.h.
12896 (addhstaiX): Initialize res_hconf.
12898 2013-08-26 Andreas Schwab <schwab@suse.de>
12900 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12901 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12903 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12905 * nscd/aicache.c (addhstaiX): Fix indentation.
12907 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12909 * configure.ac: Quote $build_pt_chown test.
12910 * configure: Regenerated.
12912 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12915 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12916 * math/s_cexpf.c (__cexpf): Likewise.
12917 * math/s_cexpl.c (__cexpl): Likewise.
12918 * math/libm-test.inc (cexp_test_data): Correct expected return
12919 value for NaN + i0. Add another test.
12921 2013-08-22 David S. Miller <davem@davemloft.net>
12923 * po/ca.po: Update Catalan translation from translation project.
12924 * po/uk.po: Add Ukrainian translations from translation project.
12926 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12929 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12930 is infinite, not alongside NaN test.
12931 * math/s_fdimf.c (__fdimf): Likewise.
12932 * math/s_fdiml.c (__fdiml): Likewise.
12933 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12934 errno is unchanged.
12936 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12938 * argp/argp-help.c: Fix typos.
12939 * crypt/speeds.c: Likewise.
12940 * csu/check_fds.c: Likewise.
12941 * elf/dl-load.c: Likewise.
12942 * elf/dl-open.c: Likewise.
12943 * elf/reldep3.c: Likewise.
12944 * elf/reldep.c: Likewise.
12945 * elf/sprof.c: Likewise.
12946 * iconv/iconv_charmap.c: Likewise.
12947 * iconv/skeleton.c: Likewise.
12948 * iconv/strtab.c: Likewise.
12949 * io/lockf64.c: Likewise.
12950 * libio/libioP.h: Likewise.
12951 * resolv/gai_notify.c: Likewise.
12952 * resolv/ns_name.c: Likewise.
12953 * resolv/ns_samedomain.c: Likewise.
12954 * resolv/res_send.c: Likewise.
12955 * stdlib/random.c: Likewise.
12956 * sunrpc/rpc/xdr.h: Likewise.
12957 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12965 * sysdeps/mach/hurd/check_fds.c: Likewise.
12966 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12967 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12969 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12970 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12971 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12972 * sysdeps/pthread/aio_notify.c: Likewise.
12973 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12974 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12976 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12977 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12979 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12981 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12982 version if bit_Slow_SSE4_2 is set.
12983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12986 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12989 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12990 trampoline stack frame information.
12991 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12993 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12994 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12995 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12996 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12997 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12998 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13000 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13001 interrupting a syscall and set with option SA_SIGINFO.
13003 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13006 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13007 argument is infinite.
13008 * math/s_cprojf.c (__cprojf): Likewise.
13009 * math/s_cprojl.c (__cprojl): Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13011 * math/libm-test.inc (cproj_test_data): Add more tests.
13013 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13015 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13016 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13017 size. Use __ffs to determine corresponding shift.
13019 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13020 Roland McGrath <roland@hack.frob.com>
13022 * Makefile (INSTALL): Remove trailing blank lines from output of
13025 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13027 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13028 Align 32 bit compat elf_greg to 8 bytes.
13030 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13032 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13034 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13036 * string/strcoll_l.c (coll_seq): New structure.
13037 (get_next_seq_cached): New function.
13038 (get_next_seq): New function.
13039 (do_compare): New function.
13040 (STRCOLL): Use GNU style definition. Simplify implementation
13041 by using get_next_seq, get_next_seq_cached and do_compare.
13043 2013-08-16 Florian Weimer <fweimer@redhat.com>
13047 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13049 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13051 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13052 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13053 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13055 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13056 GETDENTS_64BIT_ALIGNED.
13057 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13058 * manual/filesys.texi (Reading/Closing Directory): Document
13059 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13061 * manual/conf.texi (Limits for Files): Add portability note to
13062 NAME_MAX, PATH_MAX.
13063 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13065 2013-08-13 Andreas Schwab <schwab@suse.de>
13068 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13070 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13071 LDBL_MAX_EXP >= 16384]: Add tests for it.
13073 2013-08-12 David S. Miller <davem@davemloft.net>
13075 * version.h (RELEASE): Set to "development".
13076 (VERSION): Set to "2.18.90".
13077 * NEWS: Add 2.19 section.
13079 2013-08-03 David S. Miller <davem@davemloft.net>
13081 * po/ko.po: Update Korean translation from translation project.
13083 2013-08-01 David S. Miller <davem@davemloft.net>
13085 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13086 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13089 2013-07-30 David S. Miller <davem@davemloft.net>
13091 * po/fr.po: Update French translation from translation project.
13093 2013-07-28 David S. Miller <davem@davemloft.net>
13095 * po/cs.po: Update Czech translation from translation project.
13097 * po/sv.po: Update Swedish translation from translation project.
13099 2013-07-27 David S. Miller <davem@davemloft.net>
13101 * po/eo.po: Update Esperanto translation from translation project.
13103 * po/vi.po: Update Vietnamese translation from translation project.
13105 * po/de.po: Update German translation from translation project.
13107 2013-07-26 David S. Miller <davem@davemloft.net>
13109 * po/bg.po: Update Bulgarian translation from translation project.
13111 * po/nl.po: Update Dutch translation from translation project.
13112 * po/pl.po: Update Polish translation from translation project.
13113 * po/ru.po: Update Russian translation from translation project.
13115 2013-07-24 David S. Miller <davem@davemloft.net>
13117 * po/libc.pot: Update.
13119 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13121 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13122 variable page size.
13123 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13124 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13125 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13127 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13129 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13131 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13132 Andreas Schwab <schwab@suse.de>
13133 Roland McGrath <roland@hack.frob.com>
13134 Joseph Myers <joseph@codesourcery.com>
13135 Carlos O'Donell <carlos@redhat.com>
13138 * config.h.in: Define HAVE_PT_CHOWN.
13139 * config.make.in (build-pt-chown): New variable.
13140 * configure.in (--enable-pt_chown): New configure option.
13141 * configure: Regenerate.
13142 * login/Makefile: Include Makeconfig. Build pt_chown only if
13143 build-pt-chown is enabled.
13144 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13145 pt_chown to fix pty ownership.
13146 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13148 * manual/install.texi (Configuring and compiling): Mention
13149 --enable-pt_chown. Add @findex for grantpt.
13150 * INSTALL: Regenerate.
13152 2013-07-20 David S. Miller <davem@davemloft.net>
13154 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13155 difference between 32-bit and 64-bit.
13157 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13160 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13161 Avoid system header dependency with -ffreestanding.
13162 ($(objpfx)bits/syscall%d): Likewise.
13164 2013-07-13 David S. Miller <davem@davemloft.net>
13166 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13167 underflows from atanl/atan2l due to bug 15319.
13168 (casinh_test_data): Likewise.
13170 2013-07-07 David S. Miller <davem@davemloft.net>
13172 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13174 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13176 * sysdeps/i386/fpu/libm-test-ulps: Update.
13177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13179 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13181 * configure.in (--enable-lock-elision): Fix message text.
13182 * INSTALL: Regenerate.
13183 * configure: Regenerate.
13185 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13189 2013-07-03 Andreas Jaeger <aj@suse.de>
13191 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13193 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13194 (ptrace_peeksiginfo_args): Add.
13195 (__ptrace_peeksiginfo_flags): Add.
13196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13200 2013-07-03 Allan McRae <allan@archlinux.org>
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13204 2013-07-02 David S. Miller <davem@davemloft.net>
13206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13208 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13212 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13214 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13217 2013-07-02 Andi Kleen <ak@linux.intel.com>
13219 * config.h.in (ENABLE_LOCK_ELISION): Add.
13220 * configure.in (--enable-lock-elision): Add option.
13221 * manual/install.texi: Document --enable lock elision.
13222 * configure: Regenerate
13223 * INSTALL: Regenerate.
13225 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13227 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13228 SSE4.2 strcasecmp for libc.a.
13229 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13231 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13234 * soft-fp/op-common.h (_FP_FMA): New macro.
13235 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13236 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13237 (_FP_MUL_MEAT_1_imm): ... here.
13238 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13239 (_FP_MUL_MEAT_1_wide): ... here.
13240 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13241 (_FP_MUL_MEAT_1_hard): ... here.
13242 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13243 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13244 (_FP_MUL_MEAT_2_wide): ... here.
13245 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13246 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13247 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13248 (_FP_MUL_MEAT_2_gmp): ... here.
13249 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13250 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13251 (_FP_MUL_MEAT_4_wide): ... here.
13252 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13253 (_FP_MUL_MEAT_4_gmp): ... here.
13254 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13255 (_FP_WFRACBITS_DW_S): Likewise.
13256 (_FP_WFRACXBITS_DW_S): Likewise.
13257 (_FP_HIGHBIT_DW_S): Likewise.
13258 (FP_FMA_S): Likewise.
13259 (_FP_FRAC_HIGH_DW_S): Likewise.
13260 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13261 (_FP_WFRACBITS_DW_D): Likewise.
13262 (_FP_WFRACXBITS_DW_D): Likewise.
13263 (_FP_HIGHBIT_DW_D): Likewise.
13264 (FP_FMA_D): Likewise.
13265 (_FP_FRAC_HIGH_DW_D): Likewise.
13266 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13267 (_FP_WFRACBITS_DW_E): Likewise.
13268 (_FP_WFRACXBITS_DW_E): Likewise.
13269 (_FP_HIGHBIT_DW_E): Likewise.
13270 (FP_FMA_E): Likewise.
13271 (_FP_FRAC_HIGH_DW_E): Likewise.
13272 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13273 (_FP_WFRACBITS_DW_Q): Likewise.
13274 (_FP_WFRACXBITS_DW_Q): Likewise.
13275 (_FP_HIGHBIT_DW_Q): Likewise.
13276 (FP_FMA_Q): Likewise.
13277 (_FP_FRAC_HIGH_DW_Q): Likewise.
13278 * soft-fp/fmasf4.c: New file.
13279 * soft-fp/fmadf4.c: Likewise.
13280 * soft-fp/fmatf4.c: Likewise.
13282 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13285 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13289 (index_Slow_SSE4_2): Likewise.
13290 (index_Prefer_PMINUB_for_stringop): Likewise.
13291 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13292 bit_Slow_SSE4_2 is set.
13293 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13296 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13298 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13299 rtld_global._dl_hwcap2.
13300 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13302 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13303 POWER8 feature descriptions defined in _dl_hwcap2.
13304 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13305 string handling for POWER8 feature bits.
13306 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13307 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13308 _dl_powerpc_cap_flags.
13309 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13310 * sysdeps/powerpc/rtld-global-offsets.sym
13311 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13312 _dl_hwcap2 in the rtld_global_ro structure.
13314 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13316 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13317 hardware capabilities in support of AT_HWCAP2.
13318 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13319 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13321 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13322 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13323 explicitly the unknown a_type display mechanism is used.
13324 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13325 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13327 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13328 to macro prototype for AT_HWCAP2 support.
13329 * sysdeps/i386/dl-procinfo.h: Likewise.
13330 * sysdeps/s390/dl-procinfo.h: Likewise.
13331 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13332 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13333 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13334 return -1 for unknown a_type display fallback.
13335 * sysdeps/sparc/dl-procinfo.h: Likewise.
13336 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13337 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13339 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13341 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13342 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13344 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13347 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13348 mprotect making __stack_prot writable.
13350 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13351 Joseph Myers <joseph@codesourcery.com>
13353 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13354 as being properly aligned.
13356 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13358 * dlfcn/modstatic5.c: New file.
13359 * dlfcn/tststatic5.c: New file.
13360 * dlfcn/Makefile (tests): Add tststatic5.
13361 (tests-static): Likewise.
13362 (modules-names): Add modstatic5.
13363 (tststatic5-ENV): New variable.
13364 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13367 * elf/dl-support.c (_dl_main_map): New variable.
13368 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13369 (_dl_nns, _dl_load_adds): Set to 1.
13370 (_dl_initial_searchlist): Refer to _dl_main_map.
13371 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13372 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13373 call to _dl_get_origin.
13374 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13376 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13377 * dlfcn/modstatic3.c: New file.
13378 * dlfcn/tststatic3.c: New file.
13379 * dlfcn/tststatic4.c: New file.
13380 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13381 (tests-static): Likewise.
13382 (modules-names): Add modstatic3.
13383 (tststatic3-ENV, tststatic4-ENV): New variables.
13384 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13385 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13387 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13389 * configure.in (CC): Require GCC version 4.4 or later.
13390 * configure: Regenerated.
13391 * manual/install.texi (Tools for Compilation): Update GCC version
13393 * INSTALL: Regenerated.
13395 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13398 * string/test-memcmp.c (check2): New.
13399 (main): Call check2.
13401 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13403 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13406 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13408 (dl_open_worker) [!SHARED]: ... here.
13410 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13412 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13414 2013-06-25 Richard Henderson <rth@redhat.com>
13416 * locale/programs/locarchive.c: Include <libc-internal.h>
13418 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13420 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13421 trailing whitespace removed.
13423 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13426 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13427 * locale/programs/locarchive.c: Include libc-mmap.h.
13428 (prepare_address_space): Take two new outputs (the mmap base and len).
13429 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13431 (create_archive): Declare new mmap base and len values for
13432 prepare_address_space, and store the result in ah.
13433 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13434 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13435 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13436 Declare new mmap base and len values for
13437 prepare_address_space, and store the result in new_ah.
13438 (open_archive): Declare new mmap base and len values for
13439 prepare_address_space, and store the result in ah.
13440 (close_archive): If ah->mmap_base is not NULL, use that and
13441 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13442 * sysdeps/generic/libc-mmap.h: New file.
13444 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13446 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13447 (ALIGN_UP): Likewise.
13448 (PTR_ALIGN_DOWN): Likewise.
13449 (PTR_ALIGN_UP): Likewise.
13451 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13453 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13454 entry mapped to PPC_PLATFORM_POWER8.
13455 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13457 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13458 (_dl_string_platform): Add case for exporting platform position for
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13461 search path to sysdeps/powerpc/powerpc32/power8 directory.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13463 search path to sysdeps/powerpc/powerpc64/power8 directory.
13464 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13465 power7 directories.
13466 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13467 power7 directories.
13469 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13471 * INSTALL: Regenerate.
13473 * nscd/connections.c (nscd_init): Fix comment.
13475 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13477 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13480 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13481 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13483 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13485 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13487 (DL_DST_REQ_STATIC): Remove macro.
13489 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13492 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13493 with a shift of 0 bits.
13495 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13497 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13500 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13503 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13505 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13508 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13509 accepts -fno-tree-loop-distribute-patterns.
13510 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13511 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13513 * string/memset.c (memset): Likewise.
13514 * string/test-memmove.c (simple_memmove): Disable loop transformation
13516 * string/test-memset.c (simple_memset): Likewise.
13517 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13518 * benchtests/bench-memset.c (simple_memset): Likewise.
13519 * configure: Regenerated.
13521 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13523 * math/test-misc.c (main): Ignore fesetround failure when failures
13524 of subsequent rounding tests would be ignored.
13527 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13528 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13529 * math/fegetenv.c (__fegetenv): Return 0.
13530 * math/fegetexcept.c (fegetexcept): Return 0.
13531 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13533 * math/feholdexcpt.c (feholdexcept): Return 0.
13534 * math/fesetenv.c (__fesetenv): Return 0.
13535 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13536 argument FE_TONEAREST.
13537 * math/feupdateenv.c (__feupdateenv): Return 0.
13538 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13540 2013-06-18 Roland McGrath <roland@hack.frob.com>
13542 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13543 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13544 ($(objpfx)rtld-%.os rules): Use them.
13546 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13548 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13551 2013-06-17 Roland McGrath <roland@hack.frob.com>
13553 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13554 length of target pattern, then descending length of dependency pattern.
13555 * configure.in (AWK): Require gawk 3.1.2 or newer.
13556 * manual/install.texi (Tools for Compilation): Say that we do.
13557 * configure: Regenerated.
13559 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13560 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13561 * scripts/sysd-rules.awk: ... this new script.
13562 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13563 than a glob-style pattern.
13565 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13567 * math/test-misc.c (main): Do not treat incorrectly rounded
13568 conversions as failure unless ROUNDING_TESTS passes.
13570 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13573 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13574 restore exception state around main square root computation, then
13575 check for inexactness explicitly.
13577 * math/libm-test.inc (fma_test_data): Add another test.
13579 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13581 * manual/threads.texi (Non-POSIX Extensions): New document
13582 node. Document pthread_getattr_default_np and
13583 pthread_setattr_default_np.
13585 * Versions.def (libpthread): Add GLIBC_2.18.
13586 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13595 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13606 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13609 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13611 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13612 H.J. Lu <hjl.tools@gmail.com>
13615 * sysdeps/x86_64/rtld-memset.c: Remove file.
13616 * sysdeps/x86_64/rtld-memset.S: New file.
13618 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13620 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13621 (test_in_one_mode): Take arguments for whether the rounding mode
13622 is supported for each floating-point type.
13623 (do_test): Pass new arguments to test_in_one_mode using
13626 2013-06-13 Roland McGrath <roland@hack.frob.com>
13628 * posix/tst-waitid.c (do_test): Distinguish different instances of
13629 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13630 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13631 before entering the kernel for waitpid.
13633 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13635 * NEWS: Fix note on clock function precision. Text by Roland
13638 2013-06-13 Roland McGrath <roland@hack.frob.com>
13640 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13641 it into place only when and if the sanity check passes.
13643 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13645 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13646 output for whether conversion result is exact. Take argument
13647 indicating whether type is IBM long double.
13648 (round_for_all): Change need_exact field to ibm_ld.
13649 * stdlib/tst-strtod-round.c (struct exactness): New type.
13650 (struct test): Change bool ld_ok field to struct exactness exact.
13651 (TEST): Update all definitions for change to field.
13652 (tests): Regenerate array contents.
13653 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13654 field value. Check for IBM long double here.
13655 (do_test): Update calls to test_in_one_mode.
13657 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13660 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13661 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13663 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13666 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13667 generated by the compiler on loop optimizations.
13668 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13669 general definitions.
13671 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13673 * math/bug-nextafter.c: Include <math-tests.h>.
13674 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13676 * math/bug-nexttoward.c: Include <math-tests.h>.
13677 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13679 * math/test-misc.c: Include <math-tests.h>.
13680 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13683 2013-06-12 Andreas Jaeger <aj@suse.de>
13685 * po/ia.po: Update Interlingua translation from translation
13688 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13690 * include/fenv.h: Include stdbool.h.
13691 (struct rm_ctx): New structure.
13692 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13694 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13695 (SET_RESTORE_ROUNDF): Likewise.
13696 (SET_RESTORE_ROUNDL): Likewise.
13697 (SET_RESTORE_ROUND_NOEX): Likewise.
13698 (SET_RESTORE_ROUND_NOEXF): Likewise.
13699 (SET_RESTORE_ROUND_NOEXL): Likewise.
13700 (SET_RESTORE_ROUND_53BIT): Likewise.
13701 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13702 (libc_feresetround_noexf_ctx): Likewise.
13703 (libc_feresetround_noexl_ctx): Likewise.
13704 (libc_feholdsetround_53bit_ctx): Likewise.
13705 (libc_feresetround_53bit_ctx): Likewise.
13706 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13707 (libc_feholdexcept_setround_sse_ctx): New function.
13708 (libc_fesetenv_sse_ctx): Likewise.
13709 (libc_feupdateenv_sse_ctx): Likewise.
13710 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13711 (libc_feholdexcept_setround_387_ctx): Likewise.
13712 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13713 (libc_feholdsetround_387_prec_ctx): Likewise.
13714 (libc_feholdsetround_387_ctx): Likewise.
13715 (libc_feholdsetround_387_53bit_ctx): Likewise.
13716 (libc_feholdsetround_sse_ctx): Likewise.
13717 (libc_feresetround_sse_ctx): Likewise.
13718 (libc_feresetround_387_ctx): Likewise.
13719 (libc_feupdateenv_387_ctx): Likewise.
13720 (libc_feholdexcept_setroundf_ctx): Define macro.
13721 (libc_fesetenvf_ctx): Likewise.
13722 (libc_feupdateenvf_ctx): Likewise.
13723 (libc_feholdsetroundf_ctx): Likewise.
13724 (libc_feresetroundf_ctx): Likewise.
13725 (libc_feholdexcept_setround_ctx): Likewise.
13726 (libc_fesetenv_ctx): Likewise.
13727 (libc_feupdateenv_ctx): Likewise.
13728 (libc_feholdsetround_ctx): Likewise.
13729 (libc_feresetround_ctx): Likewise.
13730 (libc_feholdexcept_setroundl_ctx): Likewise.
13731 (libc_feupdateenvl_ctx): Likewise.
13732 (libc_feholdsetroundl_ctx): Likewise.
13733 (libc_feresetroundl_ctx): Likewise.
13734 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13735 (libc_feresetround_53bit_ctx): Likewise.
13737 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13739 * locale/iso-639.def: Convert to UTF-8.
13741 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13743 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13744 (EXCEPTION_TESTS_double): Likewise.
13745 (EXCEPTION_TESTS_long_double): Likewise.
13746 (EXCEPTION_TESTS): Likewise.
13747 * math/libm-test.inc (test_exceptions): Only test exceptions if
13748 EXCEPTION_TESTS (FLOAT).
13750 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13752 * benchtests/Makefile (string-bench): Add strcpy_chk and
13754 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13755 * benchtests/bench-stpcpy_chk.c: New file.
13756 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13757 * benchtests/bench-strcpy_chk.c: New file.
13758 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13760 (do_test): Likewise.
13762 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13764 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13765 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13766 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13767 with tabs where appropriate.
13768 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13770 [PPC_PLATFORM_PPC440]: Likewise.
13771 [PPC_PLATFORM_PPC464]: Likewise.
13772 [PPC_PLATFORM_PPC476]: Likewise.
13773 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13774 ppc464, and ppc476 platform strings merging from ports/
13777 2013-06-11 Andreas Schwab <schwab@suse.de>
13780 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13781 (from_ucs4_idx): Regenerate.
13782 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13783 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13784 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13785 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13786 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13787 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13788 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13789 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13790 from FROM_LOOP and TO_LOOP specific macros.
13791 (BODY): Handle combining characters.
13792 * iconvdata/BIG5HKSCS.irreversible: Update.
13793 * iconvdata/BIG5HKSCS.precomposed: New file.
13794 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13796 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13798 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13800 * include/sys/time.h: Fix indentation and add copyright header.
13802 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13803 (do_test): Likewise.
13804 * string/test-memchr.c (do_one_test): Likewise.
13805 (do_test): Likewise.
13806 * string/test-memcmp.c (do_one_test): Likewise.
13807 (do_test): Likewise.
13808 * string/test-memcpy.c (do_one_test): Likewise.
13809 (do_test): Likewise.
13810 * string/test-memmem.c (do_one_test): Likewise.
13811 (do_test): Likewise.
13812 (do_random_tests): Likewise.
13813 * string/test-memmove.c (do_one_test): Likewise.
13814 (do_test): Likewise.
13815 * string/test-memset.c (do_one_test): Likewise.
13816 (do_test): Likewise.
13817 * string/test-rawmemchr.c (do_one_test): Likewise.
13818 (do_test): Likewise.
13819 * string/test-strcasecmp.c (do_one_test): Likewise.
13820 (do_test): Likewise.
13821 * string/test-strcasestr.c (do_one_test): Likewise.
13822 (do_test): Likewise.
13823 * string/test-strcat.c (do_one_test): Likewise.
13824 (do_test): Likewise.
13825 * string/test-strchr.c (do_one_test): Likewise.
13826 (do_test): Likewise.
13827 * string/test-strcmp.c (do_one_test): Likewise.
13828 (do_test): Likewise.
13829 * string/test-strcpy.c (do_one_test): Likewise.
13830 (do_test): Likewise.
13831 * string/test-string.h: Likewise.
13832 (test_init): Likewise.
13833 * string/test-strlen.c (do_one_test): Likewise.
13834 (do_test): Likewise.
13835 * string/test-strncasecmp.c (do_one_test): Likewise.
13836 (do_test): Likewise.
13837 * string/test-strncat.c (do_one_test): Likewise.
13838 (do_test): Likewise.
13839 * string/test-strncmp.c (do_one_test): Likewise.
13840 (do_test_limit): Likewise.
13841 (do_test): Likewise.
13842 * string/test-strncpy.c (do_one_test): Likewise.
13843 (do_test): Likewise.
13844 * string/test-strnlen.c (do_one_test): Likewise.
13845 (do_test): Likewise.
13846 * string/test-strpbrk.c (do_one_test): Likewise.
13847 (do_test): Likewise.
13848 * string/test-strrchr.c (do_one_test): Likewise.
13849 (do_test): Likewise.
13850 * string/test-strspn.c (do_one_test): Likewise.
13851 (do_test): Likewise.
13852 * string/test-strstr.c (do_one_test): Likewise.
13853 (do_test): Likewise.
13855 * benchtests/Makefile (string-bench): Add string benchmarks.
13856 * benchtests/bench-bcopy-ifunc.c: New file.
13857 * benchtests/bench-bcopy.c: New file.
13858 * benchtests/bench-bzero-ifunc.c: New file.
13859 * benchtests/bench-bzero.c: New file.
13860 * benchtests/bench-memccpy-ifunc.c: New file.
13861 * benchtests/bench-memccpy.c: New file.
13862 * benchtests/bench-memchr-ifunc.c: New file.
13863 * benchtests/bench-memchr.c: New file.
13864 * benchtests/bench-memcmp-ifunc.c: New file.
13865 * benchtests/bench-memcmp.c: New file.
13866 * benchtests/bench-memmem-ifunc.c: New file.
13867 * benchtests/bench-memmem.c: New file.
13868 * benchtests/bench-memmove-ifunc.c: New file.
13869 * benchtests/bench-memmove.c: New file.
13870 * benchtests/bench-mempcpy-ifunc.c: New file.
13871 * benchtests/bench-mempcpy.c: New file.
13872 * benchtests/bench-memset-ifunc.c: New file.
13873 * benchtests/bench-memset.c: New file.
13874 * benchtests/bench-rawmemchr-ifunc.c: New file.
13875 * benchtests/bench-rawmemchr.c: New file.
13876 * benchtests/bench-stpcpy-ifunc.c: New file.
13877 * benchtests/bench-stpcpy.c: New file.
13878 * benchtests/bench-stpncpy-ifunc.c: New file.
13879 * benchtests/bench-stpncpy.c: New file.
13880 * benchtests/bench-strcasecmp-ifunc.c: New file.
13881 * benchtests/bench-strcasecmp.c: New file.
13882 * benchtests/bench-strcasestr-ifunc.c: New file.
13883 * benchtests/bench-strcasestr.c: New file.
13884 * benchtests/bench-strcat-ifunc.c: New file.
13885 * benchtests/bench-strcat.c: New file.
13886 * benchtests/bench-strchr-ifunc.c: New file.
13887 * benchtests/bench-strchr.c: New file.
13888 * benchtests/bench-strchrnul-ifunc.c: New file.
13889 * benchtests/bench-strchrnul.c: New file.
13890 * benchtests/bench-strcmp-ifunc.c: New file.
13891 * benchtests/bench-strcmp.c: New file.
13892 * benchtests/bench-strcpy-ifunc.c: New file.
13893 * benchtests/bench-strcpy.c: New file.
13894 * benchtests/bench-strcspn-ifunc.c: New file.
13895 * benchtests/bench-strcspn.c: New file.
13896 * benchtests/bench-strlen-ifunc.c: New file.
13897 * benchtests/bench-strlen.c: New file.
13898 * benchtests/bench-strncasecmp-ifunc.c: New file.
13899 * benchtests/bench-strncasecmp.c: New file.
13900 * benchtests/bench-strncat-ifunc.c: New file.
13901 * benchtests/bench-strncat.c: New file.
13902 * benchtests/bench-strncmp-ifunc.c: New file.
13903 * benchtests/bench-strncmp.c: New file.
13904 * benchtests/bench-strncpy-ifunc.c: New file.
13905 * benchtests/bench-strncpy.c: New file.
13906 * benchtests/bench-strnlen-ifunc.c: New file.
13907 * benchtests/bench-strnlen.c: New file.
13908 * benchtests/bench-strpbrk-ifunc.c: New file.
13909 * benchtests/bench-strpbrk.c: New file.
13910 * benchtests/bench-strrchr-ifunc.c: New file.
13911 * benchtests/bench-strrchr.c: New file.
13912 * benchtests/bench-strspn-ifunc.c: New file.
13913 * benchtests/bench-strspn.c: New file.
13914 * benchtests/bench-strstr-ifunc.c: New file.
13915 * benchtests/bench-strstr.c: New file.
13917 * benchtests/Makefile: Disable parallel execution of targets.
13918 (string-bench): Add memcpy.
13919 (benchset): New variable to store a list of benchmark sets.
13920 (bench-func): Renamed from bench.
13921 (bench-set): New target.
13922 (bench): Depend on bench-func and bench-set.
13923 * benchtests/README: Add section on benchmark sets.
13924 * benchtests/bench-memcpy-ifunc.c: New file.
13925 * benchtests/bench-memcpy.c: New file.
13926 * benchtests/bench-string.h: New file.
13928 2013-06-11 Andreas Schwab <schwab@suse.de>
13931 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13932 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13933 values in the triple.
13934 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13935 terminator in the group key.
13937 2013-06-11 Andreas Jaeger <aj@suse.de>
13939 * po/zh_TW.po: Update Chinese (traditional) translation from
13940 translation project.
13942 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13944 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13945 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13946 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13948 (clock_getcpuclockid): Likewise.
13949 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13950 Add weak_alias and libc_hidden_def.
13951 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13952 * rt/clock_gettime.c (clock_gettime): Rename to
13953 __clock_gettime. Add weak_alias and libc_hidden_def.
13954 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13955 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13956 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13957 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13958 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13960 * rt/clock_settime.c (clock_settime): Rename to
13961 __clock_settime. Add weak_alias and libc_hidden_def.
13962 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13964 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13966 * mach/err_boot.sub: Remove trailing whitespace.
13967 * mach/err_ipc.sub: Likewise.
13968 * mach/err_mach.sub: Likewise.
13970 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13971 (ROUNDING_TESTS_double): Likewise.
13972 (ROUNDING_TESTS_long_double): Likewise.
13973 (ROUNDING_TESTS): Likewise.
13974 * math/libm-test.inc: Include <math-tests.h>.
13975 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13976 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13977 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13978 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13980 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13982 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13985 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13987 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13988 otherwise empty TRANS lines.
13989 * sysdeps/gnu/errlist.c: Regenerated.
13991 * catgets/gencat.c (error_print): Use (void) in function
13993 * crypt/crypt_util.c (__init_des): Likewise.
13994 * crypt/speeds.c (Stop): Likewise.
13996 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13997 * inet/ruserpass.c (token): Likewise.
13998 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13999 * intl/localealias.c (extend_alias_table): Likewise.
14000 * intl/plural-exp.c (init_germanic_plural): Likewise.
14001 * libio/fcloseall.c (__fcloseall): Likewise.
14002 * libio/genops.c (_IO_flush_all): Likewise.
14003 (_IO_flush_all_linebuffered): Likewise.
14004 (_IO_cleanup): Likewise.
14005 (_IO_iter_begin): Likewise.
14006 (_IO_iter_end): Likewise.
14007 (_IO_list_lock): Likewise.
14008 (_IO_list_unlock): Likewise.
14009 (_IO_list_resetlock): Likewise.
14010 * libio/getchar.c (getchar): Likewise.
14011 * libio/getchar_u.c (getchar_unlocked): Likewise.
14012 * libio/getwchar.c (getwchar): Likewise.
14013 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14014 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14015 * login/getpt.c (__getpt): Likewise.
14016 * login/tst-utmp.c (main): Likewise.
14017 * malloc/hooks.c (__malloc_check_init): Likewise.
14018 * malloc/malloc.c (__malloc_stats): Likewise.
14019 * malloc/mtrace.c (tr_break): Likewise.
14020 (mtrace): Likewise.
14021 (muntrace): Likewise.
14022 * misc/fstab.c (endfsent): Likewise.
14023 * misc/getclktck.c (__getclktck): Likewise.
14024 * misc/getdtsz.c (__getdtablesize): Likewise.
14025 * misc/gethostid.c (gethostid): Likewise.
14026 * misc/getpagesize.c (__getpagesize): Likewise.
14027 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14028 (__get_nprocs): Likewise.
14029 (__get_phys_pages): Likewise.
14030 (__get_avphys_pages): Likewise.
14031 * misc/getttyent.c (getttyent): Likewise.
14032 (setttyent): Likewise.
14033 (endttyent): Likewise.
14034 * misc/getusershell.c (getusershell): Likewise.
14035 (endusershell): Likewise.
14036 (setusershell): Likewise.
14037 (initshells): Likewise.
14038 * misc/hsearch.c (__hdestroy): Likewise.
14039 * misc/sync.c (sync): Likewise.
14040 * misc/syslog.c (closelog_internal): Likewise.
14041 (closelog): Likewise.
14042 * misc/ttyslot.c (ttyslot): Likewise.
14043 * misc/vhangup.c (vhangup): Likewise.
14044 * posix/fork.c (__fork): Likewise.
14045 * posix/getegid.c (__getegid): Likewise.
14046 * posix/geteuid.c (__geteuid): Likewise.
14047 * posix/getgid.c (__getgid): Likewise.
14048 * posix/getpid.c (__getpid): Likewise.
14049 * posix/getppid.c (__getppid): Likewise.
14050 * posix/getuid.c (__getuid): Likewise.
14051 * posix/pause.c (pause): Likewise.
14052 * posix/setpgrp.c (setpgrp): Likewise.
14053 * posix/setsid.c (__setsid): Likewise.
14054 * posix/test-vfork.c (noop): Likewise.
14055 * resolv/gethnamaddr.c (_endhtent): Likewise.
14056 (_gethtent): Likewise.
14057 (ht_endhostent): Likewise.
14058 (gethostent): Likewise.
14059 (dns_service): Likewise.
14060 * stdlib/drand48.c (drand48): Likewise.
14061 * stdlib/lrand48.c (lrand48): Likewise.
14062 * stdlib/mrand48.c (mrand48): Likewise.
14063 * stdlib/rand.c (rand): Likewise.
14064 * stdlib/random.c (__random): Likewise.
14065 * stdlib/setenv.c (clearenv): Likewise.
14066 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14067 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14068 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14069 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14070 (__get_nprocs): Likewise.
14071 (__get_phys_pages): Likewise.
14072 (__get_avphys_pages): Likewise.
14073 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14074 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14075 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14076 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14077 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14078 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14079 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14080 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14081 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14082 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14083 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14084 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14085 * sysdeps/posix/clock.c (clock): Likewise.
14086 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14087 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14088 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14089 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14090 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14092 (__get_nprocs_conf): Likewise.
14093 (__get_phys_pages): Likewise.
14094 (__get_avphys_pages): Likewise.
14095 * time/clock.c (clock): Likewise.
14096 * time/tzset.c (__tzname_max): Likewise.
14098 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14100 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14101 (__bswap_32): Do not use "register".
14102 * crypt/crypt.c (_ufc_doit_r): Likewise.
14103 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14104 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14105 * gmon/gmon.c (__monstartup): Likewise.
14106 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14107 * hurd/hurdmalloc.c (more_memory): Likewise.
14108 (malloc): Likewise.
14110 (realloc): Likewise.
14111 (malloc_fork_prepare): Likewise.
14112 (malloc_fork_parent): Likewise.
14113 (malloc_fork_child): Likewise.
14114 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14115 (_svcauth_des): Likewise.
14116 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14117 * inet/inet_net.c (inet_network): Likewise.
14118 * inet/inet_netof.c (inet_netof): Likewise.
14119 * inet/rcmd.c (__validuser2_sa): Likewise.
14120 * io/fts.c (fts_open): Likewise.
14121 (fts_load): Likewise.
14122 (fts_close): Likewise.
14123 (fts_read): Likewise.
14124 (fts_children): Likewise.
14125 (fts_build): Likewise.
14126 (fts_stat): Likewise.
14127 (fts_sort): Likewise.
14128 (fts_alloc): Likewise.
14129 (fts_lfree): Likewise.
14130 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14131 (_IO_file_xsgetn): Likewise.
14132 (_IO_file_xsgetn_mmap): Likewise.
14133 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14134 (_IO_cookie_write): Likewise.
14135 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14136 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14137 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14138 * malloc/obstack.c (_obstack_begin): Likewise.
14139 (_obstack_begin_1): Likewise.
14140 (_obstack_newchunk): Likewise.
14141 (_obstack_allocated_p): Likewise.
14142 (obstack_free): Likewise.
14143 (_obstack_memory_used): Likewise.
14144 * misc/getttyent.c (getttynam): Likewise.
14145 (getttyent): Likewise.
14148 * misc/getusershell.c (initshells): Likewise.
14149 * misc/syslog.c (__vsyslog_chk): Likewise.
14150 * misc/ttyslot.c (ttyslot): Likewise.
14151 * nis/nis_hash.c (__nis_hash): Likewise.
14152 * posix/fnmatch_loop.c (FCT): Likewise.
14153 * posix/getconf.c (print_all): Likewise.
14155 * posix/getopt.c (exchange): Likewise.
14156 * posix/glob.c (globfree): Likewise.
14157 (prefix_array): Likewise.
14158 (__glob_pattern_type): Likewise.
14159 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14160 (NS_GET32): Likewise.
14161 (NS_PUT16): Likewise.
14162 (NS_PUT32): Likewise.
14163 * resolv/gethnamaddr.c (getanswer): Likewise.
14164 (gethostbyname2): Likewise.
14165 (gethostbyaddr): Likewise.
14166 (_gethtent): Likewise.
14167 (_gethtbyname2): Likewise.
14168 (_gethtbyaddr): Likewise.
14169 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14170 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14171 * resolv/res_init.c (__res_vinit): Likewise.
14172 (net_mask): Likewise.
14173 * resolv/res_mkquery.c (outchar): Likewise.
14175 * stdio-common/printf_fp.c (outchar): Likewise.
14177 * stdio-common/printf_fphex.c (outchar): Likewise.
14179 * stdio-common/printf_size.c (outchar): Likewise.
14181 * stdio-common/test_rdwr.c (main): Likewise.
14182 * stdio-common/tfformat.c (matches): Likewise.
14183 * stdio-common/vfprintf.c (outchar): Likewise.
14184 (printf_unknown): Likewise.
14185 (buffered_vfprintf): Likewise.
14186 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14187 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14188 (ReadFile): Likewise.
14189 * stdlib/qsort.c (SWAP): Likewise.
14190 (_quicksort): Likewise.
14191 * stdlib/setenv.c (__add_to_environ): Likewise.
14192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14193 * stdlib/strtol_l.c (__strtol_l): Likewise.
14194 * stdlib/tst-strtod.c (main): Likewise.
14195 * stdlib/tst-strtol.c (main): Likewise.
14196 * stdlib/tst-strtoll.c (main): Likewise.
14197 * string/bits/string2.h (__strcmp_cc): Likewise.
14198 (__strcmp_cg): Likewise.
14199 (__strcspn_c1): Likewise.
14200 (__strcspn_c2): Likewise.
14201 (__strcspn_c3): Likewise.
14202 (__strspn_c1): Likewise.
14203 (__strspn_c2): Likewise.
14204 (__strspn_c3): Likewise.
14205 (__strsep_1c): Likewise.
14206 (__strsep_2c): Likewise.
14207 (__strsep_3c): Likewise.
14208 * string/memccpy.c (__memccpy): Likewise.
14209 * string/stpcpy.c (__stpcpy): Likewise.
14210 * string/strcmp.c (strcmp): Likewise.
14211 * string/strrchr.c (strrchr): Likewise.
14212 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14214 * sysdeps/mach/hurd/getcwd.c
14215 (_hurd_canonicalize_directory_name_internal): Likewise.
14216 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14217 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14218 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14219 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14220 Likewise, in both definitions.
14221 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14223 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14224 64] (__bswap_64): Likewise.
14225 * time/test_time.c (main): Likewise.
14226 * time/tzfile.c (__tzfile_read): Likewise.
14227 (__tzfile_compute): Likewise.
14228 * time/tzset.c (__tzset_parse_tz): Likewise.
14229 (tzset_internal): Likewise.
14230 (compute_change): Likewise.
14231 * wcsmbs/wcscat.c (__wcscat): Likewise.
14232 * wcsmbs/wcschr.c (wcschr): Likewise.
14233 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14234 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14235 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14236 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14237 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14238 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14239 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14240 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14241 * wcsmbs/wmemset.c (wmemset): Likewise.
14243 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14245 * scripts/config.guess: Update to version 2013-05-16.
14246 * scripts/config.sub: Update to version 2013-04-24.
14247 * scripts/install-sh: Update to version 2011-11-20.07.
14248 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14249 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14251 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14253 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14254 * elf/sln.c: Likewise.
14255 * hurd/hurd/ioctl.h: Likewise.
14256 * hurd/hurdmalloc.c: Likewise.
14257 * hurd/xattr.c: Likewise.
14258 * include/shlib-compat.h: Likewise.
14259 * inet/ruserpass.c: Likewise.
14260 * libio/iofgets_u.c: Likewise.
14261 * libio/iofgetws_u.c: Likewise.
14262 * locale/programs/ld-identification.c: Likewise.
14263 * locale/programs/ld-time.c: Likewise.
14264 * mach/msg-destroy.c: Likewise.
14265 * nss/nss_files/files-netgrp.c: Likewise.
14266 * resolv/res_data.c: Likewise.
14267 * soft-fp/op-1.h: Likewise.
14268 * soft-fp/op-2.h: Likewise.
14269 * soft-fp/op-4.h: Likewise.
14270 * soft-fp/op-common.h: Likewise.
14271 * stdio-common/printf_fphex.c: Likewise.
14272 * stdlib/strtod_l.c: Likewise.
14273 * sunrpc/rpc/clnt.h: Likewise.
14274 * sysdeps/generic/framestate.c: Likewise.
14275 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14276 * sysdeps/i386/bsd-setjmp.S: Likewise.
14277 * sysdeps/i386/__longjmp.S: Likewise.
14278 * sysdeps/i386/setjmp.S: Likewise.
14279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14280 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14297 * sysdeps/ieee754/support.c: Likewise.
14298 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14299 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14300 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14301 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14302 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14303 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14304 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14305 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14306 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14307 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14308 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14309 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14310 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14311 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14312 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14313 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14314 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14317 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14319 * posix/transbug.c: Remove executable mode.
14321 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14323 * crypt/speeds.c: Remove trailing whitespace.
14324 * dlfcn/default.c: Likewise.
14325 * elf/ifuncdep2.c: Likewise.
14326 * elf/ifuncmain1.c: Likewise.
14327 * elf/ifuncmain1vis.c: Likewise.
14328 * elf/testobj.h: Likewise.
14329 * elf/tst-stackguard1.c: Likewise.
14330 * gmon/sys/gmon.h: Likewise.
14331 * hurd/hurdmsg.c: Likewise.
14332 * hurd/new-fd.c: Likewise.
14333 * hurd/ports-get.c: Likewise.
14334 * iconvdata/ibm1008_420.c: Likewise.
14335 * inet/tst-getni1.c: Likewise.
14336 * inet/tst-getni2.c: Likewise.
14337 * libio/ioungetc.c: Likewise.
14338 * libio/wfiledoalloc.c: Likewise.
14339 * manual/libm-err-tab.pl: Likewise.
14340 * math/w_dremf.c: Likewise.
14341 * misc/ftruncate.c: Likewise.
14342 * posix/bug-glob2.c: Likewise.
14343 * posix/tst-pcre.c: Likewise.
14344 * posix/wait4.c: Likewise.
14345 * resolv/README: Likewise.
14346 * resolv/res_debug.h: Likewise.
14347 * resolv/tst-inet_ntop.c: Likewise.
14348 * setjmp/bug269-setjmp.c: Likewise.
14349 * soft-fp/extended.h: Likewise.
14350 * soft-fp/op-1.h: Likewise.
14351 * soft-fp/op-2.h: Likewise.
14352 * soft-fp/op-4.h: Likewise.
14353 * soft-fp/op-8.h: Likewise.
14354 * soft-fp/testit.c: Likewise.
14355 * stdio-common/bug16.c: Likewise.
14356 * stdlib/random.c: Likewise.
14357 * sunrpc/rpcsvc/rquota.x: Likewise.
14358 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14359 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14360 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14361 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14362 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14363 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14364 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14365 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14366 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14368 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14387 * sysdeps/ieee754/s_lib_version.c: Likewise.
14388 * sysdeps/mach/hurd/check_fds.c: Likewise.
14389 * sysdeps/mach/hurd/getsockname.c: Likewise.
14390 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14391 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14392 * sysdeps/powerpc/bits/link.h: Likewise.
14393 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14394 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14395 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14396 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14397 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14398 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14399 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14400 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14401 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14402 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14403 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14404 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14405 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14406 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14407 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14408 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14414 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14416 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14417 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14418 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14420 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14421 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14422 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14425 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14426 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14427 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14428 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14429 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14430 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14431 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14432 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14433 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14434 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14435 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14436 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14437 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14438 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14439 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14440 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14441 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14442 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14445 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14446 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14448 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14449 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14451 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14452 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14455 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14457 * sysdeps/powerpc/sysdep.h: Likewise.
14458 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14459 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14460 * sysdeps/sh/dl-trampoline.S: Likewise.
14461 * sysdeps/sh/memset.S: Likewise.
14462 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14463 * sysdeps/sh/strlen.S: Likewise.
14464 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14465 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14466 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14467 * sysdeps/sparc/sparc32/rem.S: Likewise.
14468 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14469 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14470 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14471 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14472 * sysdeps/sparc/sparc32/urem.S: Likewise.
14473 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14474 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14475 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14476 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14477 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14478 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14479 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14480 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14481 * sysdeps/unix/bsd/times.c: Likewise.
14482 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14483 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14487 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14488 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14489 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14491 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14492 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14493 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14494 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14495 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14496 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14497 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14498 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14499 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14500 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14501 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14502 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14503 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14504 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14505 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14506 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14507 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14510 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14511 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14512 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14513 * sysdeps/x86_64/strcspn.S: Likewise.
14515 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14517 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14518 generated file. Regenerate properly from gen-translit.pl.
14519 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14520 locale/C-translit.h.
14522 2013-06-05 Andreas Schwab <schwab@suse.de>
14525 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14526 week as 6 instead of -1.
14527 * time/tst-strptime.c (day_tests): Add test case.
14529 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14531 * sysdeps/generic/math_private.h
14532 (libc_feholdexcept_setround_53bit): Replace with
14533 libc_feholdsetround_53bit.
14534 (libc_feupdateenv_53bit): Replace with
14535 libc_feresetround_53bit.
14536 (SET_RESTORE_ROUND_53BIT): Adjust.
14538 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14540 * string/test-strchrnul.c: Add copyright header.
14542 * posix/tst-getaddrinfo4.c: Increase test timeout.
14544 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14547 * math/libm-test.inc (MAX_EXP): Remove
14549 (ulp): Use MIN_EXP - MANT_DIG.
14550 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14552 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14554 * po/be.po: Revert last change.
14555 * po/zh_CN.po: Likewise.
14556 * po/header.pot: Likewise.
14558 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14560 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14561 link-libc-deps to empty as target-specific variable.
14562 * Makerules (link-libc-args): New variable.
14563 (libc-for-link): Likewise.
14564 (link-libc-deps): Likewise.
14565 (lib%.so): Depend on $(link-libc-deps). Link with
14567 (build-module): Link with $(link-libc-args).
14568 (build-module-asneeded): Likewise.
14569 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14571 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14572 target-specific variable.
14573 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14574 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14575 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14577 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14579 ($(objpfx)libpcprofile.so): Likewise.
14580 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14582 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14583 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14584 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14586 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14587 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14588 * login/Makefile ($(objpfx)libutil.so): Likewise.
14589 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14590 * math/Makefile ($(objpfx)libm.so): Likewise.
14591 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14592 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14593 variable instead of depending directly on libc.
14594 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14595 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14597 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14599 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14600 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14601 ($(objpfx)libanl.so): Likewise.
14602 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14604 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14606 * sysdeps/i386/fpu/Makefile: Remove file.
14607 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14608 ($(objpfx)libm.so): Remove dependency on ld.so.
14610 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14613 * nis/yp_xdr.c (XDRMAXNAME): Define.
14614 (XDRMAXRECORD): Define.
14615 (xdr_domainname): Use XDRMAXNAME.
14616 (xdr_mapname): Likewise.
14617 (xdr_peername): Likewise.
14618 (xdr_keydat): Use XDRMAXRECORD.
14619 (xdr_valdat): Likewise.
14621 2013-05-30 Jeff Law <law@redhat.com>
14624 * manual/errno.texi (ESTALE): Update to account for more than
14625 just NFS file systems.
14626 * sysdeps/gnu/errlist.c: Regenerated.
14628 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14631 * elf/Makefile (tests): Add tst-null-argv.
14632 (modules-names): Add tst-null-argv-lib.
14633 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14634 (tst-null-argv-ENV): Set environment for tst-null-argv.
14635 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14636 (RTLD_PROGNAME): New macro.
14637 * elf/tst-null-argv.c: New test case.
14638 * elf/tst-null-argv-lib.c: Library for test case.
14639 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14640 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14641 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14642 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14643 * elf/dl-init.c (call_init): Likewise.
14644 (_dl_init): Likewise.
14645 * elf/dl-load.c (print_search_path): Likewise.
14646 (_dl_map_object): Likewise.
14647 * elf/dl-lookup.c (do_lookup_x): Likewise.
14648 (add_dependency): Likewise.
14649 (_dl_lookup_symbol_x): Likewise.
14650 (_dl_debug_bindings): Likewise.
14651 * elf/dl-open.c (_dl_show_scope): Likewise.
14652 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14653 * elf/dl-version.c (match_symbol): Likewise.
14654 (_dl_check_map_versions): Likewise.
14655 * elf/rtld.c (dl_main): Likewise.
14656 (print_unresolved): Use RTLD_PROGNAME.
14657 (print_missing_version): Likewise.
14658 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14659 (elf_machine_rela): Likewise.
14660 * sysdeps/powerpc/powerpc32/dl-machine.c
14661 (__process_machine_rela): Likewise.
14662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14666 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14668 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14675 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14677 * po/be.po: Add descriptive title.
14678 * po/zh_CN.po: Likewise.
14679 * po/header.pot: Likewise.
14681 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14683 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14685 (enlarge_archive): Likewise.
14687 2013-05-28 Ben North <ben@redfrontdoor.org>
14689 * manual/arith.texi (frexp): It is the magnitude of the return
14690 value which lies in [0.5, 1), not the return value itself.
14692 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14696 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14698 * stdio-common/bug26.c (main): Correct fscanf template.
14700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14701 declare _dl_skip_args.
14703 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14706 * manual/platform.texi: Add missing @end deftypefun.
14708 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14711 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14712 bit of mantissa of 2^16382.
14713 * math/libm-test.inc (hypot_test_data): Add more tests.
14715 * math/libm-test.inc: Add drem and pow10 to list of tested
14717 (pow10_test): New function.
14718 (drem_test): Likewise.
14719 (drem_test_tonearest): Likewise.
14720 (drem_test_towardzero): Likewise.
14721 (drem_test_downward): Likewise.
14722 (drem_test_upward): Likewise.
14723 (main): Call the new functions.
14725 * math/libm-test.inc (finite_test_data): Remove.
14726 (finite_test): Run tests from isfinite_test_data.
14727 (gamma_test_data): Remove.
14728 (gamma_test): Run tests from lgamma_test_data.
14729 * sysdeps/i386/fpu/libm-test-ulps: Update.
14730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14732 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734 * manual/platform.texi: Add PowerPC PPR function set documentation.
14735 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14738 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14740 * math/libm-test.inc (MAX_EXP): Define.
14742 (ulp): New function.
14743 (check_float_internal): Use ULPDIFF.
14744 (cpow_test): Disable failing test.
14745 (check_ulp): Test ulp() implemetnation.
14746 (main): Call check_ulp before starting tests.
14748 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14750 * math/gen-libm-test.pl (generate_testfile): Do not handle
14751 START_DATA and END_DATA.
14752 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14754 (acos_tonearest_test_data): Likewise.
14755 (acos_towardzero_test_data): Likewise.
14756 (acos_downward_test_data): Likewise.
14757 (acos_upward_test_data): Likewise.
14758 (acosh_test_data): Likewise.
14759 (asin_test_data): Likewise.
14760 (asin_tonearest_test_data): Likewise.
14761 (asin_towardzero_test_data): Likewise.
14762 (asin_downward_test_data): Likewise.
14763 (asin_upward_test_data): Likewise.
14764 (asinh_test_data): Likewise.
14765 (atan_test_data): Likewise.
14766 (atanh_test_data): Likewise.
14767 (atan2_test_data): Likewise.
14768 (cabs_test_data): Likewise.
14769 (cacos_test_data): Likewise.
14770 (cacosh_test_data): Likewise.
14771 (carg_test_data): Likewise.
14772 (casin_test_data): Likewise.
14773 (casinh_test_data): Likewise.
14774 (catan_test_data): Likewise.
14775 (catanh_test_data): Likewise.
14776 (cbrt_test_data): Likewise.
14777 (ccos_test_data): Likewise.
14778 (ccosh_test_data): Likewise.
14779 (ceil_test_data): Likewise.
14780 (cexp_test_data): Likewise.
14781 (cimag_test_data): Likewise.
14782 (clog_test_data): Likewise.
14783 (clog10_test_data): Likewise.
14784 (conj_test_data): Likewise.
14785 (copysign_test_data): Likewise.
14786 (cos_test_data): Likewise.
14787 (cos_tonearest_test_data): Likewise.
14788 (cos_towardzero_test_data): Likewise.
14789 (cos_downward_test_data): Likewise.
14790 (cos_upward_test_data): Likewise.
14791 (cosh_test_data): Likewise.
14792 (cosh_tonearest_test_data): Likewise.
14793 (cosh_towardzero_test_data): Likewise.
14794 (cosh_downward_test_data): Likewise.
14795 (cosh_upward_test_data): Likewise.
14796 (cpow_test_data): Likewise.
14797 (cproj_test_data): Likewise.
14798 (creal_test_data): Likewise.
14799 (csin_test_data): Likewise.
14800 (csinh_test_data): Likewise.
14801 (csqrt_test_data): Likewise.
14802 (ctan_test_data): Likewise.
14803 (ctan_tonearest_test_data): Likewise.
14804 (ctan_towardzero_test_data): Likewise.
14805 (ctan_downward_test_data): Likewise.
14806 (ctan_upward_test_data): Likewise.
14807 (ctanh_test_data): Likewise.
14808 (ctanh_tonearest_test_data): Likewise.
14809 (ctanh_towardzero_test_data): Likewise.
14810 (ctanh_downward_test_data): Likewise.
14811 (ctanh_upward_test_data): Likewise.
14812 (erf_test_data): Likewise.
14813 (erfc_test_data): Likewise.
14814 (exp_test_data): Likewise.
14815 (exp_tonearest_test_data): Likewise.
14816 (exp_towardzero_test_data): Likewise.
14817 (exp_downward_test_data): Likewise.
14818 (exp_upward_test_data): Likewise.
14819 (exp10_test_data): Likewise.
14820 (exp2_test_data): Likewise.
14821 (expm1_test_data): Likewise.
14822 (fabs_test_data): Likewise.
14823 (fdim_test_data): Likewise.
14824 (finite_test_data): Likewise.
14825 (floor_test_data): Likewise.
14826 (fma_test_data): Likewise.
14827 (fma_towardzero_test_data): Likewise.
14828 (fma_downward_test_data): Likewise.
14829 (fma_upward_test_data): Likewise.
14830 (fmax_test_data): Likewise.
14831 (fmin_test_data): Likewise.
14832 (fmod_test_data): Likewise.
14833 (fpclassify_test_data): Likewise.
14834 (frexp_test_data): Likewise.
14835 (gamma_test_data): Likewise.
14836 (hypot_test_data): Likewise.
14837 (ilogb_test_data): Likewise.
14838 (isfinite_test_data): Likewise.
14839 (isgreater_test_data): Likewise.
14840 (isgreaterequal_test_data): Likewise.
14841 (isinf_test_data): Likewise.
14842 (isless_test_data): Likewise.
14843 (islessequal_test_data): Likewise.
14844 (islessgreater_test_data): Likewise.
14845 (isnan_test_data): Likewise.
14846 (isnormal_test_data): Likewise.
14847 (issignaling_test_data): Likewise.
14848 (isunordered_test_data): Likewise.
14849 (j0_test_data): Likewise.
14850 (j1_test_data): Likewise.
14851 (jn_test_data): Likewise.
14852 (ldexp_test_data): Likewise.
14853 (lgamma_test_data): Likewise.
14854 (lrint_test_data): Likewise.
14855 (lrint_tonearest_test_data): Likewise.
14856 (lrint_towardzero_test_data): Likewise.
14857 (lrint_downward_test_data): Likewise.
14858 (lrint_upward_test_data): Likewise.
14859 (llrint_test_data): Likewise.
14860 (llrint_tonearest_test_data): Likewise.
14861 (llrint_towardzero_test_data): Likewise.
14862 (llrint_downward_test_data): Likewise.
14863 (llrint_upward_test_data): Likewise.
14864 (log_test_data): Likewise.
14865 (log10_test_data): Likewise.
14866 (log1p_test_data): Likewise.
14867 (log2_test_data): Likewise.
14868 (logb_test_data): Likewise.
14869 (logb_downward_test_data): Likewise.
14870 (lround_test_data): Likewise.
14871 (llround_test_data): Likewise.
14872 (modf_test_data): Likewise.
14873 (nearbyint_test_data): Likewise.
14874 (nextafter_test_data): Likewise.
14875 (nexttoward_test_data): Likewise.
14876 (pow_test_data): Likewise.
14877 (pow_tonearest_test_data): Likewise.
14878 (pow_towardzero_test_data): Likewise.
14879 (pow_downward_test_data): Likewise.
14880 (pow_upward_test_data): Likewise.
14881 (remainder_test_data): Likewise.
14882 (remainder_tonearest_test_data): Likewise.
14883 (remainder_towardzero_test_data): Likewise.
14884 (remainder_downward_test_data): Likewise.
14885 (remainder_upward_test_data): Likewise.
14886 (remquo_test_data): Likewise.
14887 (rint_test_data): Likewise.
14888 (rint_tonearest_test_data): Likewise.
14889 (rint_towardzero_test_data): Likewise.
14890 (rint_downward_test_data): Likewise.
14891 (rint_upward_test_data): Likewise.
14892 (round_test_data): Likewise.
14893 (scalb_test_data): Likewise.
14894 (scalbn_test_data): Likewise.
14895 (scalbln_test_data): Likewise.
14896 (signbit_test_data): Likewise.
14897 (sin_test_data): Likewise.
14898 (sin_tonearest_test_data): Likewise.
14899 (sin_towardzero_test_data): Likewise.
14900 (sin_downward_test_data): Likewise.
14901 (sin_upward_test_data): Likewise.
14902 (sincos_test_data): Likewise.
14903 (sinh_test_data): Likewise.
14904 (sinh_tonearest_test_data): Likewise.
14905 (sinh_towardzero_test_data): Likewise.
14906 (sinh_downward_test_data): Likewise.
14907 (sinh_upward_test_data): Likewise.
14908 (sqrt_test_data): Likewise.
14909 (tan_test_data): Likewise.
14910 (tan_tonearest_test_data): Likewise.
14911 (tan_towardzero_test_data): Likewise.
14912 (tan_downward_test_data): Likewise.
14913 (tan_upward_test_data): Likewise.
14914 (tanh_test_data): Likewise.
14915 (tgamma_test_data): Likewise.
14916 (trunc_test_data): Likewise.
14917 (y0_test_data): Likewise.
14918 (y1_test_data): Likewise.
14919 (yn_test_data): Likewise.
14920 (significand_test_data): Likewise.
14922 * math/gen-libm-test.pl (@functions): Remove variable.
14923 (generate_testfile): Don't handle START and END lines.
14924 * math/libm-test.inc (START): New macro.
14926 (END_COMPLEX): Likewise.
14927 (acos_test): Use END macro without arguments.
14928 (acos_test_tonearest): Likewise.
14929 (acos_test_towardzero): Likewise.
14930 (acos_test_downward): Likewise.
14931 (acos_test_upward): Likewise.
14932 (acosh_test): Likewise.
14933 (asin_test): Likewise.
14934 (asin_test_tonearest): Likewise.
14935 (asin_test_towardzero): Likewise.
14936 (asin_test_downward): Likewise.
14937 (asin_test_upward): Likewise.
14938 (asinh_test): Likewise.
14939 (atan_test): Likewise.
14940 (atanh_test): Likewise.
14941 (atan2_test): Likewise.
14942 (cabs_test): Likewise.
14943 (cacos_test): Use END_COMPLEX macro without arguments.
14944 (cacosh_test): Likewise.
14945 (carg_test): Use END macro without arguments.
14946 (casin_test): Use END_COMPLEX macro without arguments.
14947 (casinh_test): Likewise.
14948 (catan_test): Likewise.
14949 (catanh_test): Likewise.
14950 (cbrt_test): Use END macro without arguments.
14951 (ccos_test): Use END_COMPLEX macro without arguments.
14952 (ccosh_test): Likewise.
14953 (ceil_test): Use END macro without arguments.
14954 (cexp_test): Use END_COMPLEX macro without arguments.
14955 (cimag_test): Use END macro without arguments.
14956 (clog_test): Use END_COMPLEX macro without arguments.
14957 (clog10_test): Likewise.
14958 (conj_test): Likewise.
14959 (copysign_test): Use END macro without arguments.
14960 (cos_test): Likewise.
14961 (cos_test_tonearest): Likewise.
14962 (cos_test_towardzero): Likewise.
14963 (cos_test_downward): Likewise.
14964 (cos_test_upward): Likewise.
14965 (cosh_test): Likewise.
14966 (cosh_test_tonearest): Likewise.
14967 (cosh_test_towardzero): Likewise.
14968 (cosh_test_downward): Likewise.
14969 (cosh_test_upward): Likewise.
14970 (cpow_test): Use END_COMPLEX macro without arguments.
14971 (cproj_test): Likewise.
14972 (creal_test): Use END macro without arguments.
14973 (csin_test): Use END_COMPLEX macro without arguments.
14974 (csinh_test): Likewise.
14975 (csqrt_test): Likewise.
14976 (ctan_test): Likewise.
14977 (ctan_test_tonearest): Likewise.
14978 (ctan_test_towardzero): Likewise.
14979 (ctan_test_downward): Likewise.
14980 (ctan_test_upward): Likewise.
14981 (ctanh_test): Likewise.
14982 (ctanh_test_tonearest): Likewise.
14983 (ctanh_test_towardzero): Likewise.
14984 (ctanh_test_downward): Likewise.
14985 (ctanh_test_upward): Likewise.
14986 (erf_test): Use END macro without arguments.
14987 (erfc_test): Likewise.
14988 (exp_test): Likewise.
14989 (exp_test_tonearest): Likewise.
14990 (exp_test_towardzero): Likewise.
14991 (exp_test_downward): Likewise.
14992 (exp_test_upward): Likewise.
14993 (exp10_test): Likewise.
14994 (exp2_test): Likewise.
14995 (expm1_test): Likewise.
14996 (fabs_test): Likewise.
14997 (fdim_test): Likewise.
14998 (finite_test): Likewise.
14999 (floor_test): Likewise.
15000 (fma_test): Likewise.
15001 (fma_test_towardzero): Likewise.
15002 (fma_test_downward): Likewise.
15003 (fma_test_upward): Likewise.
15004 (fmax_test): Likewise.
15005 (fmin_test): Likewise.
15006 (fmod_test): Likewise.
15007 (fpclassify_test): Likewise.
15008 (frexp_test): Likewise.
15009 (gamma_test): Likewise.
15010 (hypot_test): Likewise.
15011 (ilogb_test): Likewise.
15012 (isfinite_test): Likewise.
15013 (isgreater_test): Likewise.
15014 (isgreaterequal_test): Likewise.
15015 (isinf_test): Likewise.
15016 (isless_test): Likewise.
15017 (islessequal_test): Likewise.
15018 (islessgreater_test): Likewise.
15019 (isnan_test): Likewise.
15020 (isnormal_test): Likewise.
15021 (issignaling_test): Likewise.
15022 (isunordered_test): Likewise.
15023 (j0_test): Likewise.
15024 (j1_test): Likewise.
15025 (jn_test): Likewise.
15026 (ldexp_test): Likewise.
15027 (lgamma_test): Likewise.
15028 (lrint_test): Likewise.
15029 (lrint_test_tonearest): Likewise.
15030 (lrint_test_towardzero): Likewise.
15031 (lrint_test_downward): Likewise.
15032 (lrint_test_upward): Likewise.
15033 (llrint_test): Likewise.
15034 (llrint_test_tonearest): Likewise.
15035 (llrint_test_towardzero): Likewise.
15036 (llrint_test_downward): Likewise.
15037 (llrint_test_upward): Likewise.
15038 (log_test): Likewise.
15039 (log10_test): Likewise.
15040 (log1p_test): Likewise.
15041 (log2_test): Likewise.
15042 (logb_test): Likewise.
15043 (logb_test_downward): Likewise.
15044 (lround_test): Likewise.
15045 (llround_test): Likewise.
15046 (modf_test): Likewise.
15047 (nearbyint_test): Likewise.
15048 (nextafter_test): Likewise.
15049 (nexttoward_test): Likewise.
15050 (pow_test): Likewise.
15051 (pow_test_tonearest): Likewise.
15052 (pow_test_towardzero): Likewise.
15053 (pow_test_downward): Likewise.
15054 (pow_test_upward): Likewise.
15055 (remainder_test): Likewise.
15056 (remainder_test_tonearest): Likewise.
15057 (remainder_test_towardzero): Likewise.
15058 (remainder_test_downward): Likewise.
15059 (remainder_test_upward): Likewise.
15060 (remquo_test): Likewise.
15061 (rint_test): Likewise.
15062 (rint_test_tonearest): Likewise.
15063 (rint_test_towardzero): Likewise.
15064 (rint_test_downward): Likewise.
15065 (rint_test_upward): Likewise.
15066 (round_test): Likewise.
15067 (scalb_test): Likewise.
15068 (scalbn_test): Likewise.
15069 (scalbln_test): Likewise.
15070 (signbit_test): Likewise.
15071 (sin_test): Likewise.
15072 (sin_test_tonearest): Likewise.
15073 (sin_test_towardzero): Likewise.
15074 (sin_test_downward): Likewise.
15075 (sin_test_upward): Likewise.
15076 (sincos_test): Likewise.
15077 (sinh_test): Likewise.
15078 (sinh_test_tonearest): Likewise.
15079 (sinh_test_towardzero): Likewise.
15080 (sinh_test_downward): Likewise.
15081 (sinh_test_upward): Likewise.
15082 (sqrt_test): Likewise.
15083 (tan_test): Likewise.
15084 (tan_test_tonearest): Likewise.
15085 (tan_test_towardzero): Likewise.
15086 (tan_test_downward): Likewise.
15087 (tan_test_upward): Likewise.
15088 (tanh_test): Likewise.
15089 (tgamma_test): Likewise.
15090 (trunc_test): Likewise.
15091 (y0_test): Likewise.
15092 (y1_test): Likewise.
15093 (yn_test): Likewise.
15094 (significand_test): Likewise.
15096 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15099 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15101 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15104 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15105 __ppc_mdoio and __ppc_mdoom.
15106 * manual/platform.texi: Document new functions __ppc_yield,
15107 __ppc_mdoio and __ppc_mdoom.
15109 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15111 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15112 (main): Mention "tls" pseudo-hwcap is legacy.
15113 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15115 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15117 * math/gen-libm-test.pl (parse_args): Output only string of
15118 arguments as text for test name, not full call or descriptions of
15119 tests for extra outputs.
15120 (generate_testfile): Do not pass function name to parse_args.
15121 Generate this_func variable from START.
15122 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15124 (struct test_ff_f_data): Likewise.
15125 (test_ff_f_data_nexttoward): Likewise.
15126 (struct test_fi_f_data): Likewise.
15127 (struct test_fl_f_data): Likewise.
15128 (struct test_if_f_data): Likewise.
15129 (struct test_fff_f_data): Likewise.
15130 (struct test_c_f_data): Likewise.
15131 (struct test_f_f1_data): Likewise. Remove field extra_name.
15132 (struct test_fF_f1_data): Likewise.
15133 (struct test_ffI_f1_data): Likewise.
15134 (struct test_c_c_data): Rename test_name field to arg_str.
15135 (struct test_cc_c_data): Likewise.
15136 (struct test_f_i_data): Likewise.
15137 (struct test_ff_i_data): Likewise.
15138 (struct test_f_l_data): Likewise.
15139 (struct test_f_L_data): Likewise.
15140 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15142 (COMMON_TEST_SETUP): New macro.
15143 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15144 (COMMON_TEST_CLEANUP): Likewise.
15145 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15146 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15148 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15149 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15151 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15152 (RUN_TEST_fff_f): Take argument string. Call new setup and
15154 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15155 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15157 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15158 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15160 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15161 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15163 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15164 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15166 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15167 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15169 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15170 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15172 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15173 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15175 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15176 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15178 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15179 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15181 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15182 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15184 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15185 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15187 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15188 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15190 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15191 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15193 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15194 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15196 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15197 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15199 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15201 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15203 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15204 to _sifields.sigfault.
15205 (si_addr_lsb): Define new macro.
15206 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15208 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15210 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15213 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15215 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15217 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15218 loading the domain.
15220 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15222 * math/gen-libm-test.pl (parse_args): Do not include expected
15223 result in test name.
15224 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15227 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15228 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15231 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15233 * benchtests/Makefile: Sort function entries.
15235 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15236 tanh, asinh, acosh, atanh.
15237 * benchtests/acos-inputs: New file.
15238 * benchtests/acosh-inputs: New file.
15239 * benchtests/asin-inputs: New file.
15240 * benchtests/asinh-inputs: New file.
15241 * benchtests/atanh-inputs: New file.
15242 * benchtests/cosh-inputs: New file.
15243 * benchtests/log-inputs: New file.
15244 * benchtests/sinh-inputs: New file.
15245 * benchtests/tanh-inputs: New file.
15247 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15250 * posix/tst-getaddrinfo4.c: New test.
15251 * posix/Makefile (tests): Add it.
15253 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15256 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15257 when no services were used.
15258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15259 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15261 2013-05-21 Andreas Schwab <schwab@suse.de>
15264 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15265 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15267 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15268 redundant variable declarations and reallocation of buffer when
15269 parsing as IPv6 address. Always set NSS status when called from
15270 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15271 buffer too small. Correct computation of needed size.
15272 * nss/Makefile (tests): Add test-digits-dots.
15273 * nss/test-digits-dots.c: New test.
15275 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15277 * benchtests/Makefile: Remove instructions for adding
15279 * benchtests/README: New file to explain how to execute and
15280 enhance the benchmark tests.
15282 2013-05-21 Andreas Schwab <schwab@suse.de>
15285 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15286 * setjmp/tst-sigsetjmp.c: New test.
15288 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15290 * sysdeps/x86_64/memset.S (memset): New implementation.
15291 (__bzero): Likewise.
15292 (__memset_tail): New function.
15294 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15296 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15297 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15298 __memcpy_sse2_unaligned ifunc selection.
15299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15300 Add memcpy-sse2-unaligned.S.
15301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15302 Add: __memcpy_sse2_unaligned.
15304 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15307 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15308 math_force_eval before restoring floating-point envrionment.
15309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15310 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15312 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15314 (__nearbyintl): Use math_force_eval before restoring
15315 floating-point environment.
15316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15318 * math/gen-libm-test.pl (special_functions): Remove.
15319 (parse_args): Don't handle TEST_extra. Handle functions with no
15321 * math/libm-test.inc (struct test_sincos_data): Replace with
15322 struct test_fFF_11_data.
15323 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15324 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15325 (sincos_test_data): Change element type to struct
15326 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15327 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15328 RUN_TEST_LOOP_sincos.
15329 * math/README.libm-test: Don't mention special handling of
15330 individual functions.
15331 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15332 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15333 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15335 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15338 * math/gen-libm-test.pl (get_variable): Remove function.
15339 (parse_args): Don't show pointer parameters to call in test
15340 names. Use "extra output N" in test names for extra outputs
15341 rather than naming variables.
15343 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15346 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15347 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15348 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15350 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15352 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15355 * math/gen-libm-test.pl (@tests): Remove variable.
15356 ($count): Likewise.
15357 (new_test): Remove function.
15358 (show_exceptions): New function.
15359 (special_functions): Use show_exceptions instead of new_test.
15360 (parse_args): Likewise.
15361 (generate_testfile): Pass only function name in generated call to
15362 print_max_error or print_complex_max_error.
15363 (get_ulps): Do not handle complex tests specially.
15364 (output_test): Rename to ...
15365 (get_all_ulps_for_test): ... this. Return a string rather than
15366 printing to a file. Require ulps to be present.
15367 (output_ulps): Generate arrays rather than #defines.
15368 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15369 (struct ulp_data): New type.
15370 (BUILD_COMPLEX_ULP): Remove macro.
15371 (compare_ulp_data): New function.
15372 (find_ulps): Likewise.
15373 (find_test_ulps): Likewise.
15374 (find_function_ulps): Likewise.
15375 (find_complex_function_ulps): Likewise.
15376 (print_max_error): Determine allowed ulps using
15377 find_function_ulps.
15378 (print_complex_max_error): Determine allowed ulps using
15379 find_complex_function_ulps.
15380 (check_float_internal): Determine max ulps using find_test_ulps.
15381 (check_float): Do not take max_ulp parameter. Update call to
15382 check_float_internal.
15383 (check_complex): Likewise.
15384 (check_int): Do not take max_ulp parameter.
15385 (check_long): Likewise.
15386 (check_bool): Likewise.
15387 (check_longlong): Likewise.
15388 (struct test_f_f_data): Remove max_ulp field.
15389 (struct test_ff_f_data): Likewise.
15390 (struct test_ff_f_data_nexttoward): Likewise.
15391 (struct test_fi_f_data): Likewise.
15392 (struct test_fl_f_data): Likewise.
15393 (struct test_if_f_data): Likewise.
15394 (struct test_fff_f_data): Likewise.
15395 (struct test_c_f_data): Likewise.
15396 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15397 (struct test_fF_f1_data): Likewise.
15398 (struct test_ffI_f1_data): Likewise.
15399 (struct test_c_c_data): Remove max_ulp field.
15400 (struct test_cc_c_data): Likewise.
15401 (struct test_f_i_data): Likewise.
15402 (struct test_ff_i_data): Likewise.
15403 (struct test_f_l_data): Likewise.
15404 (struct test_f_L_data): Likewise.
15405 (struct test_sincos_data): Likewise.
15406 (RUN_TEST_f_f): Do not handle ulps.
15407 (RUN_TEST_LOOP_f_f): Likewise.
15408 (RUN_TEST_2_f): Likewise.
15409 (RUN_TEST_LOOP_2_f): Likewise.
15410 (RUN_TEST_fff_f): Likewise.
15411 (RUN_TEST_LOOP_fff_f): Likewise.
15412 (RUN_TEST_c_f): Likewise.
15413 (RUN_TEST_LOOP_c_f): Likewise.
15414 (RUN_TEST_f_f1): Likewise.
15415 (RUN_TEST_LOOP_f_f1): Likewise.
15416 (RUN_TEST_fF_f1): Likewise.
15417 (RUN_TEST_LOOP_fF_f1): Likewise.
15418 (RUN_TEST_fI_f1): Likewise.
15419 (RUN_TEST_LOOP_fI_f1): Likewise.
15420 (RUN_TEST_ffI_f1): Likewise.
15421 (RUN_TEST_LOOP_ffI_f1): Likewise.
15422 (RUN_TEST_c_c): Likewise.
15423 (RUN_TEST_LOOP_c_c): Likewise.
15424 (RUN_TEST_cc_c): Likewise.
15425 (RUN_TEST_LOOP_cc_c): Likewise.
15426 (RUN_TEST_f_i): Likewise.
15427 (RUN_TEST_LOOP_f_i): Likewise.
15428 (RUN_TEST_f_i_tg): Likewise.
15429 (RUN_TEST_LOOP_f_i_tg): Likewise.
15430 (RUN_TEST_ff_i_tg): Likewise.
15431 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15432 (RUN_TEST_f_b): Likewise.
15433 (RUN_TEST_LOOP_f_b): Likewise.
15434 (RUN_TEST_f_b_tg): Likewise.
15435 (RUN_TEST_LOOP_f_b_tg): Likewise.
15436 (RUN_TEST_f_l): Likewise.
15437 (RUN_TEST_LOOP_f_l): Likewise.
15438 (RUN_TEST_f_L): Likewise.
15439 (RUN_TEST_LOOP_f_L): Likewise.
15440 (RUN_TEST_sincos): Likewise.
15441 (RUN_TEST_LOOP_sincos): Likewise.
15443 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15447 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15448 main case of finite arguments, set rounding mode to FE_TONEAREST
15449 and discard exceptions.
15450 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15452 (remainder_tonearest_test_data): New variable.
15453 (remainder_test_tonearest): New function.
15454 (remainder_towardzero_test_data): New variable.
15455 (remainder_test_towardzero): New function.
15456 (remainder_downward_test_data): New variable.
15457 (remainder_test_downward): New function.
15458 (remainder_upward_test_data): New variable.
15459 (remainder_test_upward): New function.
15460 (main): Call the new test functions.
15462 * math/libm-test.inc (struct test_f_f1_data): Remove field
15464 (struct test_fF_f1_data): Likewise.
15465 (struct test_ffI_f1_data): Likewise.
15466 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15467 based on value of EXTRA_EXPECTED.
15468 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15469 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15470 EXTRA_VAR based on value of EXTRA_EXPECTED.
15471 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15472 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15473 EXTRA_VAR based on value of EXTRA_EXPECTED.
15474 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15475 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15476 EXTRA_VAR based on value of EXTRA_EXPECTED.
15477 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15478 * math/gen-libm-test.pl (parse_args): Don't output initializers
15479 for extra output values.
15481 * math/libm-test.inc (check_int): Expect result to be exactly
15482 equal to expected value and do not handle ulps.
15483 (check_long): Likewise.
15484 (check_longlong): Likewise.
15486 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15488 (cimag_test_data): Likewise.
15489 (conj_test_data): Likewise.
15490 (copysign_test_data): Likewise.
15491 (cproj_test_data): Likewise.
15492 (creal_test_data): Likewise.
15493 (fabs_test_data): Likewise.
15494 (fdim_test_data): Likewise.
15495 (finite_test_data): Likewise.
15496 (floor_test_data): Likewise.
15497 (fmax_test_data): Likewise.
15498 (fmin_test_data): Likewise.
15499 (fmod_test_data): Likewise.
15500 (fpclassify_test_data): Likewise.
15501 (frexp_test_data): Likewise.
15502 (ilogb_test_data): Likewise.
15503 (isfinite_test_data): Likewise.
15504 (isgreater_test_data): Likewise.
15505 (isgreaterequal_test_data): Likewise.
15506 (isinf_test_data): Likewise.
15507 (isless_test_data): Likewise.
15508 (islessequal_test_data): Likewise.
15509 (islessgreater_test_data): Likewise.
15510 (isnan_test_data): Likewise.
15511 (isnormal_test_data): Likewise.
15512 (issignaling_test_data): Likewise.
15513 (isunordered_test_data): Likewise.
15514 (ldexp_test_data): Likewise.
15515 (lrint_test_data): Likewise.
15516 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15517 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15518 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15519 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15520 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15521 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15523 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15524 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15525 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15526 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15528 (lrint_downward_test_data): Test for "inexact" exceptions.
15529 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15530 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15531 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15533 (lrint_upward_test_data): Test for "inexact" exceptions.
15534 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15536 (llrint_test_data): Test for "inexact" exceptions.
15537 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15538 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15539 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15540 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15541 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15542 (llrint_downward_test_data): Test for "inexact" exceptions.
15543 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15544 (llrint_upward_test_data): Test for "inexact" exceptions.
15545 (logb_test_data): Likewise.
15546 (logb_downward_test_data): Likewise.
15547 (nextafter_test_data): Likewise.
15548 (nexttoward_test_data): Likewise.
15549 (remainder_test_data): Likewise.
15550 (remquo_test_data): Likewise.
15551 (scalbn_test_data): Likewise.
15552 (scalbln_test_data): Likewise.
15553 (signbit_test_data): Likewise.
15554 (sqrt_test_data): Likewise.
15555 (significand_test_data): Likewise.
15557 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15560 * benchtests/bench-modf.c (struct args): Mark arg0 as
15562 * scripts/bench.pl: Mark members of struct args as volatile.
15564 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15568 negative infinity on POWER6 or lower.
15569 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15571 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15574 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15575 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15576 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15577 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15578 (_FP_SETQNAN): New macro.
15579 (_FP_SETQNAN_SEMIRAW): Likewise.
15580 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15581 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15582 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15583 (FP_EXTEND): Use _FP_FRAC_SNANP.
15584 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15585 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15587 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15592 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15594 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15595 with DIVIDE_BY_ZERO_EXCEPTION.
15596 (gamma_test_data): Likewise.
15597 (lgamma_test_data): Likewise.
15598 (log_test_data): Likewise.
15599 (log10_test_data): Likewise.
15600 (log2_test_data): Likewise.
15601 (tgamma_test_data): Likewise.
15603 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15604 (acos_test_tonearest): Likewise.
15605 (acos_test_towardzero): Likewise.
15606 (acos_test_downward): Likewise.
15607 (acos_test_upward): Likewise.
15608 (acosh_test): Likewise.
15609 (asin_test): Likewise.
15610 (asin_test_tonearest): Likewise.
15611 (asin_test_towardzero): Likewise.
15612 (asin_test_downward): Likewise.
15613 (asin_test_upward): Likewise.
15614 (asinh_test): Likewise.
15615 (atan_test): Likewise.
15616 (atanh_test): Likewise.
15617 (atan2_test): Likewise.
15618 (cabs_test): Likewise.
15619 (cacos_test): Likewise.
15620 (cacosh_test): Likewise.
15621 (casin_test): Likewise.
15622 (casinh_test): Likewise.
15623 (catan_test): Likewise.
15624 (catanh_test): Likewise.
15625 (cbrt_test): Likewise.
15626 (ccos_test): Likewise.
15627 (ccosh_test): Likewise.
15628 (cexp_test): Likewise.
15629 (clog_test): Likewise.
15630 (clog10_test): Likewise.
15631 (cos_test): Likewise.
15632 (cos_test_tonearest): Likewise.
15633 (cos_test_towardzero): Likewise.
15634 (cos_test_downward): Likewise.
15635 (cos_test_upward): Likewise.
15636 (cosh_test): Likewise.
15637 (cosh_test_tonearest): Likewise.
15638 (cosh_test_towardzero): Likewise.
15639 (cosh_test_downward): Likewise.
15640 (cosh_test_upward): Likewise.
15641 (cpow_test): Likewise.
15642 (csin_test): Likewise.
15643 (csinh_test): Likewise.
15644 (csqrt_test): Likewise.
15645 (ctan_test): Likewise.
15646 (ctan_test_tonearest): Likewise.
15647 (ctan_test_towardzero): Likewise.
15648 (ctan_test_downward): Likewise.
15649 (ctan_test_upward): Likewise.
15650 (ctanh_test): Likewise.
15651 (ctanh_test_tonearest): Likewise.
15652 (ctanh_test_towardzero): Likewise.
15653 (ctanh_test_downward): Likewise.
15654 (ctanh_test_upward): Likewise.
15655 (erf_test): Likewise.
15656 (erfc_test): Likewise.
15657 (exp_test): Likewise.
15658 (exp_test_tonearest): Likewise.
15659 (exp_test_towardzero): Likewise.
15660 (exp_test_downward): Likewise.
15661 (exp_test_upward): Likewise.
15662 (exp10_test): Likewise.
15663 (exp2_test): Likewise.
15664 (expm1_test): Likewise.
15665 (fmod_test): Likewise.
15666 (gamma_test): Likewise.
15667 (hypot_test): Likewise.
15668 (j0_test): Likewise.
15669 (j1_test): Likewise.
15670 (jn_test): Likewise.
15671 (lgamma_test): Likewise.
15672 (log_test): Likewise.
15673 (log10_test): Likewise.
15674 (log1p_test): Likewise.
15675 (log2_test): Likewise.
15676 (logb_test_downward): Likewise.
15677 (pow_test): Likewise.
15678 (pow_test_tonearest): Likewise.
15679 (pow_test_towardzero): Likewise.
15680 (pow_test_downward): Likewise.
15681 (pow_test_upward): Likewise.
15682 (remainder_test): Likewise.
15683 (remquo_test): Likewise.
15684 (sin_test): Likewise.
15685 (sin_test_tonearest): Likewise.
15686 (sin_test_towardzero): Likewise.
15687 (sin_test_downward): Likewise.
15688 (sin_test_upward): Likewise.
15689 (sincos_test): Likewise.
15690 (sinh_test): Likewise.
15691 (sinh_test_tonearest): Likewise.
15692 (sinh_test_towardzero): Likewise.
15693 (sinh_test_downward): Likewise.
15694 (sinh_test_upward): Likewise.
15695 (sqrt_test): Likewise.
15696 (tan_test): Likewise.
15697 (tan_test_tonearest): Likewise.
15698 (tan_test_towardzero): Likewise.
15699 (tan_test_downward): Likewise.
15700 (tan_test_upward): Likewise.
15701 (tanh_test): Likewise.
15702 (tgamma_test): Likewise.
15703 (y0_test): Likewise.
15704 (y1_test): Likewise.
15705 (yn_test): Likewise.
15707 * math/gen-libm-test.pl (adjust_arg): Remove function.
15708 (special_function): Remove argument $in_func. Only handle
15709 generating output for tables of tests, not inside functions.
15710 (parse_args): Likewise.
15711 (generate_testfile): Remove variable $in_func. Update call to
15713 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15714 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15715 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15716 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15717 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15718 (MAX_VALUE_INIT): Rename macro to max_value.
15719 (MIN_VALUE_INIT): Rename macro to min_value.
15720 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15721 (plus_zero): Remove variable.
15722 (minus_zero): Likewise.
15723 (plus_infty): Likewise.
15724 (minus_infty): Likewise.
15725 (qnan_value): Likewise.
15726 (max_value): Likewise.
15727 (min_value): Likewise.
15728 (min_subnorm_value): Likewise.
15730 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15732 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15733 uint64_t or uint32_t usage.
15734 * crypt/sha256-block.c: Likewise.
15735 * crypt/sha256-crypt.c: Likewise.
15736 * crypt/sha256.c: Likewise.
15737 * crypt/sha512-block.c: Likewise.
15738 * crypt/sha512-crypt.c: Likewise.
15739 * crypt/sha512.c: Likewise.
15740 * debug/backtrace-tst.c: Likewise.
15741 * debug/pcprofiledump.c: Likewise.
15742 * elf/cache.c: Likewise.
15743 * elf/dl-cache.c: Likewise.
15744 * elf/dl-misc.c: Likewise.
15745 * elf/dl-profile.c: Likewise.
15746 * elf/dl-support.c: Likewise.
15747 * elf/ldconfig.c: Likewise.
15748 * elf/sprof.c: Likewise.
15749 * iconv/dummy-repertoire.c: Likewise.
15750 * iconv/iconv_charmap.c: Likewise.
15751 * iconv/skeleton.c: Likewise.
15752 * iconvdata/8bit-generic.c: Likewise.
15753 * iconvdata/cp737.h: Likewise.
15754 * iconvdata/cp775.h: Likewise.
15755 * iconvdata/ibm1008.h: Likewise.
15756 * iconvdata/ibm1025.h: Likewise.
15757 * iconvdata/ibm1046.h: Likewise.
15758 * iconvdata/ibm1097.h: Likewise.
15759 * iconvdata/ibm1112.h: Likewise.
15760 * iconvdata/ibm1122.h: Likewise.
15761 * iconvdata/ibm1123.h: Likewise.
15762 * iconvdata/ibm1124.h: Likewise.
15763 * iconvdata/ibm1129.h: Likewise.
15764 * iconvdata/ibm1130.h: Likewise.
15765 * iconvdata/ibm1132.h: Likewise.
15766 * iconvdata/ibm1133.h: Likewise.
15767 * iconvdata/ibm1137.h: Likewise.
15768 * iconvdata/ibm1140.h: Likewise.
15769 * iconvdata/ibm1141.h: Likewise.
15770 * iconvdata/ibm1142.h: Likewise.
15771 * iconvdata/ibm1143.h: Likewise.
15772 * iconvdata/ibm1144.h: Likewise.
15773 * iconvdata/ibm1145.h: Likewise.
15774 * iconvdata/ibm1146.h: Likewise.
15775 * iconvdata/ibm1147.h: Likewise.
15776 * iconvdata/ibm1148.h: Likewise.
15777 * iconvdata/ibm1149.h: Likewise.
15778 * iconvdata/ibm1153.h: Likewise.
15779 * iconvdata/ibm1154.h: Likewise.
15780 * iconvdata/ibm1155.h: Likewise.
15781 * iconvdata/ibm1156.h: Likewise.
15782 * iconvdata/ibm1157.h: Likewise.
15783 * iconvdata/ibm1158.h: Likewise.
15784 * iconvdata/ibm1160.h: Likewise.
15785 * iconvdata/ibm1161.h: Likewise.
15786 * iconvdata/ibm1162.h: Likewise.
15787 * iconvdata/ibm1163.h: Likewise.
15788 * iconvdata/ibm1164.h: Likewise.
15789 * iconvdata/ibm1166.h: Likewise.
15790 * iconvdata/ibm1167.h: Likewise.
15791 * iconvdata/ibm12712.h: Likewise.
15792 * iconvdata/ibm1390.h: Likewise.
15793 * iconvdata/ibm1399.h: Likewise.
15794 * iconvdata/ibm16804.h: Likewise.
15795 * iconvdata/ibm4517.h: Likewise.
15796 * iconvdata/ibm4899.h: Likewise.
15797 * iconvdata/ibm4909.h: Likewise.
15798 * iconvdata/ibm4971.h: Likewise.
15799 * iconvdata/ibm5347.h: Likewise.
15800 * iconvdata/ibm803.h: Likewise.
15801 * iconvdata/ibm856.h: Likewise.
15802 * iconvdata/ibm901.h: Likewise.
15803 * iconvdata/ibm902.h: Likewise.
15804 * iconvdata/ibm9030.h: Likewise.
15805 * iconvdata/ibm9066.h: Likewise.
15806 * iconvdata/ibm921.h: Likewise.
15807 * iconvdata/ibm922.h: Likewise.
15808 * iconvdata/ibm9448.h: Likewise.
15809 * iconvdata/isiri-3342.h: Likewise.
15810 * iconvdata/jis0201.h: Likewise.
15811 * include/link.h: Likewise.
15812 * include/netdb.h: Likewise.
15813 * inet/check_native.c: Likewise.
15814 * inet/check_pf.c: Likewise.
15815 * inet/getipv4sourcefilter.c: Likewise.
15816 * inet/getnameinfo.c: Likewise.
15817 * inet/getsourcefilter.c: Likewise.
15818 * inet/htonl.c: Likewise.
15819 * inet/setipv4sourcefilter.c: Likewise.
15820 * inet/setsourcefilter.c: Likewise.
15821 * inet/test-inet6_opt.c: Likewise.
15822 * inet/tst-network.c: Likewise.
15823 * locale/C-collate.c: Likewise.
15824 * locale/C-ctype.c: Likewise.
15825 * locale/C-time.c: Likewise.
15826 * locale/C-translit.h: Likewise.
15827 * locale/loadarchive.c: Likewise.
15828 * locale/programs/3level.h: Likewise.
15829 * locale/programs/charmap.c: Likewise.
15830 * locale/programs/charmap.h: Likewise.
15831 * locale/programs/ld-address.c: Likewise.
15832 * locale/programs/ld-collate.c: Likewise.
15833 * locale/programs/ld-ctype.c: Likewise.
15834 * locale/programs/ld-identification.c: Likewise.
15835 * locale/programs/ld-measurement.c: Likewise.
15836 * locale/programs/ld-messages.c: Likewise.
15837 * locale/programs/ld-monetary.c: Likewise.
15838 * locale/programs/ld-name.c: Likewise.
15839 * locale/programs/ld-numeric.c: Likewise.
15840 * locale/programs/ld-paper.c: Likewise.
15841 * locale/programs/ld-telephone.c: Likewise.
15842 * locale/programs/ld-time.c: Likewise.
15843 * locale/programs/linereader.c: Likewise.
15844 * locale/programs/locale.c: Likewise.
15845 * locale/programs/locarchive.c: Likewise.
15846 * locale/programs/locfile.h: Likewise.
15847 * locale/programs/repertoire.c: Likewise.
15848 * locale/programs/simple-hash.c: Likewise.
15849 * locale/programs/simple-hash.h: Likewise.
15850 * malloc/memusage.c: Likewise.
15851 * malloc/memusagestat.c: Likewise.
15852 * nis/nis_defaults.c: Likewise.
15853 * nis/nis_hash.c: Likewise.
15854 * nis/nis_print.c: Likewise.
15855 * nis/nis_xdr.c: Likewise.
15856 * nscd/connections.c: Likewise.
15857 * nscd/hstcache.c: Likewise.
15858 * nscd/nscd_gethst_r.c: Likewise.
15859 * nscd/nscd_getserv_r.c: Likewise.
15860 * nscd/nscd_helper.c: Likewise.
15861 * nscd/servicescache.c: Likewise.
15862 * nss/makedb.c: Likewise.
15863 * nss/nss_db/db-XXX.c: Likewise.
15864 * nss/nss_db/db-initgroups.c: Likewise.
15865 * nss/nss_db/db-netgrp.c: Likewise.
15866 * nss/nss_files/files-network.c: Likewise.
15867 * nss/nss_files/files-parse.c: Likewise.
15868 * posix/bug-regex5.c: Likewise.
15869 * posix/fnmatch_loop.c: Likewise.
15870 * posix/regcomp.c: Likewise.
15871 * posix/regexec.c: Likewise.
15872 * posix/tst-rfc3484-2.c: Likewise.
15873 * posix/tst-rfc3484-3.c: Likewise.
15874 * posix/tst-rfc3484.c: Likewise.
15875 * resolv/nss_dns/dns-canon.c: Likewise.
15876 * resolv/nss_dns/dns-network.c: Likewise.
15877 * resolv/res_init.c: Likewise.
15878 * resolv/res_mkquery.c: Likewise.
15879 * resolv/tst-aton.c: Likewise.
15880 * stdlib/cxa_atexit.c: Likewise.
15881 * stdlib/cxa_finalize.c: Likewise.
15882 * stdlib/gen-fpioconst.c: Likewise.
15883 * stdlib/strtol_l.c: Likewise.
15884 * string/tst-endian.c: Likewise.
15885 * sunrpc/auth_des.c: Likewise.
15886 * sunrpc/clnt_udp.c: Likewise.
15887 * sunrpc/rtime.c: Likewise.
15888 * sunrpc/svcauth_des.c: Likewise.
15889 * sunrpc/xdr.c: Likewise.
15890 * sunrpc/xdr_intXX_t.c: Likewise.
15891 * sunrpc/xdr_rec.c: Likewise.
15892 * sysdeps/generic/ldconfig.h: Likewise.
15893 * sysdeps/generic/ldsodefs.h: Likewise.
15894 * sysdeps/generic/memusage.h: Likewise.
15895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15905 * sysdeps/posix/getaddrinfo.c: Likewise.
15906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15908 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15909 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15910 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15911 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15912 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15913 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15914 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15915 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15916 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15917 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15918 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15919 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15921 * sysdeps/x86_64/dl-tls.h: Likewise.
15922 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15923 * time/alt_digit.c: Likewise.
15924 * time/era.c: Likewise.
15925 * wcsmbs/tst-c16c32-1.c: Likewise.
15927 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15929 * math/libm-test.inc (struct test_sincos_data): New type.
15930 (RUN_TEST_LOOP_sincos): New macro.
15931 (sincos_test_data): New variable.
15932 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15934 2013-05-16 Richard Henderson <rth@redhat.com>
15936 * math/atest-exp2.c (LIMB64): New macro.
15937 (CONSTSZ): New macro.
15938 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15940 (print_mpn_fp): ... to function scope.
15941 (read_mpn_hex): Remove.
15942 (get_log2): Remove.
15943 (exp2_mpn): Use mp_log2.
15944 (main): Use mp_exp1.
15946 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15948 * math/libm-test.inc: Remove comment about not testing "inexact"
15950 (INEXACT_EXCEPTION): New macro.
15951 (NO_INEXACT_EXCEPTION): Likewise.
15952 (INVALID_EXCEPTION_OK): Update value.
15953 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15954 (OVERFLOW_EXCEPTION_OK): Likewise.
15955 (UNDERFLOW_EXCEPTION_OK): Likewise.
15956 (IGNORE_ZERO_INF_SIGN): Likewise.
15957 (ERRNO_UNCHANGED): Likewise.
15958 (ERRNO_EDOM): Likewise.
15959 (ERRNO_ERANGE): Likewise.
15960 (test_exceptions): Handle testing "inexact" exceptions.
15961 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15962 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15963 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15964 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15966 (rint_towardzero_test_data): Likewise.
15967 (rint_downward_test_data): Likewise.
15968 (rint_upward_test_data): Likewise.
15970 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15971 with OVERFLOW_EXCEPTION.
15972 (exp10_test_data): Likewise.
15973 (exp2_test_data): Likewise.
15974 (expm1_test_data): Likewise.
15975 (lgamma_test_data): Likewise.
15976 (pow_test_data): Likewise.
15977 (tgamma_test_data): Likewise.
15978 (yn_test_data): Remove duplicate test of overflow.
15980 * math/libm-test.inc (struct test_cc_c_data): New type.
15981 (RUN_TEST_LOOP_cc_c): New macro.
15982 (cpow_test_data): New variable.
15983 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15985 * math/libm-test.inc (struct test_f_L_data): New type.
15986 (RUN_TEST_LOOP_f_L): New macro.
15987 (llrint_test_data): New variable.
15988 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15989 (llrint_tonearest_test_data): New variable.
15990 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15991 (llrint_towardzero_test_data): New variable.
15992 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15993 (llrint_downward_test_data): New variable.
15994 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15995 (llrint_upward_test_data): New variable.
15996 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15997 (llround_test_data): New variable.
15998 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16000 2013-05-13 Peter Collingbourne <pcc@google.com>
16002 * math/atest-exp2.c (get_log2): Remove const attribute.
16004 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16006 * math/libm-test.inc (struct test_f_l_data): New type.
16007 (RUN_TEST_LOOP_f_l): New macro.
16008 (lrint_test_data): New variable.
16009 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16010 (lrint_tonearest_test_data): New variable.
16011 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16012 (lrint_towardzero_test_data): New variable.
16013 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16014 (lrint_downward_test_data): New variable.
16015 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16016 (lrint_upward_test_data): New variable.
16017 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16018 (lround_test_data): New variable.
16019 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16021 2013-05-15 Peter Collingbourne <pcc@google.com>
16023 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16024 (EXTRACT_WORDS64) Use where appropriate.
16025 (INSERT_WORDS64) Likewise.
16027 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16028 constraints with x constraints.
16029 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16031 * malloc/obstack.c (_obstack_compat): Add initializer.
16033 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16036 si_trapno and add si_addr_lsb to _sifields.sigfault.
16037 (si_trapno): Remove macro.
16038 (si_addr_lsb): Define new macro.
16039 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16041 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16043 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16044 instead of TEST_f_l.
16045 (llrint_test_tonearest): Likewise.
16046 (llrint_test_towardzero): Likewise.
16047 (llrint_test_downward): Likewise.
16048 (llrint_test_upward): Likewise.
16049 (llround_test): Likewise.
16051 * math/libm-test.inc (struct test_f_i_data): Add comment.
16052 (RUN_TEST_LOOP_f_b): New macro.
16053 (RUN_TEST_LOOP_f_b_tg): Likewise.
16054 (finite_test_data): New variable.
16055 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16056 (isfinite_test_data): New variable.
16057 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16058 (isinf_test_data): New variable.
16059 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16060 (isnan_test_data): New variable.
16061 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16062 (isnormal_test_data): New variable.
16063 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16064 (issignaling_test_data): New variable.
16065 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16066 (signbit_test_data): New variable.
16067 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16069 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16070 with INVALID_EXCEPTION.
16071 (acosh_test_data): Likewise.
16072 (asin_test_data): Likewise.
16073 (atanh_test_data): Likewise.
16074 (fmod_test_data): Likewise.
16075 (log_test_data): Likewise.
16076 (log10_test_data): Likewise.
16077 (log2_test_data): Likewise.
16078 (pow_test_data): Likewise.
16079 (sqrt_test_data): Likewise.
16080 (y0_test_data): Likewise.
16081 (y1_test_data): Likewise.
16082 (yn_test_data): Likewise.
16084 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16087 * math/libm-test.inc (struct test_ff_i_data): New type.
16088 (RUN_TEST_LOOP_ff_i_tg): New macro.
16089 (isgreater_test_data): New variable.
16090 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16091 (isgreaterequal_test_data): New variable.
16092 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16093 (isless_test_data): New variable.
16094 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16095 (islessequal_test_data): New variable.
16096 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16097 (islessgreater_test_data): New variable.
16098 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16099 (isunordered_test_data): New variable.
16100 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16102 2013-05-14 David S. Miller <davem@davemloft.net>
16104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16106 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16108 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16110 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16112 (struct test_f_i_data): Change type of max_ulp to int.
16114 * math/libm-test.inc (test_ffI_f1_data): New type.
16115 (RUN_TEST_LOOP_ffI_f1): New macro.
16116 (remquo_test_data): New variable.
16117 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16119 * setjmp/tst-setjmp-fp.c: New file.
16120 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16121 (link-libm): New variable.
16122 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16124 * math/libm-test.inc (struct test_f_i_data): New type.
16125 (RUN_TEST_LOOP_f_i): New macro.
16126 (RUN_TEST_LOOP_f_i_tg): Likewise.
16127 (fpclassify_test_data): New variable.
16128 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16129 (ilogb_test_data): New variable.
16130 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16132 * math/libm-test.inc (scalbln_test): Correct function name in END
16135 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16136 (RUN_TEST_LOOP_fI_f1): New macro.
16137 (frexp_test_data): New variable.
16138 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16140 * math/libm-test.inc (struct test_fF_f1_data): New type.
16141 (RUN_TEST_LOOP_fF_f1): New macro.
16142 (modf_test_data): New variable.
16143 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16145 * math/libm-test.inc (struct test_f_f1_data): New type.
16146 (RUN_TEST_LOOP_f_f1): New macro.
16147 (gamma_test_data): New variable.
16148 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16149 (lgamma_test_data): New variable.
16150 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16152 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16154 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16155 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16156 (main): Comment "tls" pseudo-hwcap.
16158 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16160 * math/libm-test.inc (struct test_fl_f_data): New type.
16161 (RUN_TEST_LOOP_fl_f): New variable.
16162 (scalbln_test_data): New variable.
16163 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16165 * math/libm-test.inc (struct test_fi_f_data): New type.
16166 (RUN_TEST_LOOP_fi_f): New macro.
16167 (ldexp_test_data): New variable.
16168 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16169 (scalbn_test_data): New variable.
16170 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16172 * math/libm-test.inc (struct test_c_f_data): New type.
16173 (RUN_TEST_LOOP_c_f): New macro.
16174 (cabs_test_data): New variable.
16175 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16176 (carg_test_data): New variable.
16177 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16178 (cimag_test_data): New variable.
16179 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16180 (creal_test_data): New variable.
16181 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16183 * math/libm-test.inc (struct test_if_f_data): New type.
16184 (RUN_TEST_LOOP_if_f): New macro.
16185 (jn_test_data): New variable.
16186 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16187 (yn_test_data): New variable.
16188 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16190 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16192 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16195 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16197 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16199 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16200 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16201 (bench-deps): Add bench-timing.h.
16202 * benchtests-bench-skeleton.c: Include bench-timing.h.
16203 (main): Use TIMING_* macros instead of clock_gettime.
16204 * benchtests/bench-timing.h: New file.
16207 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16208 Renamed from _LIB_VERSION.
16209 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16211 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16213 * math/libm-test.inc (struct test_fff_f_data): New type.
16214 (RUN_TEST_LOOP_fff_f): New macro.
16215 (fma_test_data): New variable.
16216 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16217 (fma_towardzero_test_data): New variable.
16218 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16219 (fma_downward_test_data): New variable.
16220 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16221 (fma_upward_test_data): New variable.
16222 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16224 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16225 (struct test_c_c_data): New type.
16226 (RUN_TEST_LOOP_c_c): New macro.
16227 (cacos_test_data): New variable.
16228 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16229 (cacosh_test_data): New variable.
16230 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16231 (casin_test_data): New variable.
16232 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16233 (casinh_test_data): New variable.
16234 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16235 (catan_test_data): New variable.
16236 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16237 (catanh_test_data): New variable.
16238 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16239 (ccos_test_data): New variable.
16240 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16241 (ccosh_test_data): New variable.
16242 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16243 (cexp_test_data): New variable.
16244 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16245 (clog_test_data): New variable.
16246 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16247 (clog10_test_data): New variable.
16248 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16249 (conj_test_data): New variable.
16250 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16251 (cproj_test_data): New variable.
16252 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16253 (csin_test_data): New variable.
16254 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16255 (csinh_test_data): New variable.
16256 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16257 (csqrt_test_data): New variable.
16258 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16259 (ctan_test_data): New variable.
16260 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16261 (ctan_tonearest_test_data): New variable.
16262 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16263 (ctan_towardzero_test_data): New variable.
16264 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16265 (ctan_downward_test_data): New variable.
16266 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16267 (ctan_upward_test_data): New variable.
16268 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16269 (ctanh_test_data): New variable.
16270 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16271 (ctanh_tonearest_test_data): New variable.
16272 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16273 (ctanh_towardzero_test_data): New variable.
16274 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16275 (ctanh_downward_test_data): New variable.
16276 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16277 (ctanh_upward_test_data): New variable.
16278 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16279 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16282 * math/libm-test.inc (struct test_ff_f_data): New type.
16283 (struct test_ff_f_data_nexttoward): Likewise.
16284 (RUN_TEST_LOOP_2_f): New macro.
16285 (RUN_TEST_LOOP_ff_f): Likewise.
16286 (atan2_test_data): New variable.
16287 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16288 (copysign_test_data): New variable.
16289 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16290 (fdim_test_data): New variable.
16291 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16292 (fmax_test_data): New variable.
16293 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16294 (fmin_test_data): New variable.
16295 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16296 (fmod_test_data): New variable.
16297 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16298 (hypot_test_data): New variable.
16299 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16300 (nextafter_test_data): New variable.
16301 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16302 (nexttoward_test_data): New variable.
16303 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16304 (pow_test_data): New variable.
16305 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16306 (pow_tonearest_test_data): New variable.
16307 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16308 (pow_towardzero_test_data): New variable.
16309 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16310 (pow_downward_test_data): New variable.
16311 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16312 (pow_upward_test_data): New variable.
16313 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16314 (remainder_test_data): New variable.
16315 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16316 (scalb_test_data): New variable.
16317 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16318 * sysdeps/i386/fpu/libm-test-ulps: Update.
16320 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16322 * math/libm-test.inc (fma_test): Use max_value instead of local
16324 (nextafter_test): Likewise.
16326 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16327 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16328 (acos_downward_test_data): New variable.
16329 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16330 (acos_upward_test_data): New variable.
16331 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16332 (acosh_test_data): New variable.
16333 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16334 (asin_test_data): New variable.
16335 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16336 (asin_tonearest_test_data): New variable.
16337 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16338 (asin_towardzero_test_data): New variable.
16339 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16340 (asin_downward_test_data): New variable.
16341 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16342 (asin_upward_test_data): New variable.
16343 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16344 (asinh_test_data): New variable.
16345 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16346 (atan_test_data): New variable.
16347 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16348 (atanh_test_data): New variable.
16349 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16350 (cbrt_test_data): New variable.
16351 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16352 (ceil_test_data): New variable.
16353 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16354 (cos_test_data): New variable.
16355 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16356 (cos_tonearest_test_data): New variable.
16357 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16358 (cos_towardzero_test_data): New variable.
16359 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16360 (cos_downward_test_data): New variable.
16361 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16362 (cos_upward_test_data): New variable.
16363 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16364 (cosh_test_data): New variable.
16365 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16366 (cosh_tonearest_test_data): New variable.
16367 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16368 (cosh_towardzero_test_data): New variable.
16369 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16370 (cosh_downward_test_data): New variable.
16371 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16372 (cosh_upward_test_data): New variable.
16373 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16374 (erf_test_data): New variable.
16375 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16376 (erfc_test_data): New variable.
16377 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16378 (exp_test_data): New variable.
16379 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16380 (exp_tonearest_test_data): New variable.
16381 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16382 (exp_towardzero_test_data): New variable.
16383 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16384 (exp_downward_test_data): New variable.
16385 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16386 (exp_upward_test_data): New variable.
16387 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16388 (exp10_test_data): New variable.
16389 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16390 (exp2_test_data): New variable.
16391 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16392 (expm1_test_data): New variable.
16393 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16394 (fabs_test_data): New variable.
16395 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16396 (floor_test_data): New variable.
16397 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16398 (j0_test_data): New variable.
16399 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16400 (j1_test_data): New variable.
16401 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16402 (log_test_data): New variable.
16403 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16404 (log10_test_data): New variable.
16405 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16406 (log1p_test_data): New variable.
16407 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16408 (log2_test_data): New variable.
16409 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16410 (logb_test_data): New variable.
16411 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16412 (logb_downward_test_data): New variable.
16413 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16414 (nearbyint_test_data): New variable.
16415 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16416 (rint_test_data): New variable.
16417 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16418 (rint_tonearest_test_data): New variable.
16419 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16420 (rint_towardzero_test_data): New variable.
16421 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16422 (rint_downward_test_data): New variable.
16423 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16424 (rint_upward_test_data): New variable.
16425 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16426 (round_test_data): New variable.
16427 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16428 (sin_test_data): New variable.
16429 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16430 (sin_tonearest_test_data): New variable.
16431 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16432 (sin_towardzero_test_data): New variable.
16433 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16434 (sin_downward_test_data): New variable.
16435 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16436 (sin_upward_test_data): New variable.
16437 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16438 (sinh_test_data): New variable.
16439 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16440 (sinh_tonearest_test_data): New variable.
16441 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16442 (sinh_towardzero_test_data): New variable.
16443 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16444 (sinh_downward_test_data): New variable.
16445 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16446 (sinh_upward_test_data): New variable.
16447 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16448 (sqrt_test_data): New variable.
16449 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16450 (tan_test_data): New variable.
16451 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16452 (tan_tonearest_test_data): New variable.
16453 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16454 (tan_towardzero_test_data): New variable.
16455 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16456 (tan_downward_test_data): New variable.
16457 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16458 (tan_upward_test_data): New variable.
16459 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16460 (tanh_test_data): New variable.
16461 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16462 (tgamma_test_data): New variable.
16463 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16464 (trunc_test_data): New variable.
16465 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16466 (y0_test_data): New variable.
16467 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16468 (y1_test_data): New variable.
16469 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16470 (significand_test_data): New variable.
16471 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16473 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16476 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16478 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16480 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16482 2013-05-10 Andreas Jaeger <aj@suse.de>
16485 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16486 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16488 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16490 * math/gen-libm-test.pl (adjust_arg): New function.
16491 (special_functions): Handle generating output in both functions
16493 (parse_args): Likewise.
16494 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16495 $in_func argument to parse_args.
16496 * math/libm-test.inc (struct test_f_f_data): New type.
16497 (IF_ROUND_INIT_): New macro.
16498 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16499 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16500 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16501 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16502 (ROUND_RESTORE_): Likewise.
16503 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16504 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16505 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16506 (ROUND_RESTORE_FE_UPWARD): Likewise.
16507 (RUN_TEST_LOOP_f_f): New macro.
16508 (acos_test_data): New variable.
16509 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16510 (acos_tonearest_test_data): New variable.
16511 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16513 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16515 * benchtests/bench-skeleton.c (startup): Fix coding style.
16517 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16520 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16521 negative infinity argument.
16522 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16523 negative infinity argument.
16524 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16525 negative infinity argument.
16526 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16529 2013-05-10 Florian Weimer <fweimer@redhat.com>
16531 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16532 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16533 * iconv/iconv_prog.c (main): Likewise.
16534 * locale/programs/charmap-dir.c (charmap_readdir)
16535 (fopen_uncompressed): Likewise.
16536 * locale/programs/locfile.c (siblings_uncached)
16537 (write_locale_data): Use lstat64 instead of lstat.
16538 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16541 2013-05-10 Andreas Jaeger <aj@suse.de>
16544 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16546 Include <locale.h>.
16548 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16550 * elf/dl-close.c (_dl_close_worker): Add comments.
16552 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16555 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16557 (__ieee754_rem_pio2l): Update comments.
16560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16562 (__ieee754_rem_pio2l): Update comments.
16564 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16565 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16567 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16570 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16571 (M_PI_34_LOG10El): Likewise.
16572 (M_PI2_LOG10El): Likewise.
16573 (M_PI4_LOG10El): Likewise.
16574 (M_PI_LOG10El): Likewise.
16576 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16580 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16582 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16583 (MINUS_ZERO_INIT): Likewise.
16584 (PLUS_INFTY_INIT): Likewise.
16585 (MINUS_INFTY_INIT): Likewise.
16586 (QNAN_VALUE_INIT): Likewise.
16587 (MAX_VALUE_INIT): Likewise.
16588 (MIN_VALUE_INIT): Likewise.
16589 (MIN_SUBNORM_VALUE_INIT): Likewise.
16590 (plus_zero): Initialize with PLUS_ZERO_INIT.
16591 (minus_zero): Initialize with MINUS_ZERO_INIT.
16592 (plus_infty): Initialize with PLUS_INFTY_INIT.
16593 (minus_infty): Initialize with MINUS_INFTY_INIT.
16594 (qnan_value): Initialize with QNAN_VALUE_INIT.
16595 (max_value): Initialize with MAX_VALUE_INIT.
16596 (min_value): Initialize with MIN_VALUE_INIT.
16597 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16599 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16600 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16601 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16602 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16604 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16605 (RUN_TEST_2_f): Likewise.
16606 (RUN_TEST_ff_f): Likewise.
16607 (RUN_TEST_fi_f): Likewise.
16608 (RUN_TEST_fl_f): Likewise.
16609 (RUN_TEST_fff_f): Likewise.
16610 (RUN_TEST_c_f): Likewise.
16611 (RUN_TEST_f_f1): Likewise.
16612 (RUN_TEST_fF_f1): Likewise.
16613 (RUN_TEST_fI_f1): Likewise.
16614 (RUN_TEST_ffI_f1): Likewise.
16615 (RUN_TEST_c_c): Likewise.
16616 (RUN_TEST_cc_c): Likewise.
16617 (RUN_TEST_f_i): Likewise.
16618 (RUN_TEST_f_i_tg): Likewise.
16619 (RUN_TEST_ff_i_tg): Likewise.
16620 (RUN_TEST_f_b): Likewise.
16621 (RUN_TEST_f_b_tg): Likewise.
16622 (RUN_TEST_f_l): Likewise.
16623 (RUN_TEST_f_L): Likewise.
16624 (RUN_TEST_sincos): Likewise.
16625 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16626 whether to show exceptions. Do not include ");\n" in return
16628 (special_functions): Output call to RUN_TEST_sincos instead of
16629 check_float calls. Update calls to new_test.
16630 (parse_args): Output call to single RUN_TEST_* macro instead of
16631 check_* calls and other assignments. Update calls to new_test.
16637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16638 input to result for tgamma overflow.
16639 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16640 (gamma_coeff): New variable.
16641 (NCOEFF): New macro.
16642 (gamma_positive): New function.
16643 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16644 underflow here. Use gamma_positive instead of exp (lgamma) for
16646 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16647 (gamma_coeff): New variable.
16648 (NCOEFF): New macro.
16649 (gammaf_positive): New function.
16650 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16651 underflow here. Use gamma_positive instead of exp (lgamma) for
16653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16654 (gamma_coeff): New variable.
16655 (NCOEFF): New macro.
16656 (gammal_positive): New function.
16657 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16658 underflow here. Use gamma_positive instead of exp (lgamma) for
16660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16661 (gamma_coeff): New variable.
16662 (NCOEFF): New macro.
16663 (gammal_positive): New function.
16664 (__ieee754_gammal_r): Handle positive infinity, overflow and
16665 underflow here. Handle NaN the same as positive infinity. Remove
16666 check x < 0xffffffff for negative integers. Use gamma_positive
16667 instead of exp (lgamma) for other arguments.
16668 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16669 (gamma_coeff): New variable.
16670 (NCOEFF): New macro.
16671 (gammal_positive): New function.
16672 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16673 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16677 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16678 * sysdeps/generic/math_private.h (__gamma_productf): New
16680 (__gamma_product): Likewise.
16681 (__gamma_productl): Likewise.
16682 * math/Makefile (libm-calls): Add gamma_product.
16683 * math/libm-test.inc (tgamma_test): Add more tests.
16684 * sysdeps/i386/fpu/libm-test-ulps: Update.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16687 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16689 * benchtests/bench-skeleton.c (main): Preheat CPU.
16691 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16693 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16695 2013-05-07 Roland McGrath <roland@hack.frob.com>
16697 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16698 and _dl_skip_args_internal.
16700 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16702 * manual/message.texi (Message Translation): Talk about users.
16703 Message to key mapping impacts design.
16705 2013-05-06 Roland McGrath <roland@hack.frob.com>
16707 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16709 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16711 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16712 * sysdeps/wordsize-64/glob64.c: ... here.
16714 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16715 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16718 * debug/getlogin_r_chk.c: Moved to ...
16719 * login/getlogin_r_chk.c: ... here.
16720 * debug/Makefile (routines): Move getlogin_r_chk to ...
16721 * login/Makefile (routines): ... here.
16722 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16723 * login/Versions (libc: GLIBC_2.4): ... here.
16725 * io/poll.c (__poll): Renamed from poll.
16726 Add libc_hidden_def.
16727 (poll): Define as weak alias.
16729 * debug/ptsname_r_chk.c: Moved to ...
16730 * login/ptsname_r_chk.c: ... here.
16731 * debug/Makefile (routines): Move ptsname_r_chk to ...
16732 * login/Makefile (routines): ... here.
16733 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16734 * login/Versions (libc: GLIBC_2.4): ... here.
16736 * posix/getlogin.c: Moved to ...
16737 * login/getlogin.c: ... here.
16738 * posix/getlogin_r.c: Moved to ...
16739 * login/getlogin_r.c: ... here.
16740 * posix/getlogin_r.c: Moved to ...
16741 * login/getlogin_r.c: ... here.
16742 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16743 * login/Makefile (routines): ... here.
16744 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16745 * login/Versions (libc: GLIBC_2.0): ... here.
16747 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16748 (setrlimit): Define as weak alias.
16750 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16751 Call __ names for open, ftruncate, and close.
16752 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16753 (truncate): Define as weak alias.
16755 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16757 * math/gen-libm-test.pl (parse_args): Initialize x before each
16758 test of frexp, modf and remquo.
16760 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16761 test signgam value.
16763 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16767 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16769 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16771 2013-05-06 Roland McGrath <roland@hack.frob.com>
16773 * elf/dl-writev.h: New file.
16774 * elf/dl-misc.c: Include it.
16775 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16776 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16778 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16780 * math/libm-test.inc (noXFails): Remove variable.
16781 (noXPasses): Likewise.
16782 (BUILD_COMPLEX_INT): Remove macro.
16783 (print_screen): Remove xfail argument.
16784 (print_screen_max_error): Likewise.
16785 (update_stats): Likewise.
16786 (print_max_error): Likewise. Update calls to other affected
16788 (print_complex_max_error): Likewise.
16789 (test_single_exception): Update calls to print_screen.
16790 (test_single_errno): Likewise.
16791 (check_float_internal): Remove xfail argument. Update calls to
16792 other affected functions.
16793 (check_float): Likewise.
16794 (check_complex): Likewise.
16795 (check_int): Likewise.
16796 (check_long): Likewise.
16797 (check_bool): Likewise.
16798 (check_longlong): Likewise.
16799 (main): Don't print noXFails and noXPasses.
16800 * math/gen-libm-test.pl (top level): Don't mention expected
16801 failure handling in comment.
16802 (new_test): Don't handle expected failures.
16803 (parse_args): Don't mention expected failure handling in comment.
16804 (generate_testfile): Don't handle expected failures.
16805 (parse_ulps): Likewise.
16806 (print_ulps_file): Likewise.
16807 (get_failure): Remove function.
16808 (output_test): Don't handle expected failures.
16809 * make/README.libm-test: Don't mention expected failure handling.
16811 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16812 (minus_zero): Likewise.
16813 (plus_infty): Likewise.
16814 (minus_infty): Likewise.
16815 (qnan_value): Likewise.
16816 (max_value): Likewise.
16817 (min_value): Likewise.
16818 (min_subnorm_value): Likewise.
16819 (initialize): Do not initialize those variables dynamically.
16821 2013-05-03 Roland McGrath <roland@hack.frob.com>
16823 * io/open.c (__open_2): Moved to ...
16824 * io/open_2.c: ... this new file.
16825 * io/open64.c (__open64_2): Moved to ...
16826 * io/open64_2.c: ... this new file.
16827 * io/openat.c (__openat_2): Moved to ...
16828 * io/openat_2.c: ... this new file.
16829 * io/openat64.c (__openat64_2): Moved to ...
16830 * io/openat64_2.c: ... this new file.
16831 * io/Makefile (routines): Add them.
16832 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16833 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16834 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16835 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16836 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16837 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16838 (__openat64): Add hidden_ver.
16839 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16840 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16842 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16843 Separately conditionalize setting of GLRO(dl_sysinfo) so
16844 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16845 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16847 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16849 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16852 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16853 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16854 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16855 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16856 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16858 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16860 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16861 test signgam value.
16863 * math/libm-test.inc (hypot_test): Do not use
16864 IGNORE_ZERO_INF_SIGN.
16866 2013-05-03 Andreas Jaeger <aj@suse.de>
16868 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16870 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16871 (PF_MAX): Adjust for VSOCK change.
16873 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16877 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16880 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16881 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16882 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16884 2013-05-02 David S. Miller <davem@davemloft.net>
16886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16888 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16890 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16892 2013-05-01 Roland McGrath <roland@hack.frob.com>
16894 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16896 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16899 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16900 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16901 Use __attribute__ ((__gnu_inline__)).
16902 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16903 Don't use __attribute__ ((__gnu_inline__)).
16905 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16908 * math/s_catan.c (__catan): Handle small real or imaginary part of
16909 input specially to avoid spurious underflow.
16910 * math/s_catanf.c (__catanf): Likewise.
16911 * math/s_catanh.c (__catanh): Likewise.
16912 * math/s_catanhf.c (__catanhf): Likewise.
16913 * math/s_catanhl.c (__catanhl): Likewise.
16914 * math/s_catanl.c (__catanl): Likewise.
16915 * math/libm-test.inc (catan_test): Add more tests.
16916 (catanh_test): Likewise.
16917 * sysdeps/i386/fpu/libm-test-ulps: Update.
16918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16920 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16924 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16927 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16928 accurately for denominator in atan2.
16929 * math/s_catanf.c (__catanf): Likewise.
16930 * math/s_catanh.c (__catanh): Likewise.
16931 * math/s_catanhf.c (__catanhf): Likewise.
16932 * math/s_catanhl.c (__catanhl): Likewise.
16933 * math/s_catanl.c (__catanl): Likewise.
16934 * math/libm-test.inc (catan_test): Add more tests.
16935 (catanh_test): Likewise.
16936 * sysdeps/i386/fpu/libm-test-ulps: Update.
16937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16939 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16943 * benchtests/Makefile (bench): Remove slow benchmarks.
16944 * benchtests/atan-inputs: Add slow benchmark inputs.
16945 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16946 (BENCH_FUNC): Accept variant offset.
16948 * benchtests/bench-skeleton.c (main): Run benchmark for each
16950 * benchtests/cos-inputs: Add slow benchmark inputs.
16951 * benchtests/exp-inputs: Likewise.
16952 * benchtests/pow-inputs: Likewise.
16953 * benchtests/sin-inputs: Likewise.
16954 * benchtests/slowatan-inputs: Remove.
16955 * benchtests/slowatan.c: Remove.
16956 * benchtests/slowcos-inputs: Remove.
16957 * benchtests/slowcos.c: Remove.
16958 * benchtests/slowexp-inputs: Remove.
16959 * benchtests/slowexp.c: Remove.
16960 * benchtests/slowpow-inputs: Remove.
16961 * benchtests/slowpow.c: Remove.
16962 * benchtests/slowsin-inputs: Remove.
16963 * benchtests/slowsin.c: Remove.
16964 * benchtests/slowtan-inputs: Remove.
16965 * benchtests/slowtan.c: Remove.
16966 * benchtests/tan-inputs: Add slow benchmark inputs.
16967 * scripts/bench.pl: Parse comments and directives.
16969 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16971 ($(objpfx)bench-%.c): Remove *-ITER.
16972 * benchtests/bench-modf.c: Remove definition of ITER.
16973 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16974 (main): Loop for DURATION seconds instead of fixed number of
16976 * scripts/bench.pl: Don't expect iterations in parameters.
16978 2013-04-29 Roland McGrath <roland@hack.frob.com>
16980 * io/fchdir.c (__fchdir): Renamed from fchdir.
16981 (fchdir): Define as weak alias.
16983 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16985 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16986 (ERRNO_EDOM): Likewise.
16987 (ERRNO_ERANGE): Likewise.
16988 (noErrnoTests): New variable.
16989 (init_max_error): Set errno to 0.
16990 (test_single_errno): New function.
16991 (test_errno): Likewise.
16992 (check_float_internal): Call test_errno. Set errno to 0.
16993 (check_complex): Refer to errno tests in comment.
16994 (check_int): Call test_errno. Set errno to 0.
16995 (check_long): Likewise.
16996 (check_bool): Likewise.
16997 (check_longlong): Likewise.
16998 (cos_test): Use ERRNO_* flags for errno tests instead of
17000 (expm1_test): Likewise.
17001 (fmod_test): Likewise.
17002 (ilogb_test): Likewise.
17003 (lgamma_test): Likewise.
17004 (pow_test): Likewise.
17005 (remainder_test): Likewise.
17006 (sin_test): Likewise.
17007 (tan_test): Likewise.
17008 (yn_test): Likewise.
17009 (initialize): Set errno to 0.
17010 (main): Print number of errno tests.
17011 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17013 2013-04-29 Andreas Jaeger <aj@suse.de>
17016 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17020 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17021 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17025 * stdlib/random.c (__initstate): Return NULL if
17029 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17030 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17033 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17037 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17039 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17040 of individual tests.
17041 (casin_test): Likewise.
17042 (casinh_test): Likewise.
17044 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17047 * math/s_catan.c (__catan): Handle arguments with large real or
17048 imaginary part separately without squaring.
17049 * math/s_catanf.c (__catanf): Likewise.
17050 * math/s_catanh.c (__catanh): Likewise.
17051 * math/s_catanhf.c (__catanhf): Likewise.
17052 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17054 (__catanhl): Handle arguments with large real or imaginary part
17055 separately without squaring.
17056 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17058 (__catanl): Handle arguments with large real or imaginary part
17059 separately without squaring.
17060 * math/libm-test.inc (catan_test): Add more tests.
17061 (catanh_test): Likewise.
17062 * sysdeps/i386/fpu/libm-test-ulps: Update.
17063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17065 2013-04-27 Andreas Jaeger <aj@suse.de>
17068 * stdlib/stdlib.h: Update guards for qecvt.
17069 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17072 2013-04-27 Allan McRae <allan@archlinux.org>
17074 * sysdeps/i386/fpu/libm-test-ulps: Update.
17076 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17079 * math/s_catan.c: Include <float.h>.
17080 (__catan): Ensure underflow exception occurs for underflowed
17082 * math/s_catanf.c: Include <float.h>.
17083 (__catanf): Ensure underflow exception occurs for underflowed
17085 * math/s_catanh.c: Include <float.h>.
17086 (__catanh): Ensure underflow exception occurs for underflowed
17088 * math/s_catanhf.c: Include <float.h>.
17089 (__catanhf): Ensure underflow exception occurs for underflowed
17091 * math/s_catanhl.c: Include <float.h>.
17092 (__catanhl): Ensure underflow exception occurs for underflowed
17094 * math/s_catanl.c: Include <float.h>.
17095 (__catanl): Ensure underflow exception occurs for underflowed
17097 * math/libm-test.inc (catan_test): Add more tests.
17098 (catanh_test): Likewise.
17101 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17102 underflowed result.
17103 * math/s_ccoshf.c (__ccoshf): Likewise.
17104 * math/s_ccoshl.c (__ccoshl): Likewise.
17105 * math/s_csin.c (__csin): Likewise.
17106 * math/s_csinf.c (__csinf): Likewise.
17107 * math/s_csinh.c (__csinh): Likewise.
17108 * math/s_csinhf.c (__csinhf): Likewise.
17109 * math/s_csinhl.c (__csinhl): Likewise.
17110 * math/s_csinl.c (__csinl): Likewise.
17111 * math/libm-test.inc (ccos_test): Add more tests.
17112 (ccosh_test): Likewise.
17113 (csin_test): Likewise.
17114 (csinh_test): Likewise.
17116 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17118 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17119 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17120 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17121 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17122 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17123 powerpc/power5+/fpu folders.
17124 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17127 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17131 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17133 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17134 additions to variable.
17135 [$(config-machine) = x86_64] (modules-names): Likewise.
17136 ($(objpfx)tst-audit3): Remove dependency.
17137 ($(objpfx)tst-audit3.out): Likewise.
17138 ($(objpfx)tst-audit4): Likewise.
17139 ($(objpfx)tst-audit4.out): Likewise.
17140 ($(objpfx)tst-audit5): Likewise.
17141 ($(objpfx)tst-audit5.out): Likewise.
17142 ($(objpfx)tst-audit6): Likewise.
17143 ($(objpfx)tst-audit6.out): Likewise.
17144 ($(objpfx)tst-audit7): Likewise.
17145 ($(objpfx)tst-audit7.out): Likewise.
17146 (tst-audit3-ENV): Remove variable.
17147 (tst-audit4-ENV): Likewise.
17148 (tst-audit5-ENV): Likewise.
17149 (tst-audit6-ENV): Likewise.
17150 (tst-audit7-ENV): Likewise.
17151 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17152 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17153 addition to variable.
17154 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17155 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17156 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17158 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17159 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17160 tst-audit3, tst-audit4 and tst-audit5.
17161 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17162 tst-audit6 and tst-audit7.
17163 [$(subdir) = elf] (modules-names): Add audit modules for those
17165 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17166 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17167 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17168 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17169 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17170 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17171 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17172 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17173 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17174 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17175 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17176 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17177 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17178 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17179 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17180 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17182 [$(subdir) = elf && $(config-cflags-avx) = yes]
17183 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17184 [$(subdir) = elf && $(config-cflags-avx) = yes]
17185 (CFLAGS-tst-auditmod4a.c): Likewise.
17186 [$(subdir) = elf && $(config-cflags-avx) = yes]
17187 (CFLAGS-tst-auditmod4b.c): Likewise.
17188 [$(subdir) = elf && $(config-cflags-avx) = yes]
17189 (CFLAGS-tst-auditmod6b.c): Likewise.
17190 [$(subdir) = elf && $(config-cflags-avx) = yes]
17191 (CFLAGS-tst-auditmod6c.c): Likewise.
17192 [$(subdir) = elf && $(config-cflags-avx) = yes]
17193 (CFLAGS-tst-auditmod7b.c): Likewise.
17194 * elf/tst-audit3.c: Move to ...
17195 * sysdeps/x86_64/tst-audit3.c: ... here.
17196 * elf/tst-audit4.c: Move to ...
17197 * sysdeps/x86_64/tst-audit4.c: ... here.
17198 * elf/tst-audit5.c: Move to ...
17199 * sysdeps/x86_64/tst-audit5.c: ... here.
17200 * elf/tst-audit6.c: Move to ...
17201 * sysdeps/x86_64/tst-audit6.c: ... here.
17202 * elf/tst-audit7.c: Move to ...
17203 * sysdeps/x86_64/tst-audit7.c: ... here.
17204 * elf/tst-auditmod3a.c: Move to ...
17205 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17206 * elf/tst-auditmod3b.c: Move to ...
17207 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17208 * elf/tst-auditmod4a.c: Move to ...
17209 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17210 * elf/tst-auditmod4b.c: Move to ...
17211 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17212 * elf/tst-auditmod5a.c: Move to ...
17213 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17214 * elf/tst-auditmod5b.c: Move to ...
17215 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17216 * elf/tst-auditmod6a.c: Move to ...
17217 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17218 * elf/tst-auditmod6b.c: Move to ...
17219 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17220 * elf/tst-auditmod6c.c: Move to ...
17221 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17222 * elf/tst-auditmod7a.c: Move to ...
17223 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17224 * elf/tst-auditmod7b.c: Move to ...
17225 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17227 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17230 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17231 define unconditionally.
17232 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17233 define unconditionally.
17234 (INT8_C, INT16_C, etc.): Likewise.
17236 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17238 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17239 __ehdr_start with hidden visibility.
17241 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17243 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17245 * math/libm-test.inc (cos_test): Use accurate hex constants.
17246 (sincost_test): Likewise.
17248 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17250 * math/libm-test.inc (catan_test): Add more tests.
17251 (catanh_test): Likewise.
17253 * math/s_catanf.c (__catanf): Use suffixed floating-point
17255 * math/s_catanhf.c (__catanhf): Likewise.
17256 * math/s_catanhl.c (__catanhl): Likewise.
17257 * math/s_catanl.c (__catanl): Likewise.
17260 * math/s_catan.c (__catan): Calculate imaginary part of result
17261 with log1p not log unless computing log of number close to 0.
17262 * math/s_catanf.c (__catanf): Likewise.
17263 * math/s_catanl.c (__catanl): Likewise.
17264 * math/s_catanh.c (__catanh): Calculate real part of result with
17265 log1p not log unless computing log of number close to 0.
17266 * math/s_catanhf.c (__catanhf): Likewise.
17267 * math/s_catanhl.c (__catanhl): Likewise.
17268 * math/libm-test.inc (catan_test): Add more tests.
17269 (catanh_test): Likewise.
17270 * sysdeps/i386/fpu/libm-test-ulps: Update.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17273 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17275 * benchtests/Makefile: Mention files in which fast and slow
17276 paths of math functions are implemented.
17278 2013-04-23 Roland McGrath <roland@hack.frob.com>
17280 * sysdeps/posix/timespec_get.c: New file.
17282 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17284 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17286 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17288 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17289 powerpc/power5/fpu folders.
17290 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17291 * benchtests/Makefile: Add modf testcase.
17292 * benchtests/bench-modf.c: New file: Benchmark test for mo
17294 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17297 * time/Makefile (tests): Add tst-strptime-whitespace.
17298 * time/strptime_l.c (get_number): Use ISSPACE.
17299 (__strptime_internal): Likewise.
17300 * time/tst-strptime-whitespace.c: New test case.
17302 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17304 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17306 (_nss_files_init): Set it here.
17308 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17310 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17311 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17314 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17316 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17318 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17323 2013-04-21 David S. Miller <davem@davemloft.net>
17325 * po/ru.po: Update Russion translation from translation project.
17327 2013-04-17 Adam Conrad <adconrad@0c3.net>
17329 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17332 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17334 * configure.in: Remove i386 configure warning. Remove i386 case.
17335 * configure: Regenerate.
17336 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17337 Add example to error message.
17338 * sysdeps/i386/configure: Regenerate.
17340 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17342 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17344 * benchtests/cos-inputs: New file.
17345 * benchtests/slowcos-inputs: New file.
17346 * benchtests/slowcos.c: New file.
17347 * benchtests/slowtan-inputs: New file.
17348 * benchtests/slowtan.c: New file.
17349 * benchtests/tan-inputs: New file.
17351 2013-04-16 Roland McGrath <roland@hack.frob.com>
17353 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17356 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17358 * benchtests/Makefile: Include cppflags-iterator.mk to add
17359 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17361 * Makefile.in (bench-clean): New target.
17362 * benchtests/Makefile (bench-clean): Likewise.
17364 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17366 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17368 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17370 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17372 2013-04-15 Andreas Schwab <schwab@suse.de>
17374 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17376 * nscd/pwdcache.c (cache_addpw): Likewise.
17377 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17380 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17382 * benchtests/Makefile (bench): Write all output to
17383 bench-out.tmp together.
17385 2013-04-15 Andreas Schwab <schwab@suse.de>
17387 * nscd/nscd.c (main): Don't fork again after closing files.
17389 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17391 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17393 * benchtests/Rules (bench-deps): Collect dependencies into a
17394 single variable. Add Makefile to dependencies.
17395 ($(objpfx)bench-%.c): Depend on bench-deps.
17397 2013-04-12 Roland McGrath <roland@hack.frob.com>
17398 Xavier Roche <roche+kml2@exalead.com>
17401 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17402 just that it's a file descriptor.
17403 * manual/llio.texi (Synchronizing AIO Operations): Update description
17404 for EBADF error from aio_fsync.
17406 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17408 * Rules (bench): Move target definition...
17409 * benchtests/Makefile: ... here.
17411 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17413 * math/libm-test.inc (cos_test): Fix PI/2 test.
17414 (sincos_test): Likewise.
17415 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17416 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17418 2013-04-11 Andreas Schwab <schwab@suse.de>
17421 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17422 accept exponent character only when digits were seen.
17423 * stdio-common/Makefile (tests): Add bug26.
17424 * stdio-common/bug26.c: New file.
17427 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17430 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17432 * Makeconfig (rtld-prefix): Define built linker prefix.
17433 * Rules (run-bench): Use it.
17434 * math/Makefile (run-regen-ulps): Likewise.
17436 * Rules (bench): Remove eval.
17438 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17439 Roland McGrath <roland@hack.frob.com>
17440 Ondrej Bilka <neleai@seznam.cz>
17443 * time/getdate.c: Include ctype.h and alloca.h.
17444 (__getdate_r): Trim leading and trailing spaces of input.
17445 * time/tst-getdate.c (tests): Add tests with leading and
17448 2013-04-08 Roland McGrath <roland@hack.frob.com>
17451 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17452 when computing value.
17454 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17456 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17457 Use testrun.sh to run libm tests.
17460 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17462 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17465 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17467 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17469 * Makefile.in (regen-ulps): New target.
17470 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17471 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17472 [ifneq (no,$(PERL)] (regen-ulps): New target.
17473 [ifeq (no,$(PERL)] (regen-ulps): New target.
17474 * math/libm-test.inc (ulps_file_name): Define.
17475 (output_dir): New variable.
17476 (options): Add "output-dir" option.
17477 (parse_opt): Handle 'o' case.
17478 (main): If output_dir is non-NULL use it as a prefix
17480 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17482 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17484 [BZ #10060, #10062]
17485 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17486 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17487 fail configure if __sync_val_compare_and_swap is not inlined.
17488 * sysdeps/i386/configure: Regenerate.
17489 * configure.in: Build for i686 when configured for i386.
17490 * configure: Regenerate.
17491 * README: Remove i386 reference.
17493 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17495 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17498 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17500 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17501 (lmsnanval): New variables.
17502 (F): Add conversion tests.
17503 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17504 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17506 * stdio-common/tstdiomisc.c (F): Properly collect individual
17509 [BZ #14686, #15336]
17510 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17511 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17512 Instead, use input NaN values or generate a qNaN by arithmetic
17513 operation. Also fix bugs to comply with the standard.
17514 * math/libm-test.inc (remainder_test): Add more tests.
17516 [BZ #15335, #15342]
17517 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17519 input NaN values or generate a qNaN by arithmetic operation.
17521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17524 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17527 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17530 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17531 underflowed result.
17532 * math/s_cexpf.c (__cexpf): Likewise.
17533 * math/s_cexpl.c (__cexpl): Likewise.
17534 * math/libm-test.inc (cexp_test): Add more tests.
17536 2013-04-03 Andreas Schwab <schwab@suse.de>
17539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17540 order arrays from heap if bigger than alloca cutoff.
17542 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17544 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17545 (SNAN_TESTS_double): Refer to GCC PR56831.
17546 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17549 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17551 * Rules (bench): Move bench.out after the run is complete.
17553 * Rules (bench): Echo currently running benchmark.
17555 * benchtests/Makefile (bench): Add atan and slowatan.
17556 * benchtests/atan-inputs: New file.
17557 * benchtests/slowatan-inputs: New file.
17558 * benchtests/slowatan.c: New file.
17560 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17565 * sysdeps/unix/sysv/linux/kernel-features.h
17566 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17567 __ASSUME_XFS_RESTRICTED_CHOWN.
17568 * sysdeps/unix/sysv/linux/pathconf.c
17569 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17570 Save and restore errno.
17572 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17575 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17576 arguments using __kernel_casinh.
17577 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17578 arguments using __kernel_casinhf.
17579 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17580 arguments using __kernel_casinhl.
17581 * math/libm-test.inc (cacosh_test): Add more tests.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17587 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17590 * bench/Makefile (bench): Add sin and slowsin.
17591 * benchtests/sin-inputs: New file.
17592 * benchtests/slowsin-inputs: New file.
17593 * benchtests/slowsin.c: New file.
17595 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17596 (bench): Add slowexp and slowpow.
17597 (exp-ITER): Increase iterations.
17598 (pow-ITER): Likewise.
17599 * benchtests/exp-inputs: Change input.
17600 * benchtests/pow-inputs: Likewise.
17601 * benchtests/slowexp-inputs: New file.
17602 * benchtests/slowexp.c: New file.
17603 * benchtests/slowpow-inputs: New file.
17604 * benchtests/slowpow.c: New file.
17606 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17608 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17610 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17611 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17613 * benchtests/Makefile: Add rint benchtest.
17614 * benchtests/rint-inputs: Input for rint benchtest.
17616 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17618 * Versions.def (libm): Add GLIBC_2.18.
17619 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17620 hidden libm prototypes.
17621 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17622 * math/Makefile (libm-calls): Add s_issignaling.
17623 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17624 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17625 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17627 * math/math.h [__USE_GNU] (issignaling): New macro.
17628 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17629 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17634 * manual/arith.texi (issignaling): New section.
17635 * manual/libm-err-tab.pl (@all_functions): Update comment.
17636 * math/gen-libm-test.pl (parse_args): Apply special handling for
17638 * math/libm-test.inc (print_float, issignaling_test): New
17640 (check_float_internal): Add issignaling checks.
17641 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17642 default definition.
17643 * sysdeps/powerpc/math-tests.h: New file.
17644 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17646 * math/test-snan.c (TEST_FUNC): Likewise.
17648 2013-03-30 David S. Miller <davem@davemloft.net>
17650 * po/de.po: Update from translation team.
17652 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17655 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17656 imaginary part less than 1.0 and real part less than 0.5
17658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17660 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17661 (cacos_test): Add more tests.
17662 (casin_test): Likewise.
17663 (casinh_test): Likewise.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17669 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17670 ONE with its value.
17672 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17673 (__pow_mp): Replace ONE and MONE with their values.
17674 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17675 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17676 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17677 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17679 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17681 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17683 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17684 (__pow_mp): Replace ZERO and MZERO with their values.
17685 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17686 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17687 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17689 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17690 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17693 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17695 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17697 2013-03-28 Roland McGrath <roland@hack.frob.com>
17699 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17700 Declare with __attribute__ ((weak)).
17701 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17702 Call __call_tls_dtors only if it's not NULL.
17704 2013-03-28 Roland McGrath <roland@hack.frob.com>
17706 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17707 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17708 magic __ehdr_start linker symbol if it's defined.
17709 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17710 them up here if it was already done.
17712 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17713 (_dl_aux_init): Use const in cast when setting it.
17714 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17715 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17716 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17718 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17720 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17721 * csu/libc-tls.c: Nor here.
17722 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17724 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17725 (__libc_message): Never call vsyslog.
17727 2013-03-28 Alan Modra <amodra@gmail.com>
17729 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17731 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17734 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17741 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17744 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17745 Don't add gid passed as argument.
17747 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17749 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17752 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17753 imaginary part between 1.0 and 1.5 and real part less than 0.5
17755 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17756 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17757 * math/libm-test.inc (cacos_test): Add more tests.
17758 (casin_test): Likewise.
17759 (casinh_test): Likewise.
17760 * sysdeps/i386/fpu/libm-test-ulps: Update.
17761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17765 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17768 (denorm): Likewise.
17769 (__dbl_mp): Likewise.
17770 (add_magnitudes): Likewise.
17771 (sub_magnitudes): Likewise.
17779 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17781 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17782 (__dubcos): Likewise.
17783 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17784 (__ieee754_acos): Likewise.
17785 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17786 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17787 (__exp1): Likewise.
17788 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17791 (my_log2): Likewise.
17792 (checkint): Likewise.
17793 * sysdeps/ieee754/dbl-64/e_remainder.c
17794 (__ieee754_remainder): Likewise.
17795 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17797 (bsloww): Likewise.
17798 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17800 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17802 MANTISSA_STORE_T to store computations on mantissa. Use
17803 macros for rounding and division.
17804 (denorm): Likewise.
17805 (__dbl_mp): Likewise.
17806 (add_magnitudes): Likewise.
17807 (sub_magnitudes): Likewise.
17810 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17811 powers of two in terms of TWOPOW macro.
17812 (mp_no): Make type of mantissa as MANTISSA_T.
17813 [!RADIXI]: Define RADIXI.
17814 [!TWO52]: Define TWO52.
17815 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17817 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17819 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17820 llroundl symbol when building for PPC32.
17822 2013-03-24 Mark H Weaver <mhw@netris.org>
17824 * manual/arith.texi (Normalization Functions): Fix prototypes for
17825 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17827 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17831 high value to check if expl overflow.
17832 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17833 to check for underflow and overflow.
17834 * math/libm-test.inc: Add exp test.
17836 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17839 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17842 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17844 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17847 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17849 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17850 wrap blocks consisting of several statements.
17852 * sysdeps/generic/math-tests.h: New file.
17853 * sysdeps/i386/fpu/math-tests.h: Likewise.
17854 * math/test-snan.c: Include it.
17855 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17857 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17860 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17861 (__ieee754_j0l): Do not improve calculations using cos of twice
17862 input for inputs above LDBL_MAX / 2.0L.
17863 (__ieee754_y0l): Likewise.
17864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17865 (__ieee754_j1l): Do not improve calculations using cos of twice
17866 input for inputs above LDBL_MAX / 2.0L.
17867 (__ieee754_y1l): Likewise.
17868 * math/libm-test.inc (j0_test): Add another test.
17869 (j1_test): Likewise.
17870 (y0_test): Likewise.
17871 (y1_test): Likewise.
17872 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17876 * Rules ($(objpfx)bench-%.c): Include code from a C source
17879 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17882 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17883 imaginary part 1.0 and real part less than 0.5 specially.
17884 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17885 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17886 * math/libm-test.inc (cacos_test): Add more tests.
17887 (casin_test): Likewise.
17888 (casinh_test): Likewise.
17889 * sysdeps/i386/fpu/libm-test-ulps: Update.
17890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17892 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17894 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17895 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17897 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17899 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17900 * config.make.in (config-cflags-sse4): Remove variable.
17901 (config-cflags-avx): Likewise.
17902 (config-cflags-sse2avx): Likewise.
17903 (config-cflags-novzeroupper): Likewise.
17904 (config-asflags-i686): Likewise.
17905 (have-mfma4): Likewise.
17906 (have-as-vis3): Likewise.
17908 * configure.in (MIG): Do not AC_SUBST.
17909 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17910 (libc_cv_cc_sse4): Do not AC_SUBST.
17911 (libc_cv_cc_avx): Likewise.
17912 (libc_cv_cc_sse2avx): Likewise.
17913 (libc_cv_cc_novzeroupper): Likewise.
17914 (libc_cv_cc_fma4): Likewise.
17915 (libc_cv_as_i686): Likewise.
17916 (libc_cv_sparc_as_vis3): Likewise.
17917 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17919 (config-asflags-i686): Likewise.
17920 (config-cflags-avx): Likewise.
17921 (config-cflags-sse2avx): Likewise.
17922 (have-mfma4): Likewise.
17923 (config-cflags-novzeroupper): Likewise.
17924 * sysdeps/mach/configure.in (MIG): Likewise.
17925 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17926 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17928 (config-cflags-avx): Likewise.
17929 (config-cflags-sse2avx): Likewise.
17930 (have-mfma4): Likewise.
17931 (config-cflags-novzeroupper): Likewise.
17932 * configure: Regenerated.
17933 * sysdeps/i386/configure: Likewise.
17934 * sysdeps/mach/configure: Likewise.
17935 * sysdeps/sparc/configure: Likewise.
17936 * sysdeps/x86_64/configure: Likewise.
17938 2013-03-20 Roland McGrath <roland@hack.frob.com>
17941 * locale/programs/localedef.c (options): Put N_ translation marker
17942 on argument names, not just descriptions.
17944 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17946 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17948 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17951 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17953 2013-03-19 Roland McGrath <roland@hack.frob.com>
17955 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17956 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17957 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17958 [!BEFORE_ABORT] (before_abort): New function.
17959 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17960 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17961 (writev_for_fatal): New function.
17962 (WRITEV_FOR_FATAL): New macro; call that.
17963 (backtrace_and_maps): New function.
17964 (BEFORE_ABORT): New macro; call that.
17965 (struct str_list): Type removed.
17966 (__libc_message, __libc_fatal): Functions removed.
17967 Include <sysdeps/posix/libc_fatal.c> instead.
17969 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17971 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17973 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17976 2013-03-19 Andreas Schwab <schwab@suse.de>
17978 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17979 * sysdeps/gnu/configure: Regenerate.
17981 * configure.in: Substitute libc_cv_rtlddir.
17982 * configure: Regenerate.
17983 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17984 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17985 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17986 * elf/Makefile (install-others, CFLAGS-interp.c)
17987 (ldso_install, common-ldd-rewrite): Likewise.
17988 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17989 $(inst_slibdir)/$(rtld-installed-name).
17990 * scripts/rellns-sh: Add -p option.
17991 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17994 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17996 * manual/nptl.texi: Renamed to ...
17997 * manual/threads.texi: ... this.
17998 * manual/Makefile (chapters): Update.
18000 2013-03-18 Roland McGrath <roland@hack.frob.com>
18003 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18004 on argument names, not just descriptions.
18005 * malloc/memusagestat.c (options): Likewise.
18006 * nss/getent.c (options): Likewise.
18008 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18011 * iconv/iconv_prog.c (options): Put N_ translation marker
18012 on argument names, not just descriptions.
18013 * iconv/iconvconfig.c (options): Likewise.
18015 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18017 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18018 implementation which is faster on all x86_64 architectures.
18019 Tested on AMD, Intel Nehalem, SNB, IVB.
18020 * sysdeps/x86_64/strnlen.S: Likewise.
18022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18023 Remove all multiarch strlen and strnlen versions.
18024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18025 Remove strlen and strnlen related parts.
18027 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18028 Inline strlen part.
18029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18031 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18032 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18033 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18034 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18035 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18036 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18038 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18040 * manual/memory.texi (Malloc Tunable Parameters):
18041 Sort parameters alphabetically. Add comments for missing entries.
18043 2013-03-17 David S. Miller <davem@davemloft.net>
18045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18047 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18050 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18051 for arguments at most half maximum finite value.
18052 * math/libm-test.inc (j0_test): Add more tests.
18053 (j1_test): Likewise.
18054 (y0_test): Likewise.
18055 (y1_test): Likewise.
18056 * sysdeps/i386/fpu/libm-test-ulps: Update.
18057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18060 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18061 1 / x and functions P and Q for arguments above 0x1p256L.
18062 (__ieee754_y0l): Likewise.
18063 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18064 (__ieee754_y1l): Likewise.
18065 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18066 (j1_test): Likewise.
18067 (y0_test): Likewise.
18068 (y1_test): Likewise.
18070 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18072 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18075 2013-03-15 Roland McGrath <roland@hack.frob.com>
18077 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18078 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18079 zero since it's initialized to EXEC_PAGESIZE.
18081 * sysdeps/unix/sysv/linux/ldsodefs.h
18082 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18083 * sysdeps/generic/ldsodefs.h: ... here.
18085 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18087 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18089 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18091 * math/test-snan.c: Renamed from
18092 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18093 * math/Makefile (tests): Add test-snan.
18094 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18097 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18098 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18100 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18101 __builtin_nan family of functions.
18102 * math/libm-test.inc (initialize): Initialize qnan_value with
18103 __builtin_nan family of functions.
18104 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18106 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18108 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18109 storage class. Initialize qNaN_var and sNaN_var with
18110 __builtin_nan and __builtin_nans families of functions,
18113 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18114 (sqrt_test): Remove duplicate test with qNaN input.
18115 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18116 (round_test, signbit_test, significand_test): Note missing +/-Inf
18117 as well as qNaN tests.
18119 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18120 qNaN_var. Fix a few strings, too.
18121 * math/libm-test.inc (nan_value): Rename to qnan_value.
18122 * math/gen-libm-test.pl (%beautify): Adjust to that.
18123 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18124 * math/test-misc.c (main): Likewise.
18125 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18126 to __qnan_bytes, and __qnan_union, respectively.
18127 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18129 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18130 and lqnanval, respectively.
18131 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18132 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18133 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18134 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18136 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18137 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18140 * math/test-misc.c (main): Fix copy'n'pastos.
18141 * misc/tst-efgcvt.c (special): Likewise.
18143 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18144 Remove declarations.
18146 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18148 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18149 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18150 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18151 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18153 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18156 macro to return vdso values correctly in IFUNC implementations.
18157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18158 Optimization by using IFUNC.
18160 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18161 Richard Henderson <rth@redhat.com>
18162 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18164 * Makefile.in (bench): New target.
18165 * NEWS: Mention the benchmark framework.
18166 * Rules (bench): Likewise.
18167 (binaries-bench): Generate binaries for functions to
18169 * benchtests/Makefile: New makefile for benchmark tests.
18170 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18172 * benchtests/exp-inputs: New input file for EXP function.
18173 * benchtests/pow-inputs: New input file for POW function.
18174 * scripts/bench.pl: New script to generate source files for
18175 benchmark programs.
18177 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18179 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18180 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18181 computations on mantissa. Use macros for rounding and
18183 (denorm): Likewise.
18184 (__dbl_mp): Likewise.
18185 (add_magnitudes): Likewise.
18186 (sub_magnitudes): Likewise.
18189 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18190 powers of two in terms of TWOPOW macro.
18191 (mp_no): Make type of mantissa as MANTISSA_T.
18192 [!RADIXI]: Define RADIXI.
18193 [!TWO52]: Define TWO52.
18194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18196 * manual/nptl.texi (cindex): Modify threads to pthreads.
18198 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18200 * sysdeps/x86_64/preconfigure: Regenerated.
18202 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18205 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18207 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18208 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18210 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18211 * math/libm-test.inc (j0_test): Do not allow one spurious
18212 underflow exception.
18213 (y1_test): Likewise.
18215 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18217 * manual/Makefile (chapters): Add nptl.
18218 * manual/debug.texi (Debugging Support): Add link to Threads
18220 * manual/nptl.texi: New file.
18222 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18224 2013-03-14 Petr Baudis <pasky@ucw.cz>
18226 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18227 for non-NULL pointer before the memory validity test. Pointed
18228 out by Holger Brunck <holger.brunck@keymile.com>.
18230 2013-03-13 Andreas Schwab <schwab@suse.de>
18232 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18235 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18237 * timezone/zic.c: Update from tzcode 2013b.
18239 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18241 * manual/install.texi (Configuring and compiling):
18242 Mention i686 and i586.
18243 * INSTALL: Regenerate.
18245 2013-03-12 Roland McGrath <roland@hack.frob.com>
18247 * sysdeps/init_array/elf-init.c: New file.
18249 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18250 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18252 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18253 __gmon_start__ as global, but as static with a .preinit_array pointer.
18254 * sysdeps/init_array/gmon-start.c: New file. Use that.
18255 * sysdeps/init_array/crti.S: New file, empty except for comments.
18256 * sysdeps/init_array/crtn.S: Likewise.
18258 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18260 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18263 Remove Prefer_SSE_for_memop.
18264 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18265 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18266 HAS_PREFER_SSE_FOR_MEMOP.
18267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18270 Remove bzero, memset ifunc support.
18271 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18272 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18273 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18274 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18276 2013-03-11 Andreas Schwab <schwab@suse.de>
18279 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18282 (GLIBC_2.16): Remove pthread_atfork.
18284 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18286 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18287 (ptestcases.h): Likewise.
18289 2013-03-08 Roland McGrath <roland@hack.frob.com>
18291 * Makeconfig ($(common-objpfx)config.status): Depend on
18292 sysdeps/*/preconfigure{,.in} too.
18294 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18296 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18297 (__free_hook): Use void * instead of __malloc_ptr_t.
18298 (__malloc_hook): Likewise.
18299 (__realloc_hook): Likewise.
18300 (__memalign_hook): Likewise.
18301 (__after_morecore_hook): Likewise.
18302 * malloc/arena.c (save_malloc_hook): Likewise.
18303 (save_free_hook): Likewise.
18304 * malloc/hooks.c (malloc_hook_ini): Likewise.
18305 (realloc_hook_ini): Likewise.
18306 (memalign_hook_ini): Likewise.
18307 * malloc/malloc.c (malloc_hook_ini): Likewise.
18308 (realloc_hook_ini): Likewise.
18309 (memalign_hook_ini): Likewise.
18310 (__free_hook): Likewise.
18311 (__malloc_hook): Likewise.
18312 (__realloc_hook): Likewise.
18313 (__memalign_hook): Likewise.
18314 (__libc_malloc): Likewise.
18315 (__libc_free): Likewise.
18316 (__libc_realloc): Likewise.
18317 (__libc_memalign): Likewise.
18318 (__libc_valloc): Likewise.
18319 (__libc_pvalloc): Likewise.
18320 (__libc_calloc): Likewise.
18321 (__posix_memalign): Likewise.
18322 * malloc/morecore.c (__sbrk): Likewise.
18323 (__default_morecore): Likewise.
18325 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18327 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18328 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18329 __malloc_ptrdiff_t.
18331 * malloc/malloc.h (__malloc_size_t): Remove macro.
18332 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18334 (old_memalign_hook): Likewise.
18335 (old_realloc_hook): Likewise.
18336 (struct hdr): Likewise.
18338 (mallochook): Likewise.
18339 (memalignhook): Likewise.
18340 (reallochook): Likewise.
18341 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18342 (tr_old_realloc_hook): Likewise.
18343 (tr_old_memalign_hook): Likewise.
18344 (tr_mallochook): Likewise.
18345 (tr_reallochook): Likewise.
18346 (tr_memalignhook): Likewise.
18348 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18351 default_ldbl_pack and using as default implementation.
18352 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18354 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18355 redundant definition.
18356 (ldbl_insert_mantissa): Likewise.
18357 (ldbl_canonicalize): Likewise.
18358 (ldbl_nearbyint): Likewise.
18359 (ldbl_pack): Rename to ldbl_pack_ppc.
18360 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18361 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18362 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18364 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18367 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18368 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18369 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18371 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18372 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18373 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18375 2013-03-07 Andreas Jaeger <aj@suse.de>
18377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18380 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18382 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18383 Include mpa.h and declare __MPEXP.
18384 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18385 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18386 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18387 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18388 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18389 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18390 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18392 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18393 (__slowpow): Use long double EXPL and LOGL functions to
18395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18396 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18398 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18399 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18400 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18403 intermediate variable to calculate exponent.
18405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18409 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18410 [!NO__SQR]: Define __sqr.
18411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18412 and NO__SQR. Remove all code except __mul and __sqr. Include
18413 sysdeps/ieee754/dbl-64/mpa.c.
18414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18417 * posix/Makefile (tests): Add tst-pathconf.
18418 * posix/tst-pathconf.c: New test case.
18419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18421 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18423 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18425 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18427 2013-03-06 Andreas Jaeger <aj@suse.de>
18429 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18430 definition via __MAP_ANONYMOUS.
18432 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18433 it's not part of Linux headers.
18435 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18436 (MAP_HUGE_MASK): Define.
18438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18440 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18443 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18444 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18446 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18449 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18451 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18452 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18453 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18454 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18455 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18458 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18461 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18462 Handle f2fs and efivarfs.
18464 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18467 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18468 (EFIVARFS_MAGIC): Add.
18469 (F2FS_LINK_MAX): Add.
18471 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18473 * stdio-common/vfprintf.c: Replace __builtin_expect with
18476 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/generic/bp-sym.h: Remove file.
18480 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18481 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18482 <bp-sym.h> and <bp-asm.h>.
18483 (__longjmp): Don't use BP_SYM.
18484 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18486 (memcpy): Don't use BP_SYM.
18487 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18488 <bp-sym.h> and <bp-asm.h>.
18489 (memcpy): Don't use BP_SYM.
18490 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18492 (memcpy): Don't use BP_SYM.
18493 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18495 (memset): Don't use BP_SYM.
18496 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18497 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18498 (__bzero): Don't use BP_SYM.
18499 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18500 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18501 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18502 <bp-sym.h> and <bp-asm.h>.
18503 (memcmp): Don't use BP_SYM. Remove comment about bounded
18505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18506 <bp-sym.h> and <bp-asm.h>.
18507 (memcpy): Don't use BP_SYM.
18508 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18509 <bp-sym.h> and <bp-asm.h>.
18510 (memset): Don't use BP_SYM.
18511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18513 (__bzero): Don't use BP_SYM.
18514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18516 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18517 <bp-sym.h> and <bp-asm.h>.
18518 (strncmp): Don't use BP_SYM. Remove comment about bounded
18520 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18521 <bp-sym.h> and <bp-asm.h>.
18522 (memcpy): Don't use BP_SYM.
18523 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18524 <bp-sym.h> and <bp-asm.h>.
18525 (memset): Don't use BP_SYM.
18526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18528 (__bzero): Don't use BP_SYM.
18529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18531 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18532 <bp-sym.h> and <bp-asm.h>.
18533 (__memchr): Don't use BP_SYM.
18534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18535 <bp-sym.h> and <bp-asm.h>.
18536 (memcmp): Don't use BP_SYM. Remove comment about bounded
18538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18539 <bp-sym.h> and <bp-asm.h>.
18540 (memcpy): Don't use BP_SYM.
18541 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18542 <bp-sym.h> and <bp-asm.h>.
18543 (__mempcpy): Don't use BP_SYM.
18544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18545 <bp-sym.h> and <bp-asm.h>.
18546 (__memrchr): Don't use BP_SYM.
18547 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18548 <bp-sym.h> and <bp-asm.h>.
18549 (memset): Don't use BP_SYM.
18550 (__bzero): Likewise.
18551 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18552 <bp-sym.h> and <bp-asm.h>.
18553 (__rawmemchr): Don't use BP_SYM.
18554 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18555 <bp-sym.h> and <bp-asm.h>.
18556 (__STRCMP): Don't use BP_SYM.
18557 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18558 <bp-sym.h> and <bp-asm.h>.
18559 (strchr): Don't use BP_SYM.
18560 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18561 <bp-sym.h> and <bp-asm.h>.
18562 (__strchrnul): Don't use BP_SYM.
18563 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18564 <bp-sym.h> and <bp-asm.h>.
18565 (strlen): Don't use BP_SYM.
18566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18567 <bp-sym.h> and <bp-asm.h>.
18568 (strncmp): Don't use BP_SYM. Remove comment about bounded
18570 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18571 <bp-sym.h> and <bp-asm.h>.
18572 (__strnlen): Don't use BP_SYM.
18573 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18574 <bp-sym.h> and <bp-asm.h>.
18575 (__GI__setjmp): Don't use BP_SYM.
18576 (_setjmp): Likewise.
18577 (__sigsetjmp): Likewise.
18578 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18579 (L(start_addresses)): Don't use BP_SYM.
18580 (_start): Likewise.
18581 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18583 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18584 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18585 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18586 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18587 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18589 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18590 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18591 about bounded pointers.
18592 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18593 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18594 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18596 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18597 about bounded pointers. Remove GKM FIXME comments.
18598 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18599 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18601 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18602 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18603 Remove GKM FIXME comments.
18604 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18605 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18606 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18608 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18609 about bounded pointers. Remove GKM FIXME comment.
18610 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18612 (strncmp): Don't use BP_SYM. Remove comment about bounded
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18615 <bp-sym.h> and <bp-asm.h>.
18616 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18618 <bp-sym.h> and <bp-asm.h>.
18619 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18622 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18624 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18627 2013-03-05 David S. Miller <davem@davemloft.net>
18629 * po/es.po: Update from translation team.
18631 2013-03-05 Andreas Jaeger <aj@suse.de>
18633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18634 <bits/mman-linux.h>.
18635 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18638 <bits/mman-linux.h> to end of file.
18639 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18642 <bits/mman-linux.h> to end of file.
18643 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18646 <bits/mman-linux.h> to end of file.
18648 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18649 (MCL_CURRENT, MCL_FUTURE): Define here.
18651 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18654 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18656 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18658 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18661 fourth parameter needed for rt_sigprocmask syscall.
18662 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18663 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18664 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18665 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18666 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18667 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18669 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18672 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18673 comment about bounded pointers.
18674 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18675 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18677 2013-03-04 Andreas Jaeger <aj@suse.de>
18679 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18680 common definitions.
18682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18683 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18684 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18685 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18687 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18689 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18692 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18693 __ieee754_sqrl instead of __sqrl.
18695 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18697 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18698 * sysdeps/powerpc/fpu_control.h: ... here.
18699 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18700 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18701 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18702 * sysdeps/powerpc/bits/mathinline.h: ... here.
18704 2013-03-01 Roland McGrath <roland@hack.frob.com>
18706 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18707 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18708 to just [NEED_DL_SYSINFO_DSO].
18709 * elf/dl-support.c: Likewise.
18710 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18711 * elf/rtld.c (dl_main): Likewise.
18712 * elf/setup-vdso.h (setup_vdso): Likewise.
18713 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18714 * sysdeps/unix/sysv/linux/dl-sysdep.c
18715 (_dl_discover_osversion): Likewise.
18717 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18719 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18720 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18722 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18724 * NEWS: Mention libm performance improvements and non-x86 PI
18727 * csu/libc-start.c (__pthread_initialize_minimal): Change
18728 function arguments.
18729 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18731 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18734 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18735 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18736 <bp-sym.h> and <bp-asm.h>.
18737 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18738 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18740 (memcpy): Don't use BP_SYM.
18741 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18743 (__mpn_add_n): Don't use BP_SYM.
18744 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18745 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18747 (__mpn_addmul_1): Don't use BP_SYM.
18748 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18749 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18751 (_setjmp): Don't use BP_SYM.
18752 (__novmx_setjmp): Likewise.
18753 (__GI__setjmp): Likewise.
18754 (__vmx_setjmp): Likewise.
18755 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18757 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18758 (__bzero): Don't use BP_SYM.
18759 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18760 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18761 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18762 <bp-sym.h> and <bp-asm.h>.
18763 (memcpy): Don't use BP_SYM.
18764 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18765 <bp-sym.h> and <bp-asm.h>.
18766 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18767 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18768 <bp-sym.h> and <bp-asm.h>.
18769 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18770 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18772 (__mpn_lshift): Don't use BP_SYM.
18773 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18774 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18776 (memset): Don't use BP_SYM.
18777 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18778 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18779 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18781 (__mpn_mul_1): Don't use BP_SYM.
18782 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18784 <bp-sym.h> and <bp-asm.h>.
18785 (memcmp): Don't use BP_SYM.
18786 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18787 <bp-sym.h> and <bp-asm.h>.
18788 (memcpy): Don't use BP_SYM.
18789 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18790 <bp-sym.h> and <bp-asm.h>.
18791 (memset): Don't use BP_SYM.
18792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18793 <bp-sym.h> and <bp-asm.h>.
18794 (strncmp): Don't use BP_SYM.
18795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18796 <bp-sym.h> and <bp-asm.h>.
18797 (memcpy): Don't use BP_SYM.
18798 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18799 <bp-sym.h> and <bp-asm.h>.
18800 (memset): Don't use BP_SYM.
18801 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18802 <bp-sym.h> and <bp-asm.h>.
18803 (__memchr): Don't use BP_SYM.
18804 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18805 <bp-sym.h> and <bp-asm.h>.
18806 (memcmp): Don't use BP_SYM.
18807 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18808 <bp-sym.h> and <bp-asm.h>.
18809 (memcpy): Don't use BP_SYM.
18810 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18811 <bp-sym.h> and <bp-asm.h>.
18812 (__mempcpy): Don't use BP_SYM.
18813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18814 <bp-sym.h> and <bp-asm.h>.
18815 (__memrchr): Don't use BP_SYM.
18816 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18817 <bp-sym.h> and <bp-asm.h>.
18818 (memset): Don't use BP_SYM.
18819 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18820 <bp-sym.h> and <bp-asm.h>.
18821 (__rawmemchr): Don't use BP_SYM.
18822 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18823 <bp-sym.h> and <bp-asm.h>.
18824 (__STRCMP): Don't use BP_SYM.
18825 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18826 <bp-sym.h> and <bp-asm.h>.
18827 (strchr): Don't use BP_SYM.
18828 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18829 <bp-sym.h> and <bp-asm.h>.
18830 (__strchrnul): Don't use BP_SYM.
18831 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18832 <bp-sym.h> and <bp-asm.h>.
18833 (strlen): Don't use BP_SYM.
18834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18835 <bp-sym.h> and <bp-asm.h>.
18836 (strncmp): Don't use BP_SYM.
18837 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18838 <bp-sym.h> and <bp-asm.h>.
18839 (__strnlen): Don't use BP_SYM.
18840 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18842 (__mpn_rshift): Don't use BP_SYM.
18843 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18844 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18845 <bp-sym.h> and <bp-asm.h>.
18846 (__sigsetjmp): Don't use BP_SYM.
18847 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18848 (L(start_addresses)): Don't use BP_SYM.
18849 (_start): Likewise.
18850 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18852 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18853 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18854 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18855 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18857 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18858 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18859 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18860 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18862 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18864 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18865 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18867 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18869 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18870 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18871 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18873 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18875 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18877 (strncmp): Don't use BP_SYM,
18878 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18880 (__mpn_sub_n): Don't use BP_SYM.
18881 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18882 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18884 (__mpn_submul_1): Don't use BP_SYM.
18885 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18887 <bp-sym.h> and <bp-asm.h>.
18888 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18890 <bp-sym.h> and <bp-asm.h>.
18891 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18894 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18897 Use ZK to minimize writes to Z.
18898 (sub_magnitudes): Simplify code a bit.
18899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18900 Use ZK to minimize writes to Z.
18901 (sub_magnitudes): Simplify code a bit.
18903 2013-02-27 Roland McGrath <roland@hack.frob.com>
18905 * csu/gmon-start.c: Add special exception to license text.
18907 2013-02-27 Richard Henderson <rth@redhat.com>
18909 * scripts/config.guess: Update from config.git.
18910 * scripts/config.sub: Likewise.
18912 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18914 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18916 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18918 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18920 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18922 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18924 2013-02-26 Roland McGrath <roland@hack.frob.com>
18926 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18927 [$(build-shared = yes].
18929 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18931 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18932 (__mul): Reduce iterations for calculating mantissa.
18934 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18936 (__mpranred): Likewise.
18939 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18940 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18942 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18944 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18945 Define __attribute__.
18947 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18949 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18951 * posix/regex_internal.h (__attribute): Remove.
18952 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18953 (re_string_context_at): Likewise.
18954 (bitset_not): Use __attribute__ and mark function as possibly
18956 (bitset_merge): Likewise.
18957 (bitset_mask): Likewise.
18958 (re_string_char_size_at): Likewise.
18959 (re_string_wchar_at): Likewise.
18960 (re_string_elem_size_at): Likewise.
18962 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18964 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18968 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18972 (denorm): Likewise.
18973 (__dbl_mp): Likewise.
18974 (add_magnitudes): Likewise.
18975 (sub_magnitudes): Likewise.
18979 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18982 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18985 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18989 up changes with default code.
18990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18993 2013-02-24 Allan McRae <allan@archlinux.org>
18995 * manual/socket.texi (The Internet Namespace): Order menu items
18996 to match that in the file.
18998 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18999 node listing of the info page menu.
19001 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19004 * sysdeps/i386/bp-asm.h: Remove file.
19005 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19006 (PARMS): Do not use macros from bp-asm.h.
19010 (__mpn_add_n): Do not use BP_SYM
19011 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19013 (PARMS): Do not use macros from bp-asm.h.
19016 (__mpn_addmul_1): Do not use BP_SYM
19017 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19019 (PARMS): Do not use macros from bp-asm.h.
19020 (SIGMSK): Likewise.
19021 (_setjmp): Likewise. Do not use BP_SYM.
19022 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19024 (PARMS): Do not use macros from bp-asm.h.
19025 (SIGMSK): Likewise.
19026 (setjmp): Likewise. Do not use BP_SYM.
19027 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19029 (PARMS): Do not use macros from bp-asm.h.
19030 (__frexp): Do not use BP_SYM.
19032 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19034 (PARMS): Do not use macros from bp-asm.h.
19035 (__frexpf): Do not use BP_SYM.
19036 (frexpf): Likewise.
19037 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19039 (PARMS): Do not use macros from bp-asm.h.
19040 (__frexpl): Do not use BP_SYM.
19041 (frexpl): Likewise.
19042 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19044 (PARMS): Do not use macros from bp-asm.h.
19045 (__remquo): Do not use BP_SYM.
19046 (remquo): Likewise.
19047 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19049 (PARMS): Do not use macros from bp-asm.h.
19050 (__remquof): Do not use BP_SYM.
19051 (remquof): Likewise.
19052 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19054 (PARMS): Do not use macros from bp-asm.h.
19055 (__remquol): Do not use BP_SYM.
19056 (remquol): Likewise.
19057 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19059 (PARMS): Do not use macros from bp-asm.h.
19062 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19063 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19065 (PARMS): Do not use macros from bp-asm.h.
19066 (strlen): Do not use BP_SYM.
19067 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19069 (PARMS): Do not use macros from bp-asm.h.
19073 (__mpn_add_n): Do not use BP_SYM.
19074 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19076 (PARMS): Do not use macros from bp-asm.h.
19079 (__mpn_addmul_1): Do not use BP_SYM.
19080 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19083 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19085 (PARMS): Do not use macros from bp-asm.h.
19088 (__mpn_lshift): Do not use BP_SYM.
19089 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19091 (PARMS): Do not use macros from bp-asm.h.
19095 (memcpy): Likewise. Do not use BP_SYM.
19096 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19097 libc_hidden_def and weak_alias.
19098 (mempcpy): Do not use BP_SYM in weak_alias.
19099 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19101 (PARMS): Do not use macros from bp-asm.h.
19104 [!BZERO_P] (CHR): Likewise.
19105 (memset): Likewise. Do not use BP_SYM.
19106 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19108 (PARMS): Do not use macros from bp-asm.h.
19111 (__mpn_mul_1): Do not use BP_SYM.
19112 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19114 (PARMS): Do not use macros from bp-asm.h.
19117 (__mpn_rshift): Do not use BP_SYM.
19118 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19120 (PARMS): Do not use macros from bp-asm.h.
19123 (strchr): Likewise. Do not use BP_SYM.
19124 (index): Do not use BP_SYM in weak_alias.
19125 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19127 (PARMS): Do not use macros from bp-asm.h.
19130 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19131 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19133 (PARMS): Do not use macros from bp-asm.h.
19134 (strlen): Do not use BP_SYM.
19135 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19137 (PARMS): Do not use macros from bp-asm.h.
19141 (__mpn_sub_n): Do not use BP_SYM.
19142 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19144 (PARMS): Do not use macros from bp-asm.h.
19147 (__mpn_submul_1): Do not use BP_SYM.
19148 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19150 (PARMS): Do not use macros from bp-asm.h.
19154 (__mpn_add_n): Do not use BP_SYM.
19155 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19158 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19160 (PARMS): Do not use macros from bp-asm.h.
19163 (memcmp): Do not use BP_SYM.
19164 (bcmp): Do not use BP_SYM in weak_alias.
19165 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19167 (PARMS): Do not use macros from bp-asm.h.
19171 (memcpy): Likewise. Do not use BP_SYM.
19172 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19174 (PARMS): Do not use macros from bp-asm.h.
19178 (memmove): Likewise. Do not use BP_SYM.
19179 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19181 (PARMS): Do not use macros from bp-asm.h.
19185 (__mempcpy): Likewise. Do not use BP_SYM.
19186 (mempcpy): Do not use BP_SYM in weak_alias.
19187 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19189 (PARMS): Do not use macros from bp-asm.h.
19192 [!BZERO_P] (CHR): Likewise.
19193 (memset): Likewise. Do not use BP_SYM.
19194 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19196 (PARMS): Do not use macros from bp-asm.h.
19198 (strcmp): Do not use BP_SYM.
19199 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19201 (PARMS): Do not use macros from bp-asm.h.
19204 [USE_AS_STRTOK_R] (SAVE): Likewise.
19205 (FUNCTION): Likewise. Do not use BP_SYM.
19206 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19208 (strtok_r): Likewise.
19209 (__GI___strtok_r): Likewise.
19210 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19211 (PARMS): Do not use macros from bp-asm.h.
19214 (__mpn_lshift): Do not use BP_SYM.
19215 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19216 (PARMS): Do not use macros from bp-asm.h.
19219 (__memchr): Do not use BP_SYM.
19220 (memchr): Do not use BP_SYM in weak_alias.
19221 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19222 (PARMS): Do not use macros from bp-asm.h.
19225 (memcmp): Do not use BP_SYM.
19226 (bcmp): Do not use BP_SYM in weak_alias.
19227 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19228 (PARMS): Do not use macros from bp-asm.h.
19231 (__mpn_mul_1): Do not use BP_SYM.
19232 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19234 (PARMS): Do not use macros from bp-asm.h.
19237 (__rawmemchr): Do not use BP_SYM.
19238 (rawmemchr): Do not use BP_SYM in weak_alias.
19239 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19240 (PARMS): Do not use macros from bp-asm.h.
19243 (__mpn_rshift): Do not use BP_SYM.
19244 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19245 (PARMS): Do not use macros from bp-asm.h.
19246 (SIGMSK): Likewise.
19247 (__sigsetjmp): Likewise. Do not use BP_SYM.
19248 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19249 (_start): Do not use BP_SYM.
19250 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19251 (PARMS): Do not use macros from bp-asm.h.
19254 (__stpcpy): Likewise. Do not use BP_SYM.
19255 (stpcpy): Do not use BP_SYM in weak_alias.
19256 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19258 (PARMS): Do not use macros from bp-asm.h.
19262 (__stpncpy): Likewise. Do not use BP_SYM.
19263 (stpncpy): Do not use BP_SYM in weak_alias.
19264 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19265 (PARMS): Do not use macros from bp-asm.h.
19268 (strchr): Likewise. Do not use BP_SYM.
19269 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19271 (PARMS): Do not use macros from bp-asm.h.
19274 (__strchrnul): Likewise. Do not use BP_SYM.
19275 (strchrnul): Do not use BP_SYM in weak_alias.
19276 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19278 (PARMS): Do not use macros from bp-asm.h.
19280 (strcspn): Do not use BP_SYM.
19281 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19283 (PARMS): Do not use macros from bp-asm.h.
19286 (strpbrk): Likewise. Do not use BP_SYM.
19287 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19289 (PARMS): Do not use macros from bp-asm.h.
19292 (strrchr): Likewise. Do not use BP_SYM.
19293 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19294 (PARMS): Do not use macros from bp-asm.h.
19296 (strspn): Do not use BP_SYM.
19297 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19298 (PARMS): Do not use macros from bp-asm.h.
19302 (FUNCTION): Likewise. Do not use BP_SYM.
19303 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19305 (strtok_r): Likewise.
19306 (__GI___strtok_r): Likewise.
19307 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19308 (PARMS): Do not use macros from bp-asm.h.
19312 (__mpn_sub_n): Do not use BP_SYM.
19313 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19315 (PARMS): Do not use macros from bp-asm.h.
19318 (__mpn_submul_1): Do not use BP_SYM.
19319 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19321 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19323 (PARMS): Do not use macros from bp-asm.h.
19328 (__clone): Do not use BP_SYM.
19329 (clone): Do not use BP_SYM in weak_alias.
19330 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19332 (PARMS): Do not use macros from bp-asm.h.
19334 (__mmap64): Do not use BP_SYM.
19335 (mmap64): Do not use BP_SYM in weak_alias.
19336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19337 <bp-sym.h> and <bp-asm.h>.
19338 (PARMS): Do not use macros from bp-asm.h.
19339 (__posix_fadvise64_l64): Do not use BP_SYM.
19340 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19341 (PARMS): Do not use macros from bp-asm.h.
19343 (semtimedop): Do not use BP_SYM.
19344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19347 2013-02-21 Allan McRae <allan@archlinux.org>
19349 * manual/message.texi (Charset conversion in gettext):
19350 Move @end statement to beginning of line.
19352 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19360 (denorm): Likewise.
19361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19364 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19366 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19367 tail-call to the resolved function if pltexit isn't needed.
19369 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19372 or Y being zero as being unlikely.
19373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19376 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19378 * manual/nss.texi (System Databases and Name Service Switch):
19379 Remove frobnicate @pxref.
19381 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19383 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19384 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19386 2013-02-20 Petr Machata <pmachata@redhat.com>
19388 * elf/elf.h (R_ARM_TARGET1): New macro.
19389 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19390 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19391 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19392 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19393 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19394 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19395 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19396 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19397 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19398 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19399 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19400 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19401 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19402 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19403 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19404 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19405 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19406 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19407 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19408 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19409 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19410 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19411 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19412 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19413 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19414 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19415 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19416 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19417 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19418 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19419 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19420 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19421 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19422 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19423 (R_ARM_THM_GOT_BREL12): Likewise.
19424 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19425 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19426 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19427 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19428 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19429 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19430 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19431 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19432 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19434 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19436 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19437 __attribute_used__ to __attribute__ ((unused)).
19439 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19441 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19444 comment formatting.
19445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19447 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19452 (ENTER): Remove both macro definitions.
19454 (CHECK_BOUNDS_LOW): Likewise.
19455 (CHECK_BOUNDS_HIGH): Likewise.
19456 (CHECK_BOUNDS_BOTH): Likewise.
19457 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19458 (RETURN_BOUNDED_POINTER): Likewise.
19459 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19460 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19461 (POP_ERRNO_LOCATION_RETURN): Likewise.
19462 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19463 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19464 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19466 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19467 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19468 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19469 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19470 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19471 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19472 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19473 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19474 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19475 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19476 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19477 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19479 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19482 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19484 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19485 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19486 * sysdeps/i386/i586/memset.S (memset): Likewise.
19487 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19488 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19489 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19491 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19492 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19493 Change uses of L(2) to L(out).
19494 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19495 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19496 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19497 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19498 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19500 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19501 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19503 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19504 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19505 (RETURN): Do not use macro LEAVE.
19506 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19507 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19508 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19509 * sysdeps/i386/i686/memset.S (memset): Likewise.
19510 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19511 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19512 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19513 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19515 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19516 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19517 L(1_2) and L(1_3) into L(1).
19518 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19519 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19520 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19521 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19522 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19523 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19524 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19525 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19526 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19528 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19529 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19530 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19531 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19532 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19533 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19534 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19535 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19536 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19537 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19538 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19539 * sysdeps/i386/strspn.S (strspn): Likewise.
19540 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19542 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19543 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19544 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19545 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19546 L(1_3) into L(1_1).
19547 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19548 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19549 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19551 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19553 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19555 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19558 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 * math/atest-exp.c (exp_mpn): Remove ROUND.
19561 * math/atest-exp2.c (exp_mpn): Likewise.
19562 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19564 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19565 * stdlib/tst-tls-atexit-lib.c: Likewise.
19566 * stdlib/tst-tls-atexit.c: Likewise.
19568 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19570 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19571 and __attribute_alloc_size__.
19573 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19575 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19576 __attribute_alloc_size__.
19577 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19578 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19580 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19582 * include/programs/xmalloc.h: New file.
19583 * catgets/gencat.c: Include it.
19584 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19585 * elf/pldd.c: Likewise.
19586 * iconv/iconv_charmap.c: Likewise.
19587 * iconv/iconvconfig.c: Likewise.
19588 * iconv/strtab.c: Likewise.
19589 * locale/programs/locale.c: Likewise.
19590 * locale/programs/localedef.h: Likewise.
19591 * locale/programs/simple-hash.c: Likewise.
19592 * nscd/nscd.h: Likewise.
19593 * nss/makedb.c: Likewise.
19594 * sysdeps/generic/ldconfig.h: Likewise.
19596 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19598 * Versions.def: Add GLIBC_2.18.
19599 * include/link.h (struct link_map): New member l_tls_dtor_count.
19600 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19601 (__call_tls_dtors): Likewise.
19602 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19603 __cxa_thread_atexit_impl.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19620 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19621 (tests): Add test case tst-tls-atexit.
19622 (modules-names): Add shared library for tst-tls-atexit.
19623 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19624 (GLIBC_PRIVATE): Add __call_tls_dtors.
19625 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19627 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19628 * stdlib/tst-tls-atexit.c: New test case.
19629 * stdlib/tst-tls-atexit-lib.c: New test case.
19631 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19633 * elf/Versions (ld): Add _dl_find_dso_for_object.
19634 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19635 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19636 (dl_open_worker): Use _dl_find_dso_for_object.
19637 * elf/dl-sym.c (do_sym): Likewise.
19638 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19640 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19642 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19643 Syntactic changes only.
19644 (_dl_runtime_profile): Do a tail-call to the resolved function.
19646 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19649 * sysdeps/x86_64/bp-asm.h: Remove file.
19650 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19651 <bp-sym.h> and <bp-asm.h>.
19652 (__clone): Do not use BP_SYM.
19653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19654 <bp-sym.h> and <bp-asm.h>.
19655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19656 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19658 (_setjmp): Do not use BP_SYM.
19659 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19661 (setjmp): Do not use BP_SYM.
19662 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19664 (mempcpy): Do not use BP_SYM in weak_alias.
19665 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19667 (strchr): Do not use BP_SYM.
19668 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19670 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19671 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19672 (_start): Do not use BP_SYM.
19673 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19675 (strcat): Do not use BP_SYM.
19676 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19678 (STRCMP): Do not use BP_SYM.
19679 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19681 (STRCPY): Do not use BP_SYM.
19682 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19684 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19686 (FUNCTION): Do not use BP_SYM.
19687 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19689 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19691 2013-02-17 Andreas Jaeger <aj@suse.de>
19693 * time/Versions: Sort entries.
19694 * string/Versions: Likewise.
19695 * resolv/Versions: Likewise.
19696 * posix/Versions: Likewise.
19697 * iconv/Versions: Likewise.
19698 * elf/Versions: Likewise.
19699 * wcsmbs/Versions: Likewise.
19701 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19703 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19704 loop termination condition.
19706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19707 variable to calculate EZ.
19710 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19711 the lower precision input.
19713 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19716 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19717 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19718 (run-via-rtld-prefix): Do not handle %-bp tests.
19719 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19720 (all-object-suffixes): Remove .ob.
19721 (bppfx): Remove variable.
19722 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19723 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19724 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19725 [$(build-bounded) = yes] (libtype.ob): Likewise.
19726 * Makerules (elide-routines.ob): Remove variable.
19727 (do-tests-clean): Do not handle *-bp.out.
19728 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19729 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19730 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19731 (tests): Do not include $(tests-bp.out).
19732 (xtests): Do not include $(xtests-bp.out).
19733 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19734 [$(build-bounded) = yes] ($(addprefix
19735 $(objpfx),$(binaries-bounded))): Remove rule.
19736 ($(objpfx)%-bp.out): Remove rule.
19737 * config.make.in (build-bounded): Remove variable.
19738 * crypt/Makefile [$(build-bounded) = yes]
19739 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19740 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19741 append to variable.
19742 [$(build-bounded) = yes] (install-lib): Likewise.
19743 [$(build-bounded) = yes] (generated): Likewise.
19744 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19746 * intl/Makefile [$(build-bounded) = yes]
19747 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19748 * math/Makefile [$(build-bounded) = yes]
19749 ($(tests:%=$(objpfx)%-bp): Likewise.
19750 * misc/Makefile [$(build-bounded) = yes]
19751 ($(objpfx)tst-tsearch-bp): Likewise.
19752 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19753 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19755 * string/Makefile (o-objects.ob): Remove variable.
19756 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19757 (CFLAGS-.ob): Remove variable.
19758 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19759 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19760 both definitions of variable.
19761 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19762 (ASFLAGS-.ob): Remove variable.
19764 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19767 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19768 Remove __BOUNDED_POINTERS__ from condition.
19769 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19770 * string/bits/string2.h [!__NO_STRING_INLINES &&
19771 !__BOUNDED_POINTERS__]: Likewise.
19772 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19774 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19775 Remove conditional code.
19776 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19777 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19778 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19782 * csu/libc-start.c: Do not include <bp-sym.h>.
19783 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19784 * elf/dl-open.c: Do not include <bp-sym.h>.
19785 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19786 * math/fegetenv.c: Do not include <bp-sym.h>.
19787 (fegetenv): Do not use BP_SYM in versioned symbols.
19788 * nptl/sysdeps/pthread/bits/libc-lockP.h
19789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19792 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19794 (__pthread_mutex_destroy): Likewise.
19795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19796 (__pthread_mutex_lock): Likewise.
19797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19798 (__pthread_mutex_trylock): Likewise.
19799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19800 (__pthread_mutex_unlock): Likewise.
19801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19802 (__pthread_mutexattr_init): Likewise.
19803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19804 (__pthread_mutexattr_destroy): Likewise.
19805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19806 (__pthread_mutexattr_settype): Likewise.
19807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19808 (__pthread_rwlock_init): Likewise.
19809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19810 (__pthread_rwlock_destroy): Likewise.
19811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19812 (__pthread_rwlock_rdlock): Likewise.
19813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19814 (__pthread_rwlock_tryrdlock): Likewise.
19815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19816 (__pthread_rwlock_wrlock): Likewise.
19817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19818 (__pthread_rwlock_trywrlock): Likewise.
19819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19820 (__pthread_rwlock_unlock): Likewise.
19821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19822 (__pthread_key_create): Likewise.
19823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19824 (__pthread_setspecific): Likewise.
19825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19826 (__pthread_getspecific): Likewise.
19827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19830 (_pthread_cleanup_push_defer): Likewise.
19831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19832 (_pthread_cleanup_pop_restore): Likewise.
19833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19834 (pthread_setcancelstate): Likewise.
19835 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19837 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19838 (memchr): Do not use BP_SYM in weak_alias.
19839 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19840 (fegetenv): Do not use BP_SYM in versioned symbols.
19841 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19842 (fesetenv): Do not use BP_SYM in versioned symbols.
19843 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19844 (feupdateenv): Do not use BP_SYM in versioned symbols.
19845 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19846 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19847 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19848 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19849 (open64): Do not use BP_SYM in weak_alias.
19850 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19851 (fegetenv): Do not use BP_SYM in versioned symbols.
19852 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19853 (fesetenv): Do not use BP_SYM in versioned symbols.
19854 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19855 (feupdateenv): Do not use BP_SYM in versioned symbols.
19856 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19857 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19858 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19859 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19860 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19864 (__libc_start_main): Do not use BP_SYM.
19866 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19869 redundant return line.
19871 (denorm): Likewise.
19872 (dbl_mp): Likewise.
19873 (sub_magnitudes): Likewise.
19879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19881 (denorm): Likewise.
19882 (dbl_mp): Likewise.
19883 (sub_magnitudes): Likewise.
19890 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19892 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19893 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19896 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19897 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19899 of __mul for squares.
19900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19907 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19910 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19912 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19913 prototype or function definition. Rename ubp_* variables and
19914 parameters. Remove argv definitions conditional on
19915 [__BOUNDED_POINTERS__].
19916 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19917 * elf/dl-runtime.c (_dl_fixup): Likewise.
19918 * include/set-hooks.h (RUN_HOOK): Likewise.
19919 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19921 * string/strcpy.c (strcpy): Do not use __unbounded.
19922 * sysdeps/generic/frame.h (struct layout): Likewise.
19923 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19924 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19925 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19926 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19927 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19928 (__backtrace): Likewise.
19929 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19931 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19932 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19933 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19935 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19936 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19937 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19938 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19939 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19940 Do not use __unbounded.
19941 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19942 Rename __unboundedrlimits parameter to rlimits in prototype.
19943 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19944 Do not use __unbounded.
19945 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19946 not use __ptrvalue.
19947 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19948 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19949 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19950 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19951 __ptrvalue or __unbounded.
19952 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19953 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19955 (__new_msgctl): Do not use __ptrvalue.
19956 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19958 (__libc_msgrcv): Do not use __ptrvalue.
19959 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19960 startup_info): Do not use __unbounded.
19961 (__libc_start_main): Likewise. Rename ubp_* variables and
19962 parameters. Remove argv definitions conditional on
19963 [__BOUNDED_POINTERS__].
19964 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19966 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19968 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19970 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19972 (__new_shmctl): Do not use __ptrvalue.
19973 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19974 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19976 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19978 (__libc_sigaction): Likewise.
19979 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19982 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19984 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19986 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19988 * string/mempcpy.c: Implement by calling memcpy.
19990 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19998 values in the mantissa.
20000 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20001 minimize writes to Z.
20002 (sub_magnitudes): Simplify code a bit.
20004 2013-02-12 Roland McGrath <roland@hack.frob.com>
20006 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20007 from the message. The linker prefixes all warnings with that already.
20009 2013-02-12 Andreas Schwab <schwab@suse.de>
20012 * posix/regexec.c (extend_buffers): Add parameter min_len.
20013 (check_matching): Pass minimum needed length.
20014 (clean_state_log_if_needed): Likewise.
20015 (get_subexp): Likewise.
20016 * posix/Makefile (tests): Add bug-regex34.
20017 (bug-regex34-ENV): Define.
20018 * posix/bug-regex34.c: New file.
20021 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20022 elements compare against the byte sequence of it, not its name.
20023 * posix/Makefile (tests): Add bug-regex35.
20024 (bug-regex35-ENV): Define.
20025 * posix/bug-regex35.c: New file.
20027 2013-02-11 Tom de Vries <tom@codesourcery.com>
20029 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20031 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20032 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20033 (CHECK_EOL): Add undef.
20035 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20037 * bits/stdlib-bsearch.h: New file.
20038 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20039 * stdlib/stdlib.h: Likewise.
20041 2013-02-11 Roland McGrath <roland@hack.frob.com>
20043 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20044 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20046 * manual/search.texi (Array Search Function): Add missing const in
20048 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20049 declaration to use rlim_t.
20050 (Basic Scheduling Functions): Remove erroneous const from
20051 sched_getparam prototype. Remove erroneous * from
20052 sched_get_priority_max and sched_get_priority_min prototypes.
20053 (Resource Usage): Fix summary @comment on vtimes to refer to
20054 sys/vtimes.h rather than vtimes.h.
20055 Add missing *s in vtimes prototype.
20056 (Limits on Resources): Fix ulimit prototype to return long int.
20057 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20058 prototypes to use long int rather than double.
20059 (BSD Random): Fix initstate and setstate to use char *, not void *.
20060 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20061 prototype to make second argument 'struct aiocb64 *const[]'.
20062 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20063 (Status of AIO Operations): Remove erroneous const in aio_return and
20064 aio_return64 prototypes.
20065 (Synchronizing I/O): Fix sync prototype to return void.
20066 * manual/startup.texi (Suboptions): Remove an erroneous const in
20067 getsubopt prototype.
20068 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20069 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20070 use size_t rather than int.
20071 (Scanning All Users): Likewise for getpwent_r.
20072 (Setting Groups): Add missing const to setgroups prototype.
20073 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20074 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20075 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20076 'const void *' rather than 'const char *'.
20077 (Host Address Functions): Likewise for inet_ntop.
20078 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20079 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20080 ssize_t for return value.
20081 (Sending Data): Likewise for send, sendto, sendmsg.
20082 (Socket Option Functions): Add a missing const in setsockopt prototype.
20083 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20084 use wchar_t for the argument.
20085 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20086 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20088 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20089 double/float/long double for second argument.
20090 Fix return types of significand, significandf, significandl.
20091 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20092 argument in fchmod prototype.
20093 (File Owner): Use uid_t and gid_t in fchown prototype.
20094 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20095 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20096 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20097 use 'const struct dirent **' as argument types to CMP function pointer
20099 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20100 (File Times): Fix summary magic @comment for struct utimbuf and utime
20101 to refer to utime.h, not time.h.
20102 * manual/string.texi (Argz Functions): Add missing const in
20103 argz_extract and argz_next prototypes.
20104 (Finding Tokens in a String): Likewise for basename.
20105 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20106 (Copying and Concatenation): Fix typo in wmemmove prototype.
20107 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20108 (Signal Stack): Remove erroneous const in sigstack prototype.
20109 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20111 (Simple Calendar Time): Likewise for stime.
20112 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20114 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20115 say sys/sysctl.h instead.
20116 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20117 and vsyslog prototypes.
20119 2013-02-11 Tom de Vries <tom@codesourcery.com>
20121 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20124 2013-02-11 Roland McGrath <roland@hack.frob.com>
20126 * misc/sys/mman.h: Fix typo in mremap comment.
20128 2013-02-08 Roland McGrath <roland@hack.frob.com>
20130 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20131 the '\0' terminator.
20133 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20136 * debug/segfault.c: Don't include <bp-checks.h>.
20137 * sysdeps/generic/bp-checks.h: Remove file.
20138 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20139 (__GETDENTS): Don't use CHECK_N.
20140 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20141 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20142 (__getgroups): Don't use CHECK_N.
20143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20144 (setgroups): Don't use CHECK_N.
20145 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20146 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20147 (__libc_msgrcv): Don't use CHECK_N.
20148 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20149 (__libc_msgsnd): Don't use CHECK_N.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20152 (__libc_pread): Don't use CHECK_N.
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20154 include <bp-checks.h>.
20155 (__libc_pread64): Don't use CHECK_N.
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20157 include <bp-checks.h>.
20158 (__libc_pwrite): Don't use CHECK_N.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20160 include <bp-checks.h>.
20161 (__libc_pwrite64): Don't use CHECK_N.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20164 (__libc_pread): Don't use CHECK_N.
20165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20166 include <bp-checks.h>.
20167 (__libc_pread64): Don't use CHECK_N.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20169 include <bp-checks.h>.
20170 (__libc_pwrite): Don't use CHECK_N.
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20172 include <bp-checks.h>.
20173 (__libc_pwrite64): Don't use CHECK_N.
20174 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20175 (do_pread): Don't use CHECK_N.
20176 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20177 (do_pread64): Don't use CHECK_N.
20178 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20179 (do_pwrite): Don't use CHECK_N.
20180 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20181 (do_pwrite64): Don't use CHECK_N.
20182 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20183 (__libc_readv): Don't use CHECK_N.
20184 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20185 (semop): Don't use CHECK_N.
20186 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20188 (semtimedop): Don't use CHECK_N.
20189 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20190 (__libc_pread): Don't use CHECK_N.
20191 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20193 (__libc_pread64): Don't use CHECK_N.
20194 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20196 (__libc_pwrite): Don't use CHECK_N.
20197 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20199 (__libc_pwrite64): Don't use CHECK_N.
20200 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20202 (__libc_msgrcv): Don't use CHECK_N.
20203 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20204 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20205 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20206 (__libc_writev): Don't use CHECK_N.
20208 2013-02-08 Roland McGrath <roland@hack.frob.com>
20210 * string/strcpy.c: Removed unused variable.
20212 * Makeconfig (+sysdep-includes): Define with := rather than =.
20213 Use an existing include/ subdir of each sysdeps dir before it.
20215 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20217 * nscd/connection.c (register_traced_file): Comment function.
20218 [HAVE_INOTIFY] (union __inev): Define.
20219 [HAVE_INOTIFY] (inotify_check_files): New function.
20220 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20221 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20223 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20225 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20227 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20228 loaded if not already and that a failure is permanent.
20230 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20233 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20234 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20236 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20240 (CHECK_1_NULL_OK): Likewise.
20241 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20242 (__fxstat): Do not use CHECK_1.
20243 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20245 (___fxstat64): Do not use CHECK_1.
20246 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20248 (__fxstatat): Do not use CHECK_1.
20249 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20251 (__fxstatat64): Do not use CHECK_1.
20252 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20254 (__fxstat): Do not use CHECK_1.
20255 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20257 (__fxstatat): Do not use CHECK_1.
20258 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20260 (__getresgid): Do not use CHECK_1.
20261 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20263 (__getresuid): Do not use CHECK_1.
20264 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20266 (__lxstat): Do not use CHECK_1.
20267 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20269 (__old_msgctl): Do not use CHECK_1.
20270 (__new_msgctl): Likewise.
20271 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20273 (__new_setrlimit): Do not use CHECK_1.
20274 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20276 (__old_shmctl): Do not use CHECK_1.
20277 (__new_shmctl): Likewise.
20278 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20280 (__xstat): Do not use CHECK_1.
20281 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20282 (__lxstat): Do not use CHECK_1.
20283 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20285 (___lxstat64): Do not use CHECK_1.
20286 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20287 (__old_msgctl): Do not use CHECK_1.
20288 (__new_msgctl): Likewise.
20289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20291 (__gettimeofday): Do not use CHECK_1.
20292 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20293 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20294 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20296 (__gettimeofday): Do not use CHECK_1.
20297 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20298 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20299 (__new_shmctl): Do not use CHECK_1.
20300 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20302 (do_sigtimedwait): Do not use CHECK_1.
20303 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20305 (do_sigwaitinfo): Do not use CHECK_1.
20306 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20308 (msgctl): Do not use CHECK_1.
20309 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20311 (shmctl): Do not use CHECK_1.
20312 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20313 (ustat): Do not use CHECK_1.
20314 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20316 (__fxstat): Do not use CHECK_1.
20317 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20319 (__fxstatat): Do not use CHECK_1.
20320 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20322 (__lxstat): Do not use CHECK_1.
20323 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20325 (__xstat): Do not use CHECK_1.
20326 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20327 (__xstat): Do not use CHECK_1.
20328 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20329 (___xstat64): Do not use CHECK_1.
20332 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20334 (CHECK_BOUNDS_HIGH): Likewise.
20335 * string/strcpy.c: Do not include <bp-checks.h>.
20336 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20338 2013-02-07 Roland McGrath <roland@hack.frob.com>
20340 * nscd/nscd-client.h (__nscd_drop_map_ref):
20341 Add __attribute__ ((unused)).
20342 * nis/nss-nisplus.h (niserr2nss): Likewise.
20344 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20345 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20347 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20348 Remove inline keyword.
20349 * include/rounding-mode.h (round_away): Likewise.
20350 * libio/wfileops.c (adjust_wide_data): Likewise.
20351 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20352 (__m128i_strloadu_tolower): Likewise.
20353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20354 (__m128i_strloadu_tolower): Likewise.
20355 * time/mktime.c (ydhms_diff): Likewise.
20356 * locale/elem-hash.h (elem_hash): Likewise.
20357 * locale/setlocale.c (setdata): Likewise.
20358 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20359 (re_string_wchar_at): Likewise.
20360 (bitset_not, bitset_merge, bitset_mask): Likewise.
20361 [!(__GNUC__ > 3)] (inline): Remove macro.
20362 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20363 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20364 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20365 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20366 * string/memcmp.c (memcmp_bytes): Likewise.
20367 * locale/programs/locarchive.c (compute_hashval): Likewise.
20368 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20369 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20370 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20371 * nss/getent.c (print_rpc, print_protocols): Likewise.
20372 (print_passwd, print_group, print_aliases): Likewise.
20373 * nis/nss-nisplus.h (niserr2nss): Likewise.
20374 * nscd/connections.c (restart_p): Likewise.
20375 Change return type to bool.
20377 2013-02-05 Roland McGrath <roland@hack.frob.com>
20379 * Makeconfig (all-Depend-files): Add existing
20380 $(sorted-subdirs:=/Depend) files.
20381 (all-subdirs): Remove nss.
20382 * sysdeps/unix/inet/Subdirs: Add it here instead.
20383 * hesiod/Depend: New file.
20385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20386 instead of calling alloca.
20388 * io/lseek.c (__lseek): Rename to __libc_lseek.
20389 Define __lseek as an alias.
20391 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20393 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20395 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20396 else clause and remove check for non-standard endianness.
20398 2013-02-04 David S. Miller <davem@davemloft.net>
20400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20402 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20405 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20406 (__ubp_memchr): Remove prototype.
20407 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20408 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20409 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20410 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20411 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20413 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20414 (__ubp_memchr): Likewise.
20415 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20416 (__ubp_memchr): Likewise.
20417 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20418 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20419 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20422 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20423 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20424 (__getcwd): Do not use CHECK_STRING.
20425 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20427 (__real_chown): Do not use CHECK_STRING.
20428 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20430 (fchownat): Do not use CHECK_STRING.
20431 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20433 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20435 (__lchown): Do not use CHECK_STRING.
20436 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20437 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20438 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20439 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20441 include <bp-checks.h>.
20442 (truncate64): Do not use CHECK_STRING.
20443 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20445 (__real_chown): Do not use CHECK_STRING.
20446 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20448 (__lchown): Do not use CHECK_STRING.
20449 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20451 (__chown): Do not use CHECK_STRING.
20452 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20454 (truncate64): Do not use CHECK_STRING.
20455 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20457 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20458 (__xmknod): Do not use CHECK_STRING.
20459 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20461 (__xmknodat): Do not use CHECK_STRING.
20462 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20463 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20465 2013-02-04 Andreas Schwab <schwab@suse.de>
20468 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20469 * include/netdb.h: Likewise for h_errno.
20470 * elf/tst-stackguard1.c: Include <tls.h>.
20472 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20474 * elf/link.h (struct link_map): Extend the l_addr comment.
20475 * include/link.h (struct link_map): Likewise.
20477 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20480 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20481 (BOUNDED_1): Remove macro.
20482 * debug/backtrace.c: Don't include <bp-checks.h>.
20483 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20484 (__backtrace): Likewise.
20485 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20487 (__backtrace): Don't use BOUNDED_1.
20488 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20490 (__backtrace): Don't use BOUNDED_1.
20491 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20492 (__backtrace): Don't use BOUNDED_1.
20493 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20494 (shmat): Don't use BOUNDED_N.
20496 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20499 * sysdeps/generic/bp-start.h: Remove file.
20500 * csu/libc-start.c: Don't include <bp-start.h>.
20501 (LIBC_START_MAIN): Set up __environ directly instead of using
20502 INIT_ARGV_and_ENVIRON.
20503 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20507 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20509 (CHECK_FCNTL): Likewise.
20510 (CHECK_N_PAGES): Likewise.
20513 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20515 (CHECK_SIGSET_NULL_OK): Likewise.
20516 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20518 (sigpending): Don't use CHECK_SIGSET.
20519 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20521 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20522 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20524 (do_sigsuspend): Don't use CHECK_SIGSET.
20525 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20527 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20528 (do_sigwait): Don't use CHECK_SIGSET.
20529 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20531 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20532 include <bp-checks.h>.
20533 (sigpending): Don't use CHECK_SIGSET.
20534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20535 include <bp-checks.h>.
20536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20537 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20539 (sigpending): Don't use CHECK_SIGSET.
20540 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20545 * sysdeps/generic/bp-semctl.h: Remove file.
20546 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20547 <bp-checks.h> and <bp-semctl.h>.
20548 (__old_semctl): Don't use CHECK_SEMCTL.
20549 (__new_semctl): Likewise.
20550 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20552 (__old_semctl): Don't use CHECK_SEMCTL.
20553 (__new_semctl): Likewise.
20554 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20555 <bp-checks.h> and <bp-semctl.h>.
20556 (__old_semctl): Don't use CHECK_SEMCTL.
20557 (__new_semctl): Likewise.
20558 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20559 <bp-checks.h> and <bp-semctl.h>.
20560 (semctl): Don't use CHECK_SEMCTL.
20563 * Makerules (elide-bp-thunks): Remove variable.
20564 (elide-routines.oS): Don't use $(elide-bp-thunks).
20565 (elide-routines.os): Likewise.
20566 (elide-routines.o): Likewise.
20567 (elide-routines.op): Likewise.
20568 (elide-routines.og): Likewise.
20569 (objects): Don't use $(bp-thunks).
20570 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20572 (common-generated): Do not add s-proto-bp.d.
20573 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20576 Do not generate makefile rules for bounded-pointer thunks.
20577 * sysdeps/generic/bp-thunks.h: Remove file.
20578 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20579 * sysdeps/unix/s-proto-bp.S: Likewise.
20582 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20583 parts of result separately when argument is not close to line from
20584 -i to i and one part of argument is small.
20585 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20586 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20587 * math/libm-test.inc (cacos_test): Add more tests.
20588 (casin_test): Likewise.
20589 (casinh_test): Likewise.
20590 * sysdeps/i386/fpu/libm-test-ulps: Update.
20591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20593 2013-01-31 David S. Miller <davem@davemloft.net>
20595 * po/de.po: Update from translation team.
20597 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20599 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20601 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20603 * configure.in (_AC_PROG_CC_C89): New definition.
20604 * configure: Regenerate.
20606 * configure.in (AC_PROG_CPP): New definition.
20607 * configure: Regenerate.
20609 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20611 * debug/tst-backtrace.h: New file.
20612 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20613 (ret): Remove variable.
20615 (FAIL): Remove macro.
20616 (NO_INLINE): Likewise.
20617 (fn1): Use match function instead of strstr.
20618 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20619 (ret): Remove variable.
20621 (FAIL): Remove macro.
20622 (NO_INLINE): Likewise.
20623 (fn): Use match function instead of strstr.
20624 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20625 (ret): Remove variable.
20627 (FAIL): Remove macro.
20628 (NO_INLINE): Likewise.
20629 (handle_signal): Use match function instead of strstr.
20630 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20631 (ret): Remove variable.
20633 (FAIL): Remove macro.
20634 (NO_INLINE): Likewise.
20635 (handle_signal): Use match function instead of strstr.
20637 2013-01-23 Roland McGrath <roland@hack.frob.com>
20639 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20641 2013-01-23 David S. Miller <davem@davemloft.net>
20643 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20644 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20645 argument of CAS if possible.
20646 * sysdeps/sparc/sparc64/bits/atomic.h
20647 (__arch_compare_and_exchange_val_32_acq): Likewise.
20648 (__arch_compare_and_exchange_val_64_acq): Likewise.
20650 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20652 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20653 * sysdeps/posix/ulimit.c: ... this.
20654 Include <limits.h>.
20655 * sysdeps/unix/bsd/ulimit.c: Remove file.
20657 2013-01-23 Adam Conrad <adconrad@0c3.net>
20659 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20660 (LDFLAGS-tst-array5): Likewise.
20662 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20665 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20666 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20667 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20668 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20670 2013-01-21 David S. Miller <davem@davemloft.net>
20672 * sysdeps/sparc/backtrace.c: New file.
20673 * sysdeps/sparc/sparc32/backtrace.h: New file.
20674 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20675 * sysdeps/sparc/sparc64/backtrace.h: New file.
20676 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20677 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20680 2013-01-21 Andreas Schwab <schwab@suse.de>
20683 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20686 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20692 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20693 Mark Mitchell <mark@codesourcery.com>
20694 Tom de Vries <tom@codesourcery.com>
20695 Paul Pluzhnikov <ppluzhnikov@google.com>
20697 * debug/tst-backtrace2.c: New file.
20698 * debug/tst-backtrace3.c: Likewise.
20699 * debug/tst-backtrace4.c: Likewise.
20700 * debug/tst-backtrace5.c: Likewise.
20701 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20702 (CFLAGS-tst-backtrace3.c): Likewise.
20703 (CFLAGS-tst-backtrace4.c): Likewise.
20704 (CFLAGS-tst-backtrace5.c): Likewise.
20705 (LDFLAGS-tst-backtrace2): Likewise.
20706 (LDFLAGS-tst-backtrace3): Likewise.
20707 (LDFLAGS-tst-backtrace4): Likewise.
20708 (LDFLAGS-tst-backtrace5): Likewise.
20709 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20710 tst-backtrace4 and tst-backtrace5.
20712 2013-01-18 Anton Blanchard <anton@samba.org>
20713 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20715 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20716 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20717 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20718 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20720 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20721 "+r" and remove output regs list as redundant. Add explicit inline
20722 asm to specify register of return val to work around compiler codegen
20723 bug. Remove (int) cast on return value. Add return type parameter to
20724 use in macro so that this macro does not truncate return value for
20726 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20727 pass to INTERNAL_VSYSCALL_NCS.
20728 (INLINE_VSYSCALL): Add 'long int' as return type to
20729 INTERNAL_VSYSCALL_NCS macro invocation.
20730 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20731 INTERNAL_VSYSCALL_NCS macro invocation.
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20734 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20737 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20738 Fix application of SIMD FP exception mask.
20740 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20741 mp_no from a power of two.
20742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20743 __mpexp_twomm1. Use __pow_mp.
20745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20748 2013-01-17 David S. Miller <davem@davemloft.net>
20750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20752 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20755 * include/complex.h: Condition contents on [!_COMPLEX_H].
20756 (__kernel_casinhf): New prototype.
20757 (__kernel_casinh): Likewise.
20758 (__kernel_casinhl): Likewise.
20759 * math/Makefile (libm_calls): Add k_casinh.
20760 * math/k_casinh.c: New file.
20761 * math/k_casinhf.c: Likewise.
20762 * math/k_casinhl.c: Likewise.
20763 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20764 finite nonzero arguments.
20765 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20766 finite nonzero arguments.
20767 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20768 finite nonzero arguments.
20769 * math/s_casinh.c: Do not include <float.h>.
20770 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20771 * math/s_casinhf.c: Do not include <float.h>.
20772 (__casinhf): Move code for finite nonzero arguments to
20774 * math/s_casinhl.c: Do not include <float.h>.
20775 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20777 (__casinhl): Move code for finite nonzero arguments to
20779 * math/libm-test.inc (cacos_test): Add more tests.
20780 * sysdeps/i386/fpu/libm-test-ulps: Update.
20781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20783 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20785 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20786 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20787 [!HAVE_MREMAP]: Remove [defined linux] case.
20788 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20790 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20794 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20796 * elf/elf.h (R_386_SIZE32): New relocation.
20797 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20799 (elf_machine_rela): Likewise.
20800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20801 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20803 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20805 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20806 (FP_FAST_FMA): Do not define.
20807 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20808 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20809 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20810 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20811 !_SOFT_FLOAT]: Likewise.
20812 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20813 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20815 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20816 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20817 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20818 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20819 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20820 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20823 2013-01-16 Andreas Schwab <schwab@suse.de>
20826 * include/stdlib.h (__mktemp): Add declaration.
20827 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20828 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20830 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20832 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20834 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20835 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20836 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20838 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20839 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20841 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20843 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20844 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20845 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20847 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20848 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20850 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20852 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20854 2013-01-15 David S. Miller <davem@davemloft.net>
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20857 trunc{,f} to libm-sysdep_routes.
20858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20868 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20869 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20870 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20871 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20872 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20873 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20876 nearbyint{,f} to libm-sysdep_routes.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20890 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20891 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20893 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20894 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20895 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20898 libc_feholdexcept and libc_fesetenv.
20900 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20902 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20904 2013-01-14 David S. Miller <davem@davemloft.net>
20906 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20907 (SPARC_ASM_VIS2_IFUNC): Likewise.
20908 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20910 use of 'siam' instruction.
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20944 routines to libm-sysdep_routines.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20948 fdim/fdimf to libm-sysdep_routines.
20949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20957 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20958 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20959 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20960 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20962 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20964 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20965 to optimize copies.
20967 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20972 local variable MPTWO.
20973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20976 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20978 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20981 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20983 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20985 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20987 * manual/pattern.texi (glob_t): Document gl_flags.
20988 (glob64_t): Likewise.
20990 2013-01-11 David S. Miller <davem@davemloft.net>
20992 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20993 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20994 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20995 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20996 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20997 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20998 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20999 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21000 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21001 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21002 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21003 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21004 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21006 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21007 sparc V9 rather than using V8 code.
21008 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21009 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21011 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21016 2013-01-11 Roland McGrath <roland@hack.frob.com>
21018 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21019 not in the main loop.
21020 * configure: Regenerated.
21022 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21024 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21025 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21027 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21028 [!__GLIBC_HAVE_LONG_LONG] case.
21029 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21030 condition to just #else.
21031 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21032 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21033 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21034 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21036 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21037 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21038 #elif condition to just #else.
21039 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21040 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21041 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21042 #elif condition to just #else.
21044 2013-01-11 Steve Ellcey <sellcey@mips.com>
21046 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21047 (EF_MIPS_ARCH_64): Fix value.
21048 (EF_MIPS_ARCH_32R2): New.
21049 (EF_MIPS_ARCH_64R2): New.
21051 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21053 * Makeconfig (+link-pie-before-libc): New.
21054 (+link-pie-after-libc): Likewise.
21055 (+link-pie-tests): Likewise.
21056 (+link-pie): Rewritten.
21057 (link-before-libc): Remove $(config-LDFLAGS).
21058 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21059 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21060 (config-LDFLAGS): Renamed to ...
21061 (rtld-LDFLAGS): This.
21062 (rtld-tests-LDFLAGS): New macro.
21063 (link-libc-rpath-link): Likewise.
21064 (link-libc-tests-rpath-link): Likewise.
21065 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21066 (link-libc): Prepand $(link-libc-rpath-link).
21067 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21068 (test-program-prefix): New macro.
21069 (test-via-rtld-prefix): Likewise.
21070 (test-program-cmd): Likewise.
21071 (host-test-program-cmd): Likewise.
21072 * Makefile ($(common-objpfx)testrun.sh): Replace
21073 $(run-program-prefix) with $(test-program-prefix).
21074 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21076 ($(common-objpfx)shlib.lds): Likewise.
21077 (build-module-helper): Likewise.
21078 ($(common-objpfx)format.lds): Likewise.
21079 * Rules (binaries-pie-tests): New.
21080 (binaries-pie-notests): Likewise.
21081 (binaries-pie): Rewritten.
21082 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21083 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21084 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21085 (make-test-out): Replace $(host-built-program-cmd) with
21086 $(host-test-program-cmd).
21087 * config.make.in (build-hardcoded-path-in-tests): New variable.
21088 * configure.in (--enable-hardcoded-path-in-tests): New configure
21090 (hardcoded_path_in_tests): New AC_SUBST.
21091 * configure: Regenerated.
21092 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21093 $(built-program-cmd) with $(test-program-cmd).
21094 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21095 (test_program_cmd): This.
21096 * elf/Makefile ($(objpfx)order.out): Run test with
21097 $(test-program-prefix).
21098 ($(objpfx)order2.out): Likewise.
21099 ($(objpfx)tst-initorder.out): Likewise.
21100 ($(objpfx)tst-initorder2.out): Likewise.
21101 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21102 $(test-program-cmd).
21103 ($(objpfx)tst-array1-static.out): Likewise.
21104 ($(objpfx)tst-array2.out): Likewise.
21105 ($(objpfx)tst-array3.out): Likewise.
21106 ($(objpfx)tst-array4.out): Likewise.
21107 ($(objpfx)tst-array5.out): Likewise.
21108 ($(objpfx)tst-array5-static.out): Likewise.
21109 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21110 $(test-program-cmd).
21111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21112 $(run-program-prefix) with $(test-program-prefix).
21113 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21114 (test_program_prefix): This.
21115 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21116 $(run-program-prefix) with $(test-program-prefix).
21117 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21118 (test_program_prefix): This.
21119 * iconvdata/tst-tables.sh: Likewise.
21120 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21121 $(run-program-prefix) with $(test-program-prefix).
21122 ($(objpfx)tst-translit.out): Likewise.
21123 ($(objpfx)tst-gettext2.out): Likewise.
21124 ($(objpfx)tst-gettext4.out): Likewise.
21125 ($(objpfx)tst-gettext6.out): Likewise.
21126 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21127 (test_program_prefix): This.
21128 * intl/tst-gettext2.sh: Likewise.
21129 * intl/tst-gettext4.sh Likewise.
21130 * intl/tst-gettext6.sh: Likewise.
21131 * intl/tst-translit.sh: Likewise.
21132 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21133 with $(test-program-cmd).
21134 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21135 $(run-program-prefix) with $(test-program-prefix).
21136 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21137 (test_program_prefix): This.
21138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21139 $(run-program-prefix) with $(test-program-prefix).
21140 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21141 (test_program_prefix): This.
21142 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21143 * posix/Makefile ($(objpfx)globtest.out): Replace
21144 $(run-via-rtld-prefix) and $(test-wrapper) with
21145 $(test-program-prefix) and $(test-via-rtld-prefix).
21146 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21147 $(test-program-prefix).
21148 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21149 $(host-test-program-cmd).
21150 (tst-spawn-ARGS): Likewise.
21151 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21152 $(test-program-prefix).
21153 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21154 (test_via_rtld_prefix): This.
21155 (test_wrapper): Renamed to ...
21156 (test_program_prefix): This.
21157 (run_program_prefix): Replaced by test_program_prefix.
21158 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21159 (test_program_prefix): This.
21160 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21161 with $(host-test-program-cmd).
21162 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21163 $(run-program-prefix) with $(test-program-prefix).
21164 ($(objpfx)tst-printf.out): Likewise.
21165 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21166 $(test-program-cmd).
21167 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21168 (test_program_prefix): This.
21169 * stdio-common/tst-unbputc.sh: Likewise.
21170 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21171 $(run-program-prefix) with $(test-program-prefix).
21172 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21173 (test_program_prefix): This.
21174 * string/Makefile ($(objpfx)tst-svc.out): Replace
21175 $(built-program-cmd) with $(test-program-cmd).
21177 2013-01-11 Andreas Jaeger <aj@suse.de>
21180 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21181 value. Sync with Linux 3.7.
21183 2013-01-10 David S. Miller <davem@davemloft.net>
21185 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21189 2013-01-10 Roland McGrath <roland@hack.frob.com>
21191 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21193 * configure: Regenerated.
21195 2013-01-10 David S. Miller <davem@davemloft.net>
21197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21198 sparc V9 rather than using V8 code.
21199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21202 2013-01-10 Roland McGrath <roland@hack.frob.com>
21204 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21205 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21206 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21207 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21208 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21209 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21210 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21211 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21212 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21213 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21214 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21215 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21216 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21217 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21218 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21219 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21220 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21221 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21222 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21223 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21224 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21225 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21226 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21227 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21228 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21229 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21230 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21232 2013-01-10 David S. Miller <davem@davemloft.net>
21234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21236 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21238 * posix/Makefile (tests-static): New variable.
21239 (tests): Add $(tests-static).
21240 (tst-exec-static-ARGS): New variable.
21241 (tst-spawn-static-ARGS): Likewise.
21242 * posix/tst-exec-static.c: New file.
21243 * posix/tst-spawn-static.c: Likewise.
21244 * posix/tst-exec.c: Support run directly.
21245 * posix/tst-spawn.c: Likewise.
21247 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21249 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21251 * math/bits/mathcalls.h (llrint): Likewise.
21252 (llround): Likewise.
21253 * stdlib/stdlib.h (struct drand48_data): Likewise.
21254 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21255 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21256 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21258 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21260 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21261 (elf_greg_t): Likewise.
21262 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21263 (__jmp_buf): Likewise.
21264 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21266 (llrint): Likewise, for all definitions.
21267 (llrintl): Likewise.
21269 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21270 Remove [__GNUC__] condition.
21271 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21272 condition to just [__USE_ISOC99].
21273 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21275 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21278 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21279 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21281 (_POSIX_V6_ILP32_OFF32): Likewise.
21282 (_XBS5_ILP32_OFF32): Likewise.
21283 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21284 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21286 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21288 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21291 doubles __mpexp_twomm1. Adjust usage.
21292 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21295 2013-01-10 Andreas Schwab <schwab@suse.de>
21298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21299 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21301 2013-01-09 David S. Miller <davem@davemloft.net>
21304 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21305 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21306 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21307 (TCP_FASTOPEN): Define.
21308 (tcp_repair_opt): New structure.
21309 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21311 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21312 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21313 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21314 (tcp_cookie_transactions): New structure.
21316 2013-01-09 Anton Blanchard <anton@samba.org>
21318 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21319 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21323 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21325 * include/features.h (__USE_ANSI): Remove.
21327 2013-01-09 Roland McGrath <roland@hack.frob.com>
21329 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21331 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21333 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21335 * sysdeps/s390/fpu/libm-test-ulps: Update.
21337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21339 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21343 (denorm): Likewise.
21344 (__mp_dbl): Likewise.
21345 (__dbl_mp): Likewise.
21346 (add_magnitudes): Likewise.
21347 (sub_magnitudes): Likewise.
21353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21357 (denorm): Likewise.
21358 (__mp_dbl): Likewise.
21359 (__dbl_mp): Likewise.
21360 (add_magnitudes): Likewise.
21361 (sub_magnitudes): Likewise.
21367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21371 (denorm): Likewise.
21372 (__mp_dbl): Likewise.
21373 (__dbl_mp): Likewise.
21374 (add_magnitudes): Likewise.
21375 (sub_magnitudes): Likewise.
21382 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21384 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21385 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21386 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21387 2 && __USE_EXTERN_INLINES]: Likewise.
21389 2013-01-08 Andreas Jaeger <aj@suse.de>
21392 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21394 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21395 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21397 2013-01-07 Anton Blanchard <anton@samba.org>
21399 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21400 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21401 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21402 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21403 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21405 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21406 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21408 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21410 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21412 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21413 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21417 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21419 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21420 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21422 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21423 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21424 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21425 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21426 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21428 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21429 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21432 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21435 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21436 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21438 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21443 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21445 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21446 (__MALLOC_PMT): Likewise.
21447 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21448 [__GNUC__], only on [_LIBC].
21449 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21450 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21451 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21452 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21453 forward declaration.
21454 (realloc_hook_ini): Likewise.
21455 (memalign_hook_ini): Likewise.
21456 (__libc_memalign): Do not use __MALLOC_PMT in variable
21458 (__libc_valloc): Likewise.
21459 (__libc_pvalloc): Likewise.
21460 (__libc_calloc): Likewise.
21461 (__posix_memalign): Likewise.
21464 * math/s_casinh.c: Include <float.h>.
21465 (__casinh): Do not do computation with squaring and square root
21466 for large arguments.
21467 * math/s_casinhf.c: Include <float.h>.
21468 (__casinhf): Do not do computation with squaring and square root
21469 for large arguments.
21470 * math/s_casinhl.c: Include <float.h>.
21471 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21472 (__casinhl): Do not do computation with squaring and square root
21473 for large arguments.
21474 * math/libm-test.inc (casin_test): Add more tests.
21475 (casinh_test): Likewise.
21476 * sysdeps/i386/fpu/libm-test-ulps: Update.
21477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21481 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21482 (__x86_64_raw_data_cache_size): Likewise.
21483 (__x86_64_data_cache_size_half): Likewise.
21484 (__x86_64_raw_data_cache_size_half): Likewise.
21485 (__x86_64_shared_cache_size): Likewise.
21486 (__x86_64_raw_shared_cache_size): Likewise.
21487 (__x86_64_shared_cache_size_half): Likewise.
21488 (__x86_64_raw_shared_cache_size_half): Likewise.
21489 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21491 (__x86_data_cache_size): This.
21492 (__x86_64_raw_data_cache_size): Renamed to ...
21493 (__x86_raw_data_cache_size): This.
21494 (__x86_64_data_cache_size_half): Renamed to ...
21495 (__x86_data_cache_size_half): This.
21496 (__x86_64_raw_data_cache_size_half): Renamed to ...
21497 (__x86_raw_data_cache_size_half): This.
21498 (__x86_64_shared_cache_size): Renamed to ...
21499 (__x86_shared_cache_size): This.
21500 (__x86_64_raw_shared_cache_size): Renamed to ...
21501 (__x86_raw_shared_cache_size): This.
21502 (__x86_64_shared_cache_size_half): Renamed to ...
21503 (__x86_shared_cache_size_half): This.
21504 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21505 (__x86_raw_shared_cache_size_half): This.
21506 * sysdeps/x86_64/memcpy.S: Updated.
21507 * sysdeps/x86_64/memset.S: Likewise.
21508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21509 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21512 2013-01-04 David S. Miller <davem@davemloft.net>
21514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21516 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21518 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21519 1 to avoid redefinition warning.
21520 (__USE_GNU): Don't define.
21521 (init_signaling_nan): Protoize.
21523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21525 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21527 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21529 (__cpymn): Likewise.
21530 (norm): Remove commented code.
21531 (denorm): Likewise.
21532 (__mp_dbl): Likewise.
21534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21535 (__cpymn): Likewise.
21536 (norm): Remove commented code.
21537 (denorm): Likewise.
21538 (__mp_dbl): Likewise.
21541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21542 mp_no value for 1.0 and 2.0.
21543 (norm): Use RADIXI instead of radixi.d.
21544 (denorm): Likewise.
21545 (__mul): Use 0.0 instead of zero.d.
21546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21547 mp_no value for 1.0 and 2.0.
21548 (norm): Use RADIXI instead of radixi.d.
21549 (denorm): Likewise.
21550 (__mul): Use 0.0 instead of zero.d.
21552 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21555 * math/s_casinh.c (__casinh): Reduce finite argument to first
21556 quadrant then set signs of results at the end.
21557 * math/s_casinhf.c (__casinhf): Likewise.
21558 * math/s_casinhl.c (__casinhl): Likewise.
21559 * math/libm-test.inc (casin_test): Add more tests.
21560 (casinh_test): Likewise.
21561 * sysdeps/i386/fpu/libm-test-ulps: Update.
21562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21564 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21566 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21568 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21570 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21572 (denorm): Likewise.
21573 (__mp_dbl): Likewise.
21576 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21577 and adjust the header comment.
21579 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21580 variable name from declaration.
21582 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21585 Initialize COMMON_CPUID_INDEX_7 element.
21586 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21587 (CPUID_RTM): Likewise.
21588 (HAS_RTM): Likewise.
21589 (COMMON_CPUID_INDEX_7): New enum.
21591 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21594 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21595 size is zero, record memory as freed.
21597 2013-01-03 Andreas Jaeger <aj@suse.de>
21599 * po/ia.po: Add new Interlingua translation.
21601 2012-01-03 Allan McRae <allan@archlinux.org>
21603 * locale/programs/localedef.c: Fix description of '--posix' flag.
21605 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21607 * NEWS: Update dates in second copyright notice.
21608 * README: Update copyright dates in example.
21609 * manual/libc.texinfo: Update copyright dates.
21610 * scripts/test-installation.pl: Update copyright date in --version
21613 * hurd/ctty-input.c: Fix copyright notice formatting.
21614 * hurd/ctty-output.c: Likewise.
21615 * hurd/dtable.c: Likewise.
21616 * hurd/hurd-raise.c: Likewise.
21617 * hurd/hurdprio.c: Likewise.
21618 * hurd/msgportdemux.c: Likewise.
21619 * misc/sys/file.h: Likewise.
21620 * misc/sys/ioctl.h: Likewise.
21621 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21622 * sysdeps/mach/hurd/chdir.c: Likewise.
21623 * sysdeps/mach/hurd/fchdir.c: Likewise.
21624 * sysdeps/mach/hurd/rename.c: Likewise.
21625 * sysdeps/mach/hurd/rmdir.c: Likewise.
21626 * sysdeps/mach/hurd/seekdir.c: Likewise.
21627 * sysdeps/mach/hurd/setsid.c: Likewise.
21628 * sysdeps/posix/wait3.c: Likewise.
21630 * All files with FSF copyright notices: Update copyright dates
21631 using scripts/update-copyrights.
21632 * intl/plural.c: Regenerated.
21633 * locale/programs/charmap-kw.h: Likewise.
21634 * locale/programs/locfile-kw.h: Likewise.
21636 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21642 calculation loop and add branch prediction.
21644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21645 check access beyond bounds of m1np.
21647 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21649 (__inv): Remove local variable MPTWO to use the global
21651 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21654 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21655 MP3HALFS static const.
21657 2013-01-01 David S. Miller <davem@davemloft.net>
21659 * po/ca.po: Update from translation team.
21661 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21663 * scripts/update-copyrights: New file.
21664 * Makeconfig: Reformat copyright notice.
21665 * ctype/ctype.h: Likewise.
21666 * debug/swprintf_chk.c: Likewise.
21667 * elf/dl-cache.c: Likewise.
21668 * elf/dl-debug.c: Likewise.
21669 * elf/dl-object.c: Likewise.
21670 * grp/initgroups.c: Likewise.
21671 * hurd/Makefile: Likewise.
21672 * hurd/hurd/signal.h: Likewise.
21673 * hurd/hurdfault.c: Likewise.
21674 * hurd/hurdioctl.c: Likewise.
21675 * hurd/hurdlookup.c: Likewise.
21676 * hurd/intr-msg.c: Likewise.
21677 * iconv/gconv_open.c: Likewise.
21678 * libio/swprintf.c: Likewise.
21679 * locale/lc-ctype.c: Likewise.
21680 * locale/nl_langinfo.c: Likewise.
21681 * mach/Machrules: Likewise.
21682 * mach/Makefile: Likewise.
21683 * malloc/obstack.h: Likewise.
21684 * manual/Makefile: Likewise.
21685 * manual/tsort.awk: Likewise.
21686 * misc/bits/stab.def: Likewise.
21687 * nis/nis_print_group_entry.c: Likewise.
21688 * nis/nis_table.c: Likewise.
21689 * nis/nss_compat/compat-pwd.c: Likewise.
21690 * nis/nss_compat/compat-spwd.c: Likewise.
21691 * po/Makefile: Likewise.
21692 * posix/fnmatch.c: Likewise.
21693 * posix/regex.h: Likewise.
21694 * resolv/Makefile: Likewise.
21695 * resolv/nss_dns/dns-network.c: Likewise.
21696 * resolv/res_hconf.c: Likewise.
21697 * scripts/gen-sorted.awk: Likewise.
21698 * soft-fp/soft-fp.h: Likewise.
21699 * stdio-common/printf.h: Likewise.
21700 * stdlib/monetary.h: Likewise.
21701 * stdlib/random.c: Likewise.
21702 * stdlib/random_r.c: Likewise.
21703 * sysdeps/generic/Makefile: Likewise.
21704 * sysdeps/gnu/Makefile: Likewise.
21705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21733 * sysdeps/mach/hurd/errnos.awk: Likewise.
21734 * sysdeps/mach/hurd/fork.c: Likewise.
21735 * sysdeps/mach/hurd/getcwd.c: Likewise.
21736 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21737 * sysdeps/mach/hurd/mmap.c: Likewise.
21738 * sysdeps/mach/hurd/utimes.c: Likewise.
21739 * sysdeps/mach/hurd/xmknod.c: Likewise.
21740 * sysdeps/posix/profil.c: Likewise.
21741 * sysdeps/posix/readdir_r.c: Likewise.
21742 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21743 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21744 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21745 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21747 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21751 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21753 * sysdeps/pthread/lio_listio.c: Likewise.
21754 * sysdeps/sparc/dl-procinfo.h: Likewise.
21755 * sysdeps/unix/i386/sysdep.S: Likewise.
21756 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21757 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21758 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21759 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21761 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21762 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21763 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21764 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21765 * sysdeps/wordsize-32/divdi3.c: Likewise.
21766 * time/sys/time.h: Likewise.
21767 * wcsmbs/Makefile: Likewise.
21769 2013-01-01 David S. Miller <davem@davemloft.net>
21771 * po/fr.po: Update from translation team.
21773 * catgets/gencat.c: Update copyright year.
21774 * csu/version.c: Likewise.
21775 * debug/catchsegv.sh: Likewise.
21776 * debug/pcprofiledump.c: Likewise.
21777 * debug/xtrace.sh: Likewise.
21778 * elf/ldconfig.c: Likewise.
21779 * elf/ldd.bash.in: Likewise.
21780 * elf/pldd.c: Likewise.
21781 * elf/sotruss.ksh: Likewise.
21782 * elf/sprof.c: Likewise.
21783 * iconv/iconv_prog.c: Likewise.
21784 * iconv/iconvconfig.c: Likewise.
21785 * locale/programs/locale.c: Likewise.
21786 * locale/programs/localedef.c: Likewise.
21787 * login/programs/pt_chown.c: Likewise.
21788 * malloc/memusage.sh: Likewise.
21789 * malloc/memusagestat.c: Likewise.
21790 * malloc/mtrace.pl: Likewise.
21791 * nscd/nscd.c: Likewise.
21792 * nss/getent.c: Likewise.
21793 * nss/makedb.c: Likewise.
21794 * posix/getconf.c: Likewise.
21796 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21798 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21801 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21803 * math/bits/mathcalls.h (modf): Use __nonnull.
21805 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21807 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21808 (split): Use macro CN instead of the bare value.
21809 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21812 instead of the bare value.
21813 (power1): Likewise.
21815 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21821 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21823 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21825 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21826 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21828 2012-12-28 Andreas Jaeger <aj@suse.de>
21830 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21831 values are from Linux 3.7.
21833 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21834 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21836 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21838 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21841 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21843 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21844 variables with preprocessor constants.
21845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21846 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21847 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21849 2012-12-27 Bruno Haible <bruno@clisp.org>
21852 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21855 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21858 and use variable directly.
21859 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21861 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21863 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21868 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21869 include directive. Remove local variable MPONE.
21870 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21872 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21874 2012-12-25 David S. Miller <davem@davemloft.net>
21876 * version.h (RELEASE): Set to "development".
21877 (VERSION): Set to "2.17.90".
21878 * NEWS: Add 2.18 section.
21880 2012-12-21 David S. Miller <davem@davemloft.net>
21882 * po/hr.po: Update from translation team.
21884 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21886 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21888 2012-12-19 Steve Ellcey <sellcey@mips.com>
21890 * NEWS: Mention new memcpy for MIPS.
21892 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21894 * manual/contrib.texi (Contributors): Spelling correction.
21896 2012-12-15 David S. Miller <davem@davemloft.net>
21898 * po/ru.po: Update from translation team.
21900 2012-12-13 David S. Miller <davem@davemloft.net>
21902 * NEWS: Mention IFUNC testsuite enhancements.
21904 * po/pl.po: Update from translation team.
21905 * po/bg.po: Likewise.
21907 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21908 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21910 2012-12-11 David S. Miller <davem@davemloft.net>
21912 * po/sv.po: Update from translation team.
21914 * po/vi.po: Update from translation team.
21916 * po/cs.po: Update from translation team.
21918 * po/de.po: Update from translation team.
21919 * po/eo.po: Likewise.
21920 * po/nl.po: Likewise.
21922 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21925 * manual/argp.texi (Argp Helper Functions): Move node to follow
21926 Argp Parsing State.
21929 * manual/conf.texi (Limits on File System Capacity): Mention if
21930 terminating null is included in the max size.
21932 2012-12-10 Andreas Jaeger <aj@suse.de>
21934 * po/cs.po: Update from translation team.
21936 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21938 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21939 void pointer and cast to uintptr_t.
21940 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21942 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21943 * sysdeps/s390/s390-64/memset.S: Likewise.
21945 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21948 * menual/message.texi (Message Translation): Fix typos.
21949 (Helper programs for gettext): Likewise.
21951 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21954 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21957 2012-12-07 David S. Miller <davem@davemloft.net>
21959 * po/libc.pot: Update.
21961 2012-12-07 Richard Henderson <rth@redhat.com>
21964 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21965 normal/normal case to before the switch.
21966 (_FP_DIV): Likewise.
21968 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21969 Mike Frysinger <vapier@gentoo.org>
21971 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21972 check for __NR_fadvise64_64.
21974 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21976 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21977 0, not just to plain "0" as a statement.
21978 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21981 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21983 * NEWS: Use sourceware.org in Bugzilla URL.
21985 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21988 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21990 * stdio-common/tst-put-error.c (do_test): Add newline to the
21991 padded test to ensure flush.
21993 2012-12-05 Jeff Law <law@redhat.com>
21995 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21997 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21999 * README: Don't refer to ports add-on as distributed separately.
22000 Mention AArch64 in list of systems supported in the ports add-on.
22002 * LICENSES: Add more non-FSF copyright and license notices.
22004 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22007 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22009 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22010 10000 as width of padded output.
22012 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22014 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22017 variable LX with __attribute__ ((unused)).
22018 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22020 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22023 with __attribute__ ((unused)).
22025 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22027 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22029 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22031 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22032 (CFLAGS-nldbl-acos.c): New variable.
22033 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22087 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22088 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22089 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22090 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22091 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22092 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22093 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22094 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22095 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22096 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22097 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22098 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22099 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22100 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22101 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22102 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22103 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22104 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22105 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22106 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22107 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22108 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22109 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22110 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22111 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22112 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22113 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22114 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22132 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22136 whole low double instead of just low 47 bits when splitting values
22139 2012-12-03 Allan McRae <allan@archlinux.org>
22141 * manual/stdio.texi (Predefined Printf Handlers): Remove
22142 @hsep and @vsep usage.
22144 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22146 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22147 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22149 2012-12-03 Jeff Law <law@redhat.com>
22151 * time/sys/time.h (settimeofday): Do not mark TV argument
22154 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22156 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22157 when currently writing and seek to current position when not.
22158 * libio/Makefile (tests): Remove bug-fclose1.
22159 * libio/bug-fclose1.c: Delete.
22161 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22163 * manual/arith.texi (feenableexcept): Fix typo.
22164 (fedisableexcept): Likewise.
22166 2012-11-30 Roland McGrath <roland@hack.frob.com>
22168 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22169 second, differently-typed declaration, rather than a cast.
22171 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22173 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22174 * include/rpc/svc.h: ... here.
22176 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22179 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22180 depending n and resplen2 to catch cases where answer
22183 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22185 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22186 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22188 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22190 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22192 2012-11-29 Roland McGrath <roland@hack.frob.com>
22194 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22196 2012-11-28 Jeff Law <law@redhat.com>
22199 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22200 dataset_temporary. Track alloca usage into alloca_used.
22201 If dataset is large allocate and release it via malloc/free.
22203 2012-06-04 Florian Weimer <fweimer@redhat.com>
22206 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22208 2012-11-28 David S. Miller <davem@davemloft.net>
22210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22212 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22215 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22216 of pi/2 rounded to nearest to 64 bits.
22217 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22218 nearest to 64 bits.
22219 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22222 2012-11-28 Jeff Law <law@redhat.com>
22223 Martin Osvald <mosvald@redhat.com>
22226 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22227 * sunrpc/svc.c: Include time.h.
22228 (__svc_accept_failed): New function.
22229 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22230 any reason other than EINTR, call __svc_accept_failed.
22231 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22232 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22234 2012-11-28 Andreas Schwab <schwab@suse.de>
22236 * scripts/abilist.awk: Also handle indirect functions in .opd
22239 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22242 * sysdeps/x86/fpu/powl_helper.c: New file.
22243 * sysdeps/x86/fpu/Makefile: Likewise.
22244 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22246 (__ieee754_powl): Use __powl_helper for finite arguments except
22247 integer exponents below 8.
22248 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22250 (__ieee754_powl): Use __powl_helper for finite arguments except
22251 integer exponents below 8.
22252 * math/libm-test.inc (pow_test): Add more tests and enable some
22253 previously disabled tests.
22254 * sysdeps/i386/fpu/libm-test-ulps: Update.
22255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22258 Carlos O'Donell <carlos_odonell@mentor.com>
22260 * nss/makedb.c (is_prime): Assert that input is odd and greater
22261 than 4. Note that fact in a comment too.
22262 (next_prime): Add 4 to input.
22264 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22267 * libio/Makefile (tests): Add test case tst-fwrite-error.
22268 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22269 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22270 * libio/tst-fwrite-error.c: New test case.
22272 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22274 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22275 before casting to void *.
22276 * include/libc-internal.h (__pointer_type): New macro.
22277 (__integer_if_pointer_type_sub): Likewise.
22278 (__integer_if_pointer_type): Likewise.
22279 (cast_to_integer): Likewise.
22280 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22281 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22282 before casting to atomic64_t.
22283 (atomic_exchange_acq): Likewise.
22284 (__arch_exchange_and_add_body): Likewise.
22285 (__arch_add_body): Likewise.
22286 (atomic_add_negative): Likewise.
22287 (atomic_add_zero): Likewise.
22289 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22291 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22292 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22293 (add_fdes): Likewise.
22294 (linear_search_fdes): Likewise.
22295 (binary_search_unencoded_fdes): Likewise.
22297 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22299 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22301 2012-11-24 Adam Conrad <adconrad@0c3.net>
22303 * configure.in: Autodetect C++ header directories.
22304 * configure: Regenerated.
22306 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22308 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22310 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22314 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22316 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22317 LDBL_MANT_DIG == 106]: Disable some tests.
22318 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22320 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22325 input for small inputs. Return +/- pi/2 for large inputs.
22326 * math/libm-test.inc (atan_test): Add more tests.
22328 * sysdeps/generic/unwind-dw2-fde-glibc.c
22329 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22330 __attribute__ ((unused)).
22333 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22334 x * y if x and y are nonzero and z is zero.
22337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22338 nonzero exponents with absolute value below 0x1p-117 to +/-
22342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22343 up arguments below 2**-450, not just those below 2**-500.
22344 * math/libm-test.inc (hypot_test): Add another test.
22347 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22348 Return a+b for ratio over 2**120, not 2**60.
22349 * math/libm-test.inc (hypot_test): Add another test.
22351 * math/libm-test.inc (clog_test): Use
22352 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22353 (clog10_test): Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22358 2012-11-22 Andreas Schwab <schwab@suse.de>
22360 * sysdeps/i386/fpu/libm-test-ulps: Update.
22362 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22364 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22365 printf output with newline.
22367 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22370 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22371 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22372 -z nodlopen, -z initfirst and -z execstack support.
22373 * configure: Regenerated.
22375 * elf/elf.h (DF_1_NODIRECT): New macro.
22376 (DF_1_IGNMULDEF): Likewise.
22377 (DF_1_NOKSYMS): Likewise.
22378 (DF_1_NOHDR): Likewise.
22379 (DF_1_EDITED): Likewise.
22380 (DF_1_NORELOC): Likewise.
22381 (DF_1_SYMINTPOSE): Likewise.
22382 (DF_1_GLOBAUDIT): Likewise.
22383 (DF_1_SINGLETON): Likewise.
22384 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22385 DT_1_SUPPORTED_MASK bits.
22386 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22388 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22390 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22392 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22394 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22397 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22398 (sendmmsg): Move declarations...
22399 * socket/sys/socket.h: ... here.
22400 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22401 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22403 * socket/recvmmsg.c: ... this new file.
22404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22405 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22406 definition of __sendmmsg hidden.
22407 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22408 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22409 Move ENOSYS stub into and include it from...
22410 * socket/sendmmsg.c: ... this new file.
22411 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22412 (sysdep_routines): Move recvmmsg and sendmmsg...
22413 * socket/Makefile (routines): ... here.
22414 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22415 (GLIBC_PRIVATE): Add __sendmmsg.
22416 * include/sys/socket.h (__sendmmsg): Add declarations.
22417 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22420 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22423 variable I1 with __attribute__ ((unused)).
22424 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22426 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22428 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22429 DUMMY variables with __attribute__ ((unused)).
22431 * bits/byteswap.h: Include <bits/types.h>.
22432 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22434 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22436 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22437 string_t. Do not manually set errno.
22438 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22439 length with __strnlen. Make sure to both set errno and return it on
22442 2012-11-19 David S. Miller <davem@davemloft.net>
22444 With help from Joseph Myers.
22445 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22446 very large arguments properly.
22447 * math/libm-test.inc (atan_test): New tests.
22448 (atan2_test): New tests.
22449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22452 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22455 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22458 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22459 [POSIX] (EADDRNOTAVAIL): Likewise.
22460 [POSIX] (EAFNOSUPPORT): Likewise.
22461 [POSIX] (EALREADY): Likewise.
22462 [POSIX] (ECONNABORTED): Likewise.
22463 [POSIX] (ECONNREFUSED): Likewise.
22464 [POSIX] (ECONNRESET): Likewise.
22465 [POSIX] (EDESTADDRREQ): Likewise.
22466 [POSIX] (EDQUOT): Likewise.
22467 [POSIX] (EHOSTUNREACH): Likewise.
22468 [POSIX] (EIDRM): Likewise.
22469 [POSIX] (EISCONN): Likewise.
22470 [POSIX] (ELOOP): Likewise.
22471 [POSIX] (EMULTIHOP): Likewise.
22472 [POSIX] (ENETDOWN): Likewise.
22473 [POSIX] (ENETUNREACH): Likewise.
22474 [POSIX] (ENOBUFS): Likewise.
22475 [POSIX] (ENODATA): Likewise.
22476 [POSIX] (ENOLINK): Likewise.
22477 [POSIX] (ENOMSG): Likewise.
22478 [POSIX] (ENOPROTOOPT): Likewise.
22479 [POSIX] (ENOSR): Likewise.
22480 [POSIX] (ENOSTR): Likewise.
22481 [POSIX] (ENOTCONN): Likewise.
22482 [POSIX] (ENOTSOCK): Likewise.
22483 [POSIX] (EOPNOTSUPP): Likewise.
22484 [POSIX] (EOVERFLOW): Likewise.
22485 [POSIX] (EPROTO): Likewise.
22486 [POSIX] (EPROTONOSUPPORT): Likewise.
22487 [POSIX] (EPROTOTYPE): Likewise.
22488 [POSIX] (ESTALE): Likewise.
22489 [POSIX] (ETIME): Likewise.
22490 [POSIX] (ETXTBSY): Likewise.
22491 [POSIX] (EWOULDBLOCK): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22493 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22494 [POSIX] (SEEK_CUR): Likewise.
22495 [POSIX] (SEEK_END): Likewise.
22496 [POSIX || UNIX98] (mode_t): Do not require.
22497 [POSIX] (off_t): Likewise.
22498 [POSIX] (pid_t): Likewise.
22499 [POSIX] (sys/stat.h): Do not allow header.
22500 [POSIX] (unistd.h): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22502 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22504 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22506 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22507 sigevent): Specify elements.
22508 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22510 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22511 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22513 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22514 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22515 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22516 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22517 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22518 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22519 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22520 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22522 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22523 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22524 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22525 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22526 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22528 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22530 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22532 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22534 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22535 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22536 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22537 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22539 Specify lower bound on value.
22540 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22546 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22547 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22549 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22551 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22557 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22558 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22559 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22560 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22561 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22568 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22570 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22577 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22580 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22581 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22582 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22585 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22588 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22589 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22590 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22591 specify as optional.
22592 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22593 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22594 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22595 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22596 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22597 [XPG3] (NL_LANGMAX): Likewise.
22598 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22599 [POSIX || XPG3] (NL_NMAX): Likewise.
22600 [POSIX || XPG3] (NL_SETMAX): Likewise.
22601 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22602 [XPG3] (NZERO): Likewise.
22603 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22604 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22605 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22606 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22607 (REG_ERANGE): Expect.
22608 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22610 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22611 Use (void) in prototype.
22612 [POSIX] (*_t): Allow.
22613 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22614 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22615 (WRDE_BADVAL): Expect.
22617 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22619 [XPG3 || XPG4] (O_RSYNC): Likewise.
22620 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22622 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22623 [XPG3 || XPG4] (sigqueue): Likewise.
22624 [XPG3 || XPG4] (sigtimedwait): Likewise.
22625 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22626 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22627 [XPG3 || XPG4] (vsnprintf): Likewise.
22628 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22630 [XPG3 || XPG4] (blksize_t): Likewise.
22631 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22633 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22634 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22635 [XPG3 || XPG4] (struct itimerspec): Likewise.
22636 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22637 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22638 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22639 [XPG3 || XPG4] (clockid_t): Likewise.
22640 [XPG3 || XPG4] (timer_t): Likewise.
22641 [XPG3 || XPG4] (clock_getres): Likewise.
22642 [XPG3 || XPG4] (clock_gettime): Likewise.
22643 [XPG3 || XPG4] (clock_settime): Likewise.
22644 [XPG3 || XPG4] (nanosleep): Likewise.
22645 [XPG3 || XPG4] (timer_create): Likewise.
22646 [XPG3 || XPG4] (timer_delete): Likewise.
22647 [XPG3 || XPG4] (timer_gettime): Likewise.
22648 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22649 [XPG3 || XPG4] (timer_settime): Likewise.
22650 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22651 [XPG3 || XPG4] (getlogin_r): Likewise.
22652 [XPG3 || XPG4] (pread): Likewise.
22653 [XPG3 || XPG4] (pthread_atfork): Likewise.
22654 [XPG3 || XPG4] (pwrite): Likewise.
22657 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22660 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22662 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22663 finalizing MALLSTREAM.
22665 * sysdeps/mach/hurd/syncfs.c: New file.
22667 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22670 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22671 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22672 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22673 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22674 (_nss_dns_gethostbyname4_r): Likewise.
22675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22676 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22678 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22681 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22683 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22685 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22686 * elf/cache.c (print_entry): Print ",AArch64" for
22689 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22690 * elf/cache.c (print_entry): Print ",hard-float" for
22693 2012-11-18 David S. Miller <davem@davemloft.net>
22695 With help from Joseph Myers.
22696 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22698 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22700 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22701 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22703 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22704 * math/libm-test.inc (y0_test): New tests.
22705 (y1_test): New tests.
22706 * sysdeps/i386/fpu/libm-test-ulps: Update.
22707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22710 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22712 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22714 * configure: Regenerated.
22716 2012-11-17 David S. Miller <davem@davemloft.net>
22719 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22720 nonzero exponents with absolute value below 0x1p-128 to +/-
22723 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22725 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22727 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22729 * posix/getconf-speclist.c: New file.
22730 * posix/posix-envs.def: Likewise.
22731 * posix/confstr.c (START_ENV_GROUP): New macro.
22732 (END_ENV_GROUP): Likewise.
22733 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22734 (KNOWN_PRESENT_ENV_STRING): Likewise.
22735 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22736 (UNKNOWN_ENVIRONMENT): Likewise.
22737 (confstr): Include posix-envs.def instead of handling
22738 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22739 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22740 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22741 (END_ENV_GROUP): Likewise.
22742 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22743 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22744 (UNKNOWN_ENVIRONMENT): Likewise.
22745 (__sysconf): Include posix-envs.def instead of handling associated
22746 cases directly here.
22747 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22748 preprocessing getconf-speclist.c rather than running getconf or
22749 generating empty file.
22751 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22753 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22755 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22758 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22760 2012-11-16 David S. Miller <davem@davemloft.net>
22762 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22763 smaller than LDBL_EPSILON/2.0L, just return xm1.
22765 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22767 * elf/tst-array1.c (init): Set constructor priority to 1000.
22768 (fini): Set destructor priority to 1000.
22769 * elf/tst-array2dep.c: Likewise.
22771 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22774 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22775 (_IO_new_file_xsputn): Also return EOF if none of the input
22776 data was written when overflow failed.
22777 * libio/iopadn.c (_IO_padn): Likewise.
22778 * libio/iowpadn.c (_IO_wpadn): Likewise.
22779 * stdio-common/tst-put-error.c: Add copyright notice.
22780 (do_test): Add case for printing padded string.
22781 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22782 _IO_padn returned error.
22783 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22784 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22787 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22789 * libio/libioP.h: Add comment note that the references to C++
22790 bits are now obsolete.
22792 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22794 * math/libm-test.inc (check_complex): Use asprintf.
22796 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22798 * debug/pcprofiledump.c (print_version): Update copyright year.
22799 * malloc/memusagestat.c (print_version): Likewise.
22801 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22804 * elf/Makefile (tests): Add tst-audit8.
22805 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22806 ($(objpfx)tst-audit8.out): New target.
22807 (tst-audit8-ENV): New variable.
22808 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22809 audit if l_reloc_result is NULL.
22810 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22811 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22812 * elf/tst-audit8.c: New file.
22814 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22816 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22817 * misc/Makefile (CFLAGS-select.c): Define.
22818 * posix/Makefile (CFLAGS-pause.c): Define.
22820 2012-11-13 David S. Miller <davem@davemloft.net>
22822 * crypt/Makefile: Move test targets after toplevel Rules
22823 inclusion. Grab any necessary sysdep routines when linking.
22824 * crypt/md5.c (md5_process_block): Remove define, we will always
22825 name it __md5_process_block.
22826 (md5_finish_ctx): Update md5_process_block call.
22827 (md5_stream): Likewise.
22828 (md5_process_bytes): Likewise.
22829 (md5_process_block): Rename to __md5_process_block and move to ...
22830 * crypt/md5-block.c: ... here.
22831 * crypt/sha256.c (sha256_process_block): Move to ...
22832 * crypt/sha256-block.c: ... here.
22833 * crypt/sha512.c (sha512_process_block): Move to ...
22834 * crypt/sha512-block.c: ... here.
22835 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22837 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22838 * sysdeps/sparc/sparc64/multiarch/Makefile
22839 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22841 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22844 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22845 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22846 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22847 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22848 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22849 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22850 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22851 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22852 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22854 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22855 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22857 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22859 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22861 * timezone/tzselect.ksh: Update from tzcode git revision
22862 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22863 * timezone/zdump.c: Likewise.
22864 * timezone/zic.c: Likewise.
22865 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22866 in TZVERSION setting, not $(PKGVERSION).
22867 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22868 REPORT_BUGS_TO settings.
22871 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22874 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22876 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22877 detection to immediately after _FP_ROUND().
22878 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22881 2012-11-11 David S. Miller <davem@davemloft.net>
22883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22885 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22886 __close rather than their public counterparts.
22888 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22890 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22892 [UNIX98] (sem_timedwait): Do not expect.
22893 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22894 [XPG4 || UNIX98] (sockatmark): Do not expect.
22895 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22896 (clock_getcpuclockid): Do not expect.
22897 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22898 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22900 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22901 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22902 [UNIX98] (vwscanf): Likewise.
22903 [UNIX98] (vswscanf): Likewise.
22905 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22907 * timezone/version.h: Remove file.
22908 * timezone/README: Do not refer to version.h.
22909 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22910 $(objpfx)version.h.
22911 ($(objpfx)zdump.o): Likewise.
22912 ($(objpfx)version.h): New target.
22914 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22916 * timezone/README: Don't mention modification to tzselect.ksh.
22917 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22918 work on unmodified tzselect.ksh. Substitute version numbers in
22921 * Makefile (format-me): Remove.
22922 (INSTALL): Adjust indentation. Use commands directly instead of
22923 using $(format-me).
22925 * aclocal.m4 (ACX_PKGVERSION): New macro.
22926 (ACX_BUGURL): Likewise.
22927 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22928 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22929 (REPORT_BUGS_TO): Likewise.
22930 * configure: Regenerated.
22931 * config.h.in (PKGVERSION): New macro.
22932 (REPORT_BUGS_TO): Likewise.
22933 * config.make.in (PKGVERSION): New variable.
22934 (PKGVERSION_TEXI): Likewise.
22935 (REPORT_BUGS_TO): Likewise.
22936 (REPORT_BUGS_TEXI): Likewise.
22937 * Makefile (format-me): Use -I$(common-objpfx)manual.
22938 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22939 ($(common-objpfx)manual/%): New target.
22940 (manual/%): Remove target.
22941 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22942 (print_version): Use PKGVERSION.
22943 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22944 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22945 and REPORT_BUGS_TO.
22946 ($(objpfx)xtrace): Likewise.
22947 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22948 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22949 (print_version): Use PKGVERSION.
22950 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22951 (do_version): Use PKGVERSION.
22952 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22954 (common-ldd-rewrite): Likewise.
22955 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22956 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22957 (print_version): Use PKGVERSION.
22958 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22959 * elf/pldd.c (argp_program_bug_address): Remove variable.
22960 (more_help): New function.
22961 (argp): Use more_help.
22962 (print_version): Use PKGVERSION.
22963 * elf/sln.c (main): Use PKGVERSION.
22964 (usage): Use REPORT_BUGS_TO.
22965 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22966 (top level): Use PKGVERSION.
22967 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22968 (print_version): Use PKGVERSION.
22969 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22970 (print_version): Use PKGVERSION.
22971 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22972 (print_version): Use PKGVERSION.
22973 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22974 (print_version): Use PKGVERSION.
22975 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22976 (print_version): Use PKGVERSION.
22977 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22978 (print_version): Use PKGVERSION.
22979 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22981 ($(objpfx)memusage): Likewise.
22982 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22983 (do_version): Use PKGVERSION.
22984 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22985 (print_version): Use PKGVERSION.
22986 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22987 ($PKGVERSION): New variable.
22988 ($REPORT_BUGS_TO): Likewise.
22989 (usage): Use $REPORT_BUGS_TO.
22990 (top level): Use $PKGVERSION.
22991 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22992 ($(objpfx)pkgvers.texi): New rule.
22993 ($(objpfx)stamp-pkgvers): Likewise.
22994 * manual/install.texi: Include pkgvers.texi.
22995 (--with-pkgversion): Document new configure option.
22996 (--with-bugurl): Likewise.
22997 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22998 than necessarily for this particular distribution. Use
22999 REPORT_BUGS_TO for where to report bugs.
23000 * INSTALL: Regenerated.
23001 * manual/libc.texinfo: Include pkgvers.texi.
23002 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23003 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23004 (print_version): Use PKGVERSION.
23005 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23006 (print_version): Use PKGVERSION.
23007 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23008 (print_version): Use PKGVERSION.
23009 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23010 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23012 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23013 (print_version): Use PKGVERSION.
23014 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23015 (print_version): Use PKGVERSION.
23016 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23019 * timezone/checktab.awk: Update from tzcode 2012i.
23020 * timezone/ialloc.c: Likewise.
23021 * timezone/private.h: Likewise.
23022 * timezone/scheck.c: Likewise.
23023 * timezone/tzfile.h: Likewise.
23024 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23025 (TZVERSION): Hardcode tzcode version number.
23026 * timezone/zdump.c: Update from tzcode 2012i.
23027 * timezone/zic.c: Likewise.
23028 * timezone/version.h: New file.
23029 * timezone/README: Describe version.h. Update upstream location.
23032 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23033 (mktemp): Enable declaration.
23034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23051 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23052 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23053 for copies of such integer values.
23054 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23055 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23057 2012-11-09 Andreas Jaeger <aj@suse.de>
23059 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23060 definitions and declarations that are provided by
23061 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23063 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23065 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23066 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23067 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23070 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23072 * elf/elf.h: Update comment before AArch64 relocations.
23074 2012-11-07 David S. Miller <davem@davemloft.net>
23076 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23077 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23078 (__start_context): Declare.
23079 (__makecontext_ret): Delete.
23080 (__makecontext): Hook up __start_context instead of
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23083 (sysdep_routines): Add __start_context when in stdlib.
23085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23087 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23088 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23089 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23091 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23092 (READELF): New variable. Use it instead of hardcoded "readelf".
23094 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23096 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23097 * sysdeps/x86/Makefile: Here.
23098 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23099 * sysdeps/x86/tst-xmmymm.sh: This.
23101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23103 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23105 [UNIX98] (pthread_barrier_t): Do not expect.
23106 [UNIX98] (pthread_barrierattr_t): Likewise.
23107 [UNIX98] (pthread_spinlock_t): Likewise.
23108 [UNIX98] (pthread_barrier_destroy): Likewise.
23109 [UNIX98] (pthread_barrier_init): Likewise.
23110 [UNIX98] (pthread_barrier_wait): Likewise.
23111 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23112 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23113 [UNIX98] (pthread_barrierattr_init): Likewise.
23114 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23115 [UNIX98] (pthread_getcpuclockid): Likewise.
23116 [UNIX98] (pthread_mutex_timedlock): Likewise.
23117 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23118 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23119 [UNIX98] (pthread_sigmask): Likewise.
23120 [UNIX98] (pthread_spin_destroy): Likewise.
23121 [UNIX98] (pthread_spin_init): Likewise.
23122 [UNIX98] (pthread_spin_lock): Likewise.
23123 [UNIX98] (pthread_spin_trylock): Likewise.
23124 [UNIX98] (pthread_spin_unlock): Likewise.
23125 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23127 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23128 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23129 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23130 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23131 [XPG3 || XPG4] (pthread_key_t): Likewise.
23132 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23133 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23134 [XPG3 || XPG4] (pthread_once_t): Likewise.
23135 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23136 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23138 [XPG3 || XPG4] (pthread_t): Likewise.
23140 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23142 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23144 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23145 Change function return type to int.
23147 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23148 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23149 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23150 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23151 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23152 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23153 [!POSIX] (posix_madvise): Likewise.
23154 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23156 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23157 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23158 (mode_t): Likewise.
23159 (posix_mem_offset): Likewise.
23160 (posix_typed_mem_get_info): Likewise.
23161 (posix_typed_mem_open): Likewise.
23163 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23164 Change condition to [XOPEN2K8].
23166 * conform/conformtest.pl: Preprocess allow-header data with -x c
23167 instead of from stdin.
23168 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23169 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23170 [C99-based standards] (cerfc): Likewise.
23171 [C99-based standards] (cexp2): Likewise.
23172 [C99-based standards] (cexpm1): Likewise.
23173 [C99-based standards] (clog10): Likewise.
23174 [C99-based standards] (clog1p): Likewise.
23175 [C99-based standards] (clog2): Likewise.
23176 [C99-based standards] (clgamma): Likewise.
23177 [C99-based standards] (ctgamma): Likewise.
23178 [C99-based standards] (cerff): Likewise.
23179 [C99-based standards] (cerfcf): Likewise.
23180 [C99-based standards] (cexp2f): Likewise.
23181 [C99-based standards] (cexpm1f): Likewise.
23182 [C99-based standards] (clog10f): Likewise.
23183 [C99-based standards] (clog1pf): Likewise.
23184 [C99-based standards] (clog2f): Likewise.
23185 [C99-based standards] (clgammaf): Likewise.
23186 [C99-based standards] (ctgammaf): Likewise.
23187 [C99-based standards] (cerfl): Likewise.
23188 [C99-based standards] (cerfcl): Likewise.
23189 [C99-based standards] (cexp2l): Likewise.
23190 [C99-based standards] (cexpm1l): Likewise.
23191 [C99-based standards] (clog10l): Likewise.
23192 [C99-based standards] (clog1pl): Likewise.
23193 [C99-based standards] (clog2l): Likewise.
23194 [C99-based standards] (clgammal): Likewise.
23195 [C99-based standards] (ctgammal): Likewise.
23196 * conform/data/inttypes.h-data [C99-based standards]: Include
23197 stdint.h-data. Remove all expectations for stdint.h contents.
23198 [C99-based standards] (PRI*): Do not allow.
23199 [C99-based standards] (SCN*): Likewise.
23200 [C99-based standards] (*_t): Likewise.
23201 [C99-based-standards] (PRId8): Expect macro.
23202 [C99-based-standards] (PRIi8): Likewise.
23203 [C99-based-standards] (PRIo8): Likewise.
23204 [C99-based-standards] (PRIu8): Likewise.
23205 [C99-based-standards] (PRIx8): Likewise.
23206 [C99-based-standards] (PRIX8): Likewise.
23207 [C99-based-standards] (SCNd8): Likewise.
23208 [C99-based-standards] (SCNi8): Likewise.
23209 [C99-based-standards] (SCNo8): Likewise.
23210 [C99-based-standards] (SCNu8): Likewise.
23211 [C99-based-standards] (SCNx8): Likewise.
23212 [C99-based-standards] (PRIdLEAST8): Likewise.
23213 [C99-based-standards] (PRIiLEAST8): Likewise.
23214 [C99-based-standards] (PRIoLEAST8): Likewise.
23215 [C99-based-standards] (PRIuLEAST8): Likewise.
23216 [C99-based-standards] (PRIxLEAST8): Likewise.
23217 [C99-based-standards] (PRIXLEAST8): Likewise.
23218 [C99-based-standards] (SCNdLEAST8): Likewise.
23219 [C99-based-standards] (SCNiLEAST8): Likewise.
23220 [C99-based-standards] (SCNoLEAST8): Likewise.
23221 [C99-based-standards] (SCNuLEAST8): Likewise.
23222 [C99-based-standards] (SCNxLEAST8): Likewise.
23223 [C99-based-standards] (PRIdFAST8): Likewise.
23224 [C99-based-standards] (PRIiFAST8): Likewise.
23225 [C99-based-standards] (PRIoFAST8): Likewise.
23226 [C99-based-standards] (PRIuFAST8): Likewise.
23227 [C99-based-standards] (PRIxFAST8): Likewise.
23228 [C99-based-standards] (PRIXFAST8): Likewise.
23229 [C99-based-standards] (SCNdFAST8): Likewise.
23230 [C99-based-standards] (SCNiFAST8): Likewise.
23231 [C99-based-standards] (SCNoFAST8): Likewise.
23232 [C99-based-standards] (SCNuFAST8): Likewise.
23233 [C99-based-standards] (SCNxFAST8): Likewise.
23234 [C99-based-standards] (PRId16): Likewise.
23235 [C99-based-standards] (PRIi16): Likewise.
23236 [C99-based-standards] (PRIo16): Likewise.
23237 [C99-based-standards] (PRIu16): Likewise.
23238 [C99-based-standards] (PRIx16): Likewise.
23239 [C99-based-standards] (PRIX16): Likewise.
23240 [C99-based-standards] (SCNd16): Likewise.
23241 [C99-based-standards] (SCNi16): Likewise.
23242 [C99-based-standards] (SCNo16): Likewise.
23243 [C99-based-standards] (SCNu16): Likewise.
23244 [C99-based-standards] (SCNx16): Likewise.
23245 [C99-based-standards] (PRIdLEAST16): Likewise.
23246 [C99-based-standards] (PRIiLEAST16): Likewise.
23247 [C99-based-standards] (PRIoLEAST16): Likewise.
23248 [C99-based-standards] (PRIuLEAST16): Likewise.
23249 [C99-based-standards] (PRIxLEAST16): Likewise.
23250 [C99-based-standards] (PRIXLEAST16): Likewise.
23251 [C99-based-standards] (SCNdLEAST16): Likewise.
23252 [C99-based-standards] (SCNiLEAST16): Likewise.
23253 [C99-based-standards] (SCNoLEAST16): Likewise.
23254 [C99-based-standards] (SCNuLEAST16): Likewise.
23255 [C99-based-standards] (SCNxLEAST16): Likewise.
23256 [C99-based-standards] (PRIdFAST16): Likewise.
23257 [C99-based-standards] (PRIiFAST16): Likewise.
23258 [C99-based-standards] (PRIoFAST16): Likewise.
23259 [C99-based-standards] (PRIuFAST16): Likewise.
23260 [C99-based-standards] (PRIxFAST16): Likewise.
23261 [C99-based-standards] (PRIXFAST16): Likewise.
23262 [C99-based-standards] (SCNdFAST16): Likewise.
23263 [C99-based-standards] (SCNiFAST16): Likewise.
23264 [C99-based-standards] (SCNoFAST16): Likewise.
23265 [C99-based-standards] (SCNuFAST16): Likewise.
23266 [C99-based-standards] (SCNxFAST16): Likewise.
23267 [C99-based-standards] (PRId32): Likewise.
23268 [C99-based-standards] (PRIi32): Likewise.
23269 [C99-based-standards] (PRIo32): Likewise.
23270 [C99-based-standards] (PRIu32): Likewise.
23271 [C99-based-standards] (PRIx32): Likewise.
23272 [C99-based-standards] (PRIX32): Likewise.
23273 [C99-based-standards] (SCNd32): Likewise.
23274 [C99-based-standards] (SCNi32): Likewise.
23275 [C99-based-standards] (SCNo32): Likewise.
23276 [C99-based-standards] (SCNu32): Likewise.
23277 [C99-based-standards] (SCNx32): Likewise.
23278 [C99-based-standards] (PRIdLEAST32): Likewise.
23279 [C99-based-standards] (PRIiLEAST32): Likewise.
23280 [C99-based-standards] (PRIoLEAST32): Likewise.
23281 [C99-based-standards] (PRIuLEAST32): Likewise.
23282 [C99-based-standards] (PRIxLEAST32): Likewise.
23283 [C99-based-standards] (PRIXLEAST32): Likewise.
23284 [C99-based-standards] (SCNdLEAST32): Likewise.
23285 [C99-based-standards] (SCNiLEAST32): Likewise.
23286 [C99-based-standards] (SCNoLEAST32): Likewise.
23287 [C99-based-standards] (SCNuLEAST32): Likewise.
23288 [C99-based-standards] (SCNxLEAST32): Likewise.
23289 [C99-based-standards] (PRIdFAST32): Likewise.
23290 [C99-based-standards] (PRIiFAST32): Likewise.
23291 [C99-based-standards] (PRIoFAST32): Likewise.
23292 [C99-based-standards] (PRIuFAST32): Likewise.
23293 [C99-based-standards] (PRIxFAST32): Likewise.
23294 [C99-based-standards] (PRIXFAST32): Likewise.
23295 [C99-based-standards] (SCNdFAST32): Likewise.
23296 [C99-based-standards] (SCNiFAST32): Likewise.
23297 [C99-based-standards] (SCNoFAST32): Likewise.
23298 [C99-based-standards] (SCNuFAST32): Likewise.
23299 [C99-based-standards] (SCNxFAST32): Likewise.
23300 [C99-based-standards] (PRId64): Likewise.
23301 [C99-based-standards] (PRIi64): Likewise.
23302 [C99-based-standards] (PRIo64): Likewise.
23303 [C99-based-standards] (PRIu64): Likewise.
23304 [C99-based-standards] (PRIx64): Likewise.
23305 [C99-based-standards] (PRIX64): Likewise.
23306 [C99-based-standards] (SCNd64): Likewise.
23307 [C99-based-standards] (SCNi64): Likewise.
23308 [C99-based-standards] (SCNo64): Likewise.
23309 [C99-based-standards] (SCNu64): Likewise.
23310 [C99-based-standards] (SCNx64): Likewise.
23311 [C99-based-standards] (PRIdLEAST64): Likewise.
23312 [C99-based-standards] (PRIiLEAST64): Likewise.
23313 [C99-based-standards] (PRIoLEAST64): Likewise.
23314 [C99-based-standards] (PRIuLEAST64): Likewise.
23315 [C99-based-standards] (PRIxLEAST64): Likewise.
23316 [C99-based-standards] (PRIXLEAST64): Likewise.
23317 [C99-based-standards] (SCNdLEAST64): Likewise.
23318 [C99-based-standards] (SCNiLEAST64): Likewise.
23319 [C99-based-standards] (SCNoLEAST64): Likewise.
23320 [C99-based-standards] (SCNuLEAST64): Likewise.
23321 [C99-based-standards] (SCNxLEAST64): Likewise.
23322 [C99-based-standards] (PRIdFAST64): Likewise.
23323 [C99-based-standards] (PRIiFAST64): Likewise.
23324 [C99-based-standards] (PRIoFAST64): Likewise.
23325 [C99-based-standards] (PRIuFAST64): Likewise.
23326 [C99-based-standards] (PRIxFAST64): Likewise.
23327 [C99-based-standards] (PRIXFAST64): Likewise.
23328 [C99-based-standards] (SCNdFAST64): Likewise.
23329 [C99-based-standards] (SCNiFAST64): Likewise.
23330 [C99-based-standards] (SCNoFAST64): Likewise.
23331 [C99-based-standards] (SCNuFAST64): Likewise.
23332 [C99-based-standards] (SCNxFAST64): Likewise.
23333 [C99-based-standards] (PRIdMAX): Likewise.
23334 [C99-based-standards] (PRIiMAX): Likewise.
23335 [C99-based-standards] (PRIoMAX): Likewise.
23336 [C99-based-standards] (PRIuMAX): Likewise.
23337 [C99-based-standards] (PRIxMAX): Likewise.
23338 [C99-based-standards] (PRIXMAX): Likewise.
23339 [C99-based-standards] (SCNdMAX): Likewise.
23340 [C99-based-standards] (SCNiMAX): Likewise.
23341 [C99-based-standards] (SCNoMAX): Likewise.
23342 [C99-based-standards] (SCNuMAX): Likewise.
23343 [C99-based-standards] (SCNxMAX): Likewise.
23344 [C99-based-standards] (PRIdPTR): Likewise.
23345 [C99-based-standards] (PRIiPTR): Likewise.
23346 [C99-based-standards] (PRIoPTR): Likewise.
23347 [C99-based-standards] (PRIuPTR): Likewise.
23348 [C99-based-standards] (PRIxPTR): Likewise.
23349 [C99-based-standards] (PRIXPTR): Likewise.
23350 [C99-based-standards] (SCNdPTR): Likewise.
23351 [C99-based-standards] (SCNiPTR): Likewise.
23352 [C99-based-standards] (SCNoPTR): Likewise.
23353 [C99-based-standards] (SCNuPTR): Likewise.
23354 [C99-based-standards] (SCNxPTR): Likewise.
23355 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23357 * conform/data/stdint.h-data: Update comments to clarify
23359 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23361 [C99-based standards] (INT8_MAX): Likewise.
23362 [C99-based standards] (INT16_MIN): Likewise.
23363 [C99-based standards] (INT16_MAX): Likewise.
23364 [C99-based standards] (INT32_MIN): Likewise.
23365 [C99-based standards] (INT32_MAX): Likewise.
23366 [C99-based standards] (INT64_MIN): Likewise.
23367 [C99-based standards] (INT64_MAX): Likewise.
23368 [C99-based standards] (UINT8_MAX): Likewise.
23369 [C99-based standards] (UINT16_MAX): Likewise.
23370 [C99-based standards] (UINT32_MAX): Likewise.
23371 [C99-based standards] (UINT64_MAX): Likewise.
23372 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23373 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23374 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23375 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23376 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23377 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23378 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23379 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23380 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23381 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23382 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23383 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23384 [C99-based standards] (INT_FAST8_MIN): Likewise.
23385 [C99-based standards] (INT_FAST8_MAX): Likewise.
23386 [C99-based standards] (INT_FAST16_MIN): Likewise.
23387 [C99-based standards] (INT_FAST16_MAX): Likewise.
23388 [C99-based standards] (INT_FAST32_MIN): Likewise.
23389 [C99-based standards] (INT_FAST32_MAX): Likewise.
23390 [C99-based standards] (INT_FAST64_MIN): Likewise.
23391 [C99-based standards] (INT_FAST64_MAX): Likewise.
23392 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23393 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23394 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23395 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23396 [C99-based standards] (INTPTR_MIN): Likewise.
23397 [C99-based standards] (INTPTR_MAX): Likewise.
23398 [C99-based standards] (UINTPTR_MAX): Likewise.
23399 [C99-based standards] (INTMAX_MIN): Likewise.
23400 [C99-based standards] (INTMAX_MAX): Likewise.
23401 [C99-based standards] (UINTMAX_MAX): Likewise.
23402 [C99-based standards] (PTRDIFF_MIN): Likewise.
23403 [C99-based standards] (PTRDIFF_MAX): Likewise.
23404 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23405 [C99-based standards] (SIZE_MAX): Likewise.
23406 [C99-based standards] (WCHAR_MAX): Likewise.
23407 [C99-based standards] (WINT_MAX): Likewise.
23408 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23409 constraint on value.
23410 [C99-based standards] (WCHAR_MIN): Likewise.
23411 [C99-based standards] (WINT_MIN): Likewise.
23412 [C99-based standards] (*_t): Allow.
23413 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23414 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23415 Include math.h-data and complex.h-data. Remove all expectations
23416 of math.h and complex.h contents.
23417 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23419 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23420 (struct tm): Expect tag.
23421 [C99-based-standards] (wcstof): Expect function.
23422 [C99-based-standards] (wcstold): Likewise.
23423 [C99-based-standards] (wcstoll): Likewise.
23424 [C99-based-standards] (wcstoull): Likewise.
23425 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23426 macro-int-constant. Specify type.
23427 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23428 constraint on value.
23429 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23431 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23433 [ISO C standards]: Do not allow headers.
23434 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23435 wcs[abcdefghijklmnopqrstuvwxyz]*.
23436 [ISO C standards] (*_t): Do not allow.
23437 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23439 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23440 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23442 [ISO C standards]: Do not allow headers.
23443 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23444 is[abcdefghijklmnopqrstuvwxyz]*.
23445 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23446 to[abcdefghijklmnopqrstuvwxyz]*.
23447 [ISO C standards] (*_t): Do not allow.
23448 * conform/data/stdalign.h-data: New file.
23449 * conform/data/stdbool.h-data: Likewise.
23450 * conform/data/stdnoreturn.h-data: Likewise.
23452 2012-11-07 Roland McGrath <roland@hack.frob.com>
23455 * manual/filesys.texi (Directory Entries): Typo fix.
23456 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23458 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23460 * elf/elf.h (EM_AARCH64): New macro.
23461 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23462 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23463 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23464 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23465 (R_AARCH64_TLSDESC): Likewise.
23466 (NT_ARM_TLS): Likewise.
23467 (NT_ARM_HW_BREAK): Likewise.
23468 (NT_ARM_HW_WATCH): Likewise.
23470 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23473 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23474 (__ieee754_powl): Saturate nonzero exponents with absolute value
23475 below 0x1p-79 to +/- 0x1p-79.
23476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23477 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23478 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23479 nonzero exponents with absolute value below 0x1p-32 to +/-
23481 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23482 (__ieee754_powl): Saturate nonzero exponents with absolute value
23483 below 0x1p-79 to +/- 0x1p-79.
23484 * math/libm-test.inc (pow_test): Add more tests.
23486 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23488 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23489 _dl_s390_cap_flags with kernel. Increase string length.
23490 (_dl_s390_platforms): Add z196 and zEC12.
23492 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23494 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23495 Change XOPEN21K to XOPEN2K.
23497 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23499 * string/memmove.c: Use memcpy when possible.
23501 2012-11-06 Andreas Jaeger <aj@suse.de>
23503 * po/eo.po: Update from translation team.
23505 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23509 exponent and small x and y exponents, scale x or y up. Increase
23510 by 2 the exponent used in scaling up.
23511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23513 * math/libm-test.inc (fma_test): Add more tests.
23514 (fma_test_towardzero): Likewise.
23515 (fma_test_downward): Likewise.
23516 (fma_test_upward): Likewise.
23518 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23521 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23525 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23526 namespace for names of struct fields.
23527 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23529 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23530 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23532 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23535 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23537 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23539 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23543 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23546 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23550 definitely overflow as x * y not x * y + z.
23551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23553 * math/libm-test.inc (fma_test): Add more tests.
23554 (fma_test_towardzero): Likewise.
23555 (fma_test_downward): Likewise.
23556 (fma_test_upward): Likewise.
23558 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23562 * include/stub-tag.h: Remove file.
23563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23565 * manual/maint.texi (Porting): Don't reference it.
23566 * Makerules ($(objpfx)stubs): Likewise.
23567 * dirent/closedir.c: Don't include <stub-tag.h>.
23568 * dirent/dirfd.c: Likewise.
23569 * dirent/fdopendir.c: Likewise.
23570 * dirent/getdents.c: Likewise.
23571 * dirent/getdents64.c: Likewise.
23572 * dirent/opendir.c: Likewise.
23573 * dirent/readdir.c: Likewise.
23574 * dirent/readdir64.c: Likewise.
23575 * dirent/readdir64_r.c: Likewise.
23576 * dirent/readdir_r.c: Likewise.
23577 * dirent/rewinddir.c: Likewise.
23578 * dirent/seekdir.c: Likewise.
23579 * dirent/telldir.c: Likewise.
23580 * gmon/profil.c: Likewise.
23581 * grp/setgroups.c: Likewise.
23582 * inet/if_index.c: Likewise.
23583 * io/access.c: Likewise.
23584 * io/chdir.c: Likewise.
23585 * io/chmod.c: Likewise.
23586 * io/chown.c: Likewise.
23587 * io/close.c: Likewise.
23588 * io/dup.c: Likewise.
23589 * io/dup2.c: Likewise.
23590 * io/dup3.c: Likewise.
23591 * io/euidaccess.c: Likewise.
23592 * io/faccessat.c: Likewise.
23593 * io/fchdir.c: Likewise.
23594 * io/fchmod.c: Likewise.
23595 * io/fchmodat.c: Likewise.
23596 * io/fchown.c: Likewise.
23597 * io/fchownat.c: Likewise.
23598 * io/fcntl.c: Likewise.
23599 * io/flock.c: Likewise.
23600 * io/fstatfs.c: Likewise.
23601 * io/fstatfs64.c: Likewise.
23602 * io/fstatvfs.c: Likewise.
23603 * io/fstatvfs64.c: Likewise.
23604 * io/futimens.c: Likewise.
23605 * io/fxstat.c: Likewise.
23606 * io/fxstat64.c: Likewise.
23607 * io/fxstatat.c: Likewise.
23608 * io/fxstatat64.c: Likewise.
23609 * io/getcwd.c: Likewise.
23610 * io/isatty.c: Likewise.
23611 * io/lchmod.c: Likewise.
23612 * io/lchown.c: Likewise.
23613 * io/link.c: Likewise.
23614 * io/linkat.c: Likewise.
23615 * io/lseek.c: Likewise.
23616 * io/lseek64.c: Likewise.
23617 * io/lxstat64.c: Likewise.
23618 * io/mkdir.c: Likewise.
23619 * io/mkdirat.c: Likewise.
23620 * io/mkfifo.c: Likewise.
23621 * io/mkfifoat.c: Likewise.
23622 * io/open.c: Likewise.
23623 * io/open64.c: Likewise.
23624 * io/openat.c: Likewise.
23625 * io/openat64.c: Likewise.
23626 * io/pipe.c: Likewise.
23627 * io/pipe2.c: Likewise.
23628 * io/poll.c: Likewise.
23629 * io/posix_fadvise.c: Likewise.
23630 * io/posix_fadvise64.c: Likewise.
23631 * io/posix_fallocate.c: Likewise.
23632 * io/posix_fallocate64.c: Likewise.
23633 * io/read.c: Likewise.
23634 * io/readlink.c: Likewise.
23635 * io/readlinkat.c: Likewise.
23636 * io/rmdir.c: Likewise.
23637 * io/sendfile.c: Likewise.
23638 * io/sendfile64.c: Likewise.
23639 * io/statfs.c: Likewise.
23640 * io/statfs64.c: Likewise.
23641 * io/statvfs.c: Likewise.
23642 * io/statvfs64.c: Likewise.
23643 * io/symlink.c: Likewise.
23644 * io/symlinkat.c: Likewise.
23645 * io/ttyname.c: Likewise.
23646 * io/ttyname_r.c: Likewise.
23647 * io/umask.c: Likewise.
23648 * io/unlink.c: Likewise.
23649 * io/unlinkat.c: Likewise.
23650 * io/utime.c: Likewise.
23651 * io/utimensat.c: Likewise.
23652 * io/write.c: Likewise.
23653 * io/xmknod.c: Likewise.
23654 * io/xmknodat.c: Likewise.
23655 * io/xstat.c: Likewise.
23656 * io/xstat64.c: Likewise.
23657 * login/getpt.c: Likewise.
23658 * login/grantpt.c: Likewise.
23659 * login/unlockpt.c: Likewise.
23660 * math/e_acoshl.c: Likewise.
23661 * math/e_acosl.c: Likewise.
23662 * math/e_asinl.c: Likewise.
23663 * math/e_atan2l.c: Likewise.
23664 * math/e_atanhl.c: Likewise.
23665 * math/e_coshl.c: Likewise.
23666 * math/e_expl.c: Likewise.
23667 * math/e_fmodl.c: Likewise.
23668 * math/e_gammal_r.c: Likewise.
23669 * math/e_hypotl.c: Likewise.
23670 * math/e_j0l.c: Likewise.
23671 * math/e_j1l.c: Likewise.
23672 * math/e_jnl.c: Likewise.
23673 * math/e_lgammal_r.c: Likewise.
23674 * math/e_log10l.c: Likewise.
23675 * math/e_log2l.c: Likewise.
23676 * math/e_logl.c: Likewise.
23677 * math/e_powl.c: Likewise.
23678 * math/e_rem_pio2l.c: Likewise.
23679 * math/e_sinhl.c: Likewise.
23680 * math/e_sqrtl.c: Likewise.
23681 * math/fclrexcpt.c: Likewise.
23682 * math/fedisblxcpt.c: Likewise.
23683 * math/feenablxcpt.c: Likewise.
23684 * math/fegetenv.c: Likewise.
23685 * math/fegetexcept.c: Likewise.
23686 * math/fegetround.c: Likewise.
23687 * math/feholdexcpt.c: Likewise.
23688 * math/fesetenv.c: Likewise.
23689 * math/fesetround.c: Likewise.
23690 * math/feupdateenv.c: Likewise.
23691 * math/fgetexcptflg.c: Likewise.
23692 * math/fraiseexcpt.c: Likewise.
23693 * math/fsetexcptflg.c: Likewise.
23694 * math/ftestexcept.c: Likewise.
23695 * math/k_cosl.c: Likewise.
23696 * math/k_rem_pio2l.c: Likewise.
23697 * math/k_sinl.c: Likewise.
23698 * math/k_tanl.c: Likewise.
23699 * math/s_asinhl.c: Likewise.
23700 * math/s_atanl.c: Likewise.
23701 * math/s_cbrtl.c: Likewise.
23702 * math/s_erfl.c: Likewise.
23703 * math/s_expm1l.c: Likewise.
23704 * math/s_log1pl.c: Likewise.
23705 * math/s_tanhl.c: Likewise.
23706 * misc/acct.c: Likewise.
23707 * misc/brk.c: Likewise.
23708 * misc/chflags.c: Likewise.
23709 * misc/chroot.c: Likewise.
23710 * misc/fchflags.c: Likewise.
23711 * misc/fgetxattr.c: Likewise.
23712 * misc/flistxattr.c: Likewise.
23713 * misc/fremovexattr.c: Likewise.
23714 * misc/fsetxattr.c: Likewise.
23715 * misc/fsync.c: Likewise.
23716 * misc/ftruncate.c: Likewise.
23717 * misc/futimes.c: Likewise.
23718 * misc/futimesat.c: Likewise.
23719 * misc/getdomain.c: Likewise.
23720 * misc/getdtsz.c: Likewise.
23721 * misc/gethostid.c: Likewise.
23722 * misc/gethostname.c: Likewise.
23723 * misc/getloadavg.c: Likewise.
23724 * misc/getpagesize.c: Likewise.
23725 * misc/getsysstats.c: Likewise.
23726 * misc/getxattr.c: Likewise.
23727 * misc/gtty.c: Likewise.
23728 * misc/ioctl.c: Likewise.
23729 * misc/lgetxattr.c: Likewise.
23730 * misc/listxattr.c: Likewise.
23731 * misc/llistxattr.c: Likewise.
23732 * misc/lremovexattr.c: Likewise.
23733 * misc/lsetxattr.c: Likewise.
23734 * misc/lutimes.c: Likewise.
23735 * misc/madvise.c: Likewise.
23736 * misc/mincore.c: Likewise.
23737 * misc/mlock.c: Likewise.
23738 * misc/mlockall.c: Likewise.
23739 * misc/mmap.c: Likewise.
23740 * misc/mprotect.c: Likewise.
23741 * misc/msync.c: Likewise.
23742 * misc/munlock.c: Likewise.
23743 * misc/munlockall.c: Likewise.
23744 * misc/munmap.c: Likewise.
23745 * misc/preadv.c: Likewise.
23746 * misc/preadv64.c: Likewise.
23747 * misc/ptrace.c: Likewise.
23748 * misc/pwritev.c: Likewise.
23749 * misc/pwritev64.c: Likewise.
23750 * misc/readv.c: Likewise.
23751 * misc/reboot.c: Likewise.
23752 * misc/remap_file_pages.c: Likewise.
23753 * misc/removexattr.c: Likewise.
23754 * misc/revoke.c: Likewise.
23755 * misc/select.c: Likewise.
23756 * misc/setdomain.c: Likewise.
23757 * misc/setegid.c: Likewise.
23758 * misc/seteuid.c: Likewise.
23759 * misc/sethostid.c: Likewise.
23760 * misc/sethostname.c: Likewise.
23761 * misc/setregid.c: Likewise.
23762 * misc/setreuid.c: Likewise.
23763 * misc/setxattr.c: Likewise.
23764 * misc/sstk.c: Likewise.
23765 * misc/stty.c: Likewise.
23766 * misc/swapoff.c: Likewise.
23767 * misc/swapon.c: Likewise.
23768 * misc/sync.c: Likewise.
23769 * misc/syncfs.c: Likewise.
23770 * misc/syscall.c: Likewise.
23771 * misc/truncate.c: Likewise.
23772 * misc/ualarm.c: Likewise.
23773 * misc/usleep.c: Likewise.
23774 * misc/ustat.c: Likewise.
23775 * misc/utimes.c: Likewise.
23776 * misc/vhangup.c: Likewise.
23777 * misc/writev.c: Likewise.
23778 * posix/_exit.c: Likewise.
23779 * posix/alarm.c: Likewise.
23780 * posix/execve.c: Likewise.
23781 * posix/fexecve.c: Likewise.
23782 * posix/fork.c: Likewise.
23783 * posix/fpathconf.c: Likewise.
23784 * posix/getaddrinfo.c: Likewise.
23785 * posix/getegid.c: Likewise.
23786 * posix/geteuid.c: Likewise.
23787 * posix/getgid.c: Likewise.
23788 * posix/getgroups.c: Likewise.
23789 * posix/getlogin.c: Likewise.
23790 * posix/getlogin_r.c: Likewise.
23791 * posix/getpgid.c: Likewise.
23792 * posix/getpid.c: Likewise.
23793 * posix/getppid.c: Likewise.
23794 * posix/getresgid.c: Likewise.
23795 * posix/getresuid.c: Likewise.
23796 * posix/getsid.c: Likewise.
23797 * posix/getuid.c: Likewise.
23798 * posix/glob64.c: Likewise.
23799 * posix/nanosleep.c: Likewise.
23800 * posix/pathconf.c: Likewise.
23801 * posix/pause.c: Likewise.
23802 * posix/posix_madvise.c: Likewise.
23803 * posix/pread.c: Likewise.
23804 * posix/pread64.c: Likewise.
23805 * posix/pwrite.c: Likewise.
23806 * posix/pwrite64.c: Likewise.
23807 * posix/sched_getaffinity.c: Likewise.
23808 * posix/sched_getp.c: Likewise.
23809 * posix/sched_gets.c: Likewise.
23810 * posix/sched_primax.c: Likewise.
23811 * posix/sched_primin.c: Likewise.
23812 * posix/sched_rr_gi.c: Likewise.
23813 * posix/sched_setaffinity.c: Likewise.
23814 * posix/sched_setp.c: Likewise.
23815 * posix/sched_sets.c: Likewise.
23816 * posix/sched_yield.c: Likewise.
23817 * posix/setgid.c: Likewise.
23818 * posix/setlogin.c: Likewise.
23819 * posix/setpgid.c: Likewise.
23820 * posix/setresgid.c: Likewise.
23821 * posix/setresuid.c: Likewise.
23822 * posix/setsid.c: Likewise.
23823 * posix/setuid.c: Likewise.
23824 * posix/sleep.c: Likewise.
23825 * posix/spawni.c: Likewise.
23826 * posix/sysconf.c: Likewise.
23827 * posix/times.c: Likewise.
23828 * posix/wait.c: Likewise.
23829 * posix/wait3.c: Likewise.
23830 * posix/wait4.c: Likewise.
23831 * posix/waitpid.c: Likewise.
23832 * resolv/gai_sigqueue.c: Likewise.
23833 * resource/getpriority.c: Likewise.
23834 * resource/getrlimit.c: Likewise.
23835 * resource/getrusage.c: Likewise.
23836 * resource/nice.c: Likewise.
23837 * resource/setpriority.c: Likewise.
23838 * resource/setrlimit.c: Likewise.
23839 * resource/ulimit.c: Likewise.
23840 * rt/aio_cancel.c: Likewise.
23841 * rt/aio_fsync.c: Likewise.
23842 * rt/aio_read.c: Likewise.
23843 * rt/aio_sigqueue.c: Likewise.
23844 * rt/aio_suspend.c: Likewise.
23845 * rt/aio_write.c: Likewise.
23846 * rt/clock_getres.c: Likewise.
23847 * rt/clock_gettime.c: Likewise.
23848 * rt/clock_nanosleep.c: Likewise.
23849 * rt/clock_settime.c: Likewise.
23850 * rt/lio_listio.c: Likewise.
23851 * rt/mq_close.c: Likewise.
23852 * rt/mq_getattr.c: Likewise.
23853 * rt/mq_notify.c: Likewise.
23854 * rt/mq_open.c: Likewise.
23855 * rt/mq_receive.c: Likewise.
23856 * rt/mq_send.c: Likewise.
23857 * rt/mq_setattr.c: Likewise.
23858 * rt/mq_timedreceive.c: Likewise.
23859 * rt/mq_timedsend.c: Likewise.
23860 * rt/mq_unlink.c: Likewise.
23861 * rt/shm_open.c: Likewise.
23862 * rt/shm_unlink.c: Likewise.
23863 * rt/timer_create.c: Likewise.
23864 * rt/timer_delete.c: Likewise.
23865 * rt/timer_getoverr.c: Likewise.
23866 * rt/timer_gettime.c: Likewise.
23867 * rt/timer_settime.c: Likewise.
23868 * setjmp/__longjmp.c: Likewise.
23869 * setjmp/setjmp.c: Likewise.
23870 * signal/kill.c: Likewise.
23871 * signal/killpg.c: Likewise.
23872 * signal/raise.c: Likewise.
23873 * signal/sigaction.c: Likewise.
23874 * signal/sigaltstack.c: Likewise.
23875 * signal/sigblock.c: Likewise.
23876 * signal/sigignore.c: Likewise.
23877 * signal/sigintr.c: Likewise.
23878 * signal/signal.c: Likewise.
23879 * signal/sigpause.c: Likewise.
23880 * signal/sigpending.c: Likewise.
23881 * signal/sigqueue.c: Likewise.
23882 * signal/sigreturn.c: Likewise.
23883 * signal/sigset.c: Likewise.
23884 * signal/sigsetmask.c: Likewise.
23885 * signal/sigstack.c: Likewise.
23886 * signal/sigsuspend.c: Likewise.
23887 * signal/sigtimedwait.c: Likewise.
23888 * signal/sigvec.c: Likewise.
23889 * signal/sigwait.c: Likewise.
23890 * signal/sigwaitinfo.c: Likewise.
23891 * signal/sysv_signal.c: Likewise.
23892 * socket/accept.c: Likewise.
23893 * socket/accept4.c: Likewise.
23894 * socket/bind.c: Likewise.
23895 * socket/connect.c: Likewise.
23896 * socket/getpeername.c: Likewise.
23897 * socket/getsockname.c: Likewise.
23898 * socket/getsockopt.c: Likewise.
23899 * socket/isfdtype.c: Likewise.
23900 * socket/listen.c: Likewise.
23901 * socket/recv.c: Likewise.
23902 * socket/recvfrom.c: Likewise.
23903 * socket/recvmsg.c: Likewise.
23904 * socket/send.c: Likewise.
23905 * socket/sendmsg.c: Likewise.
23906 * socket/sendto.c: Likewise.
23907 * socket/setsockopt.c: Likewise.
23908 * socket/shutdown.c: Likewise.
23909 * socket/sockatmark.c: Likewise.
23910 * socket/socket.c: Likewise.
23911 * socket/socketpair.c: Likewise.
23912 * stdio-common/ctermid.c: Likewise.
23913 * stdio-common/cuserid.c: Likewise.
23914 * stdio-common/remove.c: Likewise.
23915 * stdio-common/rename.c: Likewise.
23916 * stdio-common/renameat.c: Likewise.
23917 * stdio-common/tempname.c: Likewise.
23918 * stdlib/getcontext.c: Likewise.
23919 * stdlib/makecontext.c: Likewise.
23920 * stdlib/setcontext.c: Likewise.
23921 * stdlib/swapcontext.c: Likewise.
23922 * stdlib/system.c: Likewise.
23923 * streams/fattach.c: Likewise.
23924 * streams/fdetach.c: Likewise.
23925 * streams/getmsg.c: Likewise.
23926 * streams/getpmsg.c: Likewise.
23927 * streams/putmsg.c: Likewise.
23928 * streams/putpmsg.c: Likewise.
23929 * sysdeps/unix/bsd/getpt.c: Likewise.
23930 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23931 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23935 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23936 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23937 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23938 * sysvipc/msgctl.c: Likewise.
23939 * sysvipc/msgget.c: Likewise.
23940 * sysvipc/msgrcv.c: Likewise.
23941 * sysvipc/msgsnd.c: Likewise.
23942 * sysvipc/semctl.c: Likewise.
23943 * sysvipc/semget.c: Likewise.
23944 * sysvipc/semop.c: Likewise.
23945 * sysvipc/semtimedop.c: Likewise.
23946 * sysvipc/shmat.c: Likewise.
23947 * sysvipc/shmctl.c: Likewise.
23948 * sysvipc/shmdt.c: Likewise.
23949 * sysvipc/shmget.c: Likewise.
23950 * termios/tcdrain.c: Likewise.
23951 * termios/tcflow.c: Likewise.
23952 * termios/tcflush.c: Likewise.
23953 * termios/tcgetattr.c: Likewise.
23954 * termios/tcgetpgrp.c: Likewise.
23955 * termios/tcsendbrk.c: Likewise.
23956 * termios/tcsetattr.c: Likewise.
23957 * termios/tcsetpgrp.c: Likewise.
23958 * time/adjtime.c: Likewise.
23959 * time/clock.c: Likewise.
23960 * time/getitimer.c: Likewise.
23961 * time/gettimeofday.c: Likewise.
23962 * time/setitimer.c: Likewise.
23963 * time/settimeofday.c: Likewise.
23964 * time/stime.c: Likewise.
23965 * time/time.c: Likewise.
23967 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23969 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23972 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23974 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23976 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23980 FE_TONEAREST before applying Dekker multiplication and Knuth
23981 addition. Clear inexact exceptions and check for exact zero
23982 results afterwards.
23983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23984 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23986 * math/libm-test.inc (fma_test): Add more tests.
23987 (fma_test_towardzero): Likewise.
23988 (fma_test_downward): Likewise.
23989 (fma_test_upward): Likewise.
23990 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23992 (libc_fesetround): New macro.
23993 (libc_fesetroundf): Likewise.
23994 (libc_fesetroundl): Likewise.
23995 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23997 (libc_fesetround_387): Likewise.
23998 (libc_fesetroundf): New macro.
23999 (libc_fesetround): Likewise.
24000 (libc_fesetroundl): Likewise.
24001 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24003 (libc_fesetroundf): New macro.
24004 (libc_fesetround): Likewise.
24005 (libc_fesetroundl): Likewise.
24006 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24007 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24008 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24010 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24011 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24013 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24014 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24016 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24020 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24021 integer constant usable in #if and use that to give value to enum
24023 (FE_DIVBYZERO): Likewise.
24024 (FE_UNDERFLOW): Likewise.
24025 (FE_OVERFLOW): Likewise.
24026 (FE_INVALID): Likewise.
24027 (FE_INVALID_SNAN): Likewise.
24028 (FE_INVALID_ISI): Likewise.
24029 (FE_INVALID_IDI): Likewise.
24030 (FE_INVALID_ZDZ): Likewise.
24031 (FE_INVALID_IMZ): Likewise.
24032 (FE_INVALID_COMPARE): Likewise.
24033 (FE_INVALID_SOFTWARE): Likewise.
24034 (FE_INVALID_SQRT): Likewise.
24035 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24036 (FE_TONEAREST): Likewise.
24037 (FE_TOWARDZERO): Likewise.
24038 (FE_UPWARD): Likewise.
24039 (FE_DOWNWARD): Likewise.
24040 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24041 (FE_DIVBYZERO): Likewise.
24042 (FE_OVERFLOW): Likewise.
24043 (FE_UNDERFLOW): Likewise.
24044 (FE_INEXACT): Likewise.
24045 (FE_TONEAREST): Likewise.
24046 (FE_DOWNWARD): Likewise.
24047 (FE_UPWARD): Likewise.
24048 (FE_TOWARDZERO): Likewise.
24049 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24050 (FE_UNDERFLOW): Likewise.
24051 (FE_OVERFLOW): Likewise.
24052 (FE_DIVBYZERO): Likewise.
24053 (FE_INVALID): Likewise.
24054 (FE_TONEAREST): Likewise.
24055 (FE_TOWARDZERO): Likewise.
24056 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24057 (FE_OVERFLOW): Likewise.
24058 (FE_UNDERFLOW): Likewise.
24059 (FE_DIVBYZERO): Likewise.
24060 (FE_INEXACT): Likewise.
24061 (FE_TONEAREST): Likewise.
24062 (FE_TOWARDZERO): Likewise.
24063 (FE_UPWARD): Likewise.
24064 (FE_DOWNWARD): Likewise.
24065 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24066 (FE_DIVBYZERO): Likewise.
24067 (FE_OVERFLOW): Likewise.
24068 (FE_UNDERFLOW): Likewise.
24069 (FE_INEXACT): Likewise.
24070 (FE_TONEAREST): Likewise.
24071 (FE_DOWNWARD): Likewise.
24072 (FE_UPWARD): Likewise.
24073 (FE_TOWARDZERO): Likewise.
24075 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24077 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24079 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24081 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24082 commands. Quote $PWD.
24083 (blacklist_exports): Don't use remove_newlines. Replace "declare
24085 (remove_newlines): Remove.
24087 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24089 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24090 * stdlib/stdlib.h (atof): Moved to ...
24091 * include/bits/stdlib-float.h: Here. New file.
24092 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24093 * stdlib/bits/stdlib-float.h: New file.
24094 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24099 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24101 * conform/conformtest.pl (@headers): Add fenv.h.
24102 * conform/data/fenv.h-data: New file.
24103 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24104 include of <math/fenv.h>.
24106 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24107 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24108 && !UNIX98]. Enables tests for XOPEN2K8.
24109 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24110 POSIX2008]: Likewise.
24112 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24113 (struct rusage): Do not expect type or its members.
24116 * math/math.h (FP_NAN): Define macro to integer constant usable in
24117 #if and use that to give value to enum constant.
24118 (FP_INFINITE): Likewise.
24119 (FP_ZERO): Likewise.
24120 (FP_SUBNORMAL): Likewise.
24121 (FP_NORMAL): Likewise.
24123 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24125 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24126 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24129 2012-11-02 Roland McGrath <roland@hack.frob.com>
24131 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24132 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24133 autoconf-time if not.
24134 * configure.in: Remove AC_PREREQ.
24136 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24138 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24139 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24140 of the internal implementation.
24142 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24144 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24145 except include of <misc/sys/syslog.h>.
24147 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24150 function returns with a NULL context exit with zero.
24152 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24154 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24156 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24158 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24159 (run_program_cmd): This.
24160 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24161 (tst_langinfo): New variable. Use it.
24163 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24165 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24166 floating point opcodes.
24168 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24170 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24173 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24175 * sysdeps/mach/hurd/powerpc: Remove directory.
24176 * sysdeps/mach/powerpc: Likewise.
24178 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24180 * scripts/check-local-headers.sh: Ignore c++ headers.
24182 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24184 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24185 __libc_cleanup_region_start argument.
24187 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24192 x * y using scaling, not as x * y + z.
24193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24195 * math/libm-test.inc (fma_test): Add more tests.
24196 (fma_test_towardzero): Likewise.
24197 (fma_test_downward): Likewise.
24198 (fma_test_upward): Likewise.
24200 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24202 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24204 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24206 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24209 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24211 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24213 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24220 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24223 Fix the order of the list for glibc 2.17.
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24227 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24231 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24234 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24235 for low part of x being zero before using __atanl (y).
24236 * math/libm-test.inc (atan2_test): Add another test.
24238 * manual/install.texi (Configuring and compiling): Document
24239 general use of test-wrapper and test-wrapper-env.
24240 * INSTALL: Regenerated.
24242 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24243 (__fma): Do not extract and scale down low bits on after-rounding
24244 systems when result rounded to normal precision would have normal
24246 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24247 (__fmal): Do not extract and scale down low bits on after-rounding
24248 systems when result rounded to normal precision would have normal
24250 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24251 (__fmal): Do not extract and scale down low bits on after-rounding
24252 systems when result rounded to normal precision would have normal
24254 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24256 (fma_test): Add more tests.
24257 (fma_test_towardzero): Likewise.
24258 (fma_test_downward): Likewise.
24259 (fma_test_upward): Likewise.
24261 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24263 * sysdeps/i386/tininess.h: Renamed to ...
24264 * sysdeps/x86/tininess.h: This.
24265 * sysdeps/x86_64/tininess.h: Removed.
24267 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24269 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24270 input. Use $(build-program-cmd).
24271 ($(objpfx)tst-array1-static.out): Likewise.
24272 ($(objpfx)tst-array2.out): Likewise.
24273 ($(objpfx)tst-array3.out): Likewise.
24274 ($(objpfx)tst-array4.out): Likewise.
24275 ($(objpfx)tst-array5.out): Likewise.
24276 ($(objpfx)tst-array5-static.out): Likewise.
24278 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24280 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24283 * nss/nsswitch.h (nss_interface_function): Provide new
24284 macro for use with NSS functions.
24285 * grp/initgroups.c: Use new macro.
24286 * nss/getXXbyYY.c: Likewise.
24287 * nss/getXXbyYY_r.c: Likewise.
24288 * nss/getXXent.c: Likewise.
24289 * nss/getXXent_r.c: Likewise.
24290 * sysdeps/posix/getaddrinfo.c: Likewise.
24292 2012-10-30 Andreas Jaeger <aj@suse.de>
24294 * po/ru.po: Update Russion translation from translation project.
24296 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24301 result and shift together with sticky bit instead of replicating
24302 round-to-nearest rounding.
24303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24305 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24306 missing underflow exceptions.
24307 (fma_test_towardzero): Add more tests.
24308 (fma_test_downward): Likewise.
24309 (fma_test_upward): Likewise.
24312 * sysdeps/generic/tininess.h: New file.
24313 * sysdeps/i386/tininess.h: Likewise.
24314 * sysdeps/sh/tininess.h: Likewise.
24315 * sysdeps/x86_64/tininess.h: Likewise.
24316 * stdlib/tst-strtod-underflow.c: Likewise.
24317 * stdlib/tst-tininess.c: Likewise.
24318 * stdlib/strtod_l.c: Include <tininess.h>.
24319 (round_and_return): Do not set errno for exact underflow cases.
24320 Force an underflow exception when setting errno for underflow.
24321 Determine underflow based on rounding to normal precision if
24322 TININESS_AFTER_ROUNDING.
24323 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24324 ERANGE for exact underflow cases.
24325 * stdlib/Makefile (tests): Add tst-tininess and
24326 tst-strtod-underflow.
24327 ($(objpfx)tst-tininess): Use $(link-libm).
24328 ($(objpfx)tst-strtod-underflow): Likewise.
24330 2012-10-30 Andreas Jaeger <aj@suse.de>
24333 * elf/Makefile (tests): Remove conditional for have-initfini-array
24334 since this is now always required and the variable does not exist
24336 (tests-static): Likewise.
24337 (modules-names): Likewise.
24339 * po/eo.po: Add Esperanto translation from translation project.
24341 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24342 merged with constructor/destructor.
24343 (init_array): Likewise.
24344 * elf/tst-array2dep.c (fini_array): Likewise.
24345 (init_array): Likewise.
24347 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24349 * manual/message.texi: Delete @cartouche tags.
24351 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24353 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24355 * sysdeps/mach/hurd/fsync.c: Likewise.
24357 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24358 [_POSIX_REALTIME_SIGNALS]: Change condition to
24359 [_POSIX_REALTIME_SIGNALS > 0].
24361 2012-10-27 Andreas Jaeger <aj@suse.de>
24363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24364 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24366 [__WORDSIZE != 64]: Likewise.
24368 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24370 * iconvdata/tst-table.sh: Remove ${SHELL}.
24371 * iconvdata/tst-tables.sh: Likewise.
24373 2012-10-25 David S. Miller <davem@davemloft.net>
24375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24376 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24381 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24382 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24383 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24386 2012-10-25 Roland McGrath <roland@hack.frob.com>
24388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24389 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24392 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24393 Jim Blandy <jimb@codesourcery.com>
24395 * scripts/cross-test-ssh.sh: New file.
24396 * manual/install.texi (Configuring and compiling): Document use of
24398 * INSTALL: Regenerated.
24400 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24402 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24405 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24407 * Makeconfig (run-program-prefix): Fix comment.
24409 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24410 Jim Blandy <jimb@codesourcery.com>
24412 * Makeconfig (test-wrapper): New variable,
24413 (test-wrapper-env): Likewise.
24414 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24415 (run-built-tests): Define to yes.
24416 (run-program-prefix): Use $(test-wrapper).
24417 (built-program-cmd): Likewise.
24418 * Rules (make-test-out): Use $(test-wrapper-env) and
24419 $(host-built-program-cmd).
24420 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24421 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24423 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24424 $(test-wrapper-env) to tst-rtld-load-self.sh.
24425 ($(objpfx)order2.out): Use $(test-wrapper).
24426 ($(objpfx)tst-initorder.out): Likewise.
24427 ($(objpfx)tst-initorder2.out): Likewise.
24428 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24429 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24430 (test_wrapper_env): New variable. Use it to run ld.so.
24431 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24432 Use it to run ld.so.
24433 (test_wrapper_env): Likewise.
24434 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24435 $(test-wrapper) to run-iconv-test.sh.
24436 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24437 (ICONV): Use $test_wrapper.
24438 * posix/Makefile ($(objpfx)globtest.out): Pass
24439 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24440 globtest.sh, not $(run-program-prefix).
24441 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24442 (test_wrapper): Likewise.
24443 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24444 set together with run_via_rtld_prefix.
24445 (run_program_prefix): Define in terms of test_wrapper and
24446 run_via_rtld_prefix.
24448 2012-10-24 Roland McGrath <roland@hack.frob.com>
24450 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24451 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24455 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24456 Declare __clock_getres, __clock_gettime, __clock_settime,
24457 __clock_nanosleep, and __clock_getcpuclockid.
24458 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24459 Remove librt_hidden_def (clock_gettime).
24460 * sysdeps/unix/clock_gettime.c: Likewise.
24461 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24463 * rt/clock_getres.c: Define __clock_getres as an alias.
24464 * sysdeps/posix/clock_getres.c: Likewise.
24465 * rt/clock_settime.c: Define __clock_settime as an alias.
24466 * sysdeps/unix/clock_settime.c: Likewise.
24467 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24468 * sysdeps/unix/clock_nanosleep.c: Likewise.
24469 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24470 * rt/clock-compat.c: New file.
24471 * rt/Makefile (librt-routines): Add clock-compat and move
24472 $(clock-routines) to ...
24473 (routines): ... here, new variable.
24474 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24475 Don't add get_clockfreq here.
24476 * rt/Versions (libc: GLIBC_2.17): New version set.
24477 Add clock_* symbols here.
24478 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24480 (GLIBC_2.17): Add clock_* symbols.
24481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24492 * NEWS: Mention the move.
24494 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24495 Use __open, __read, __close rather than their public counterparts.
24496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24497 (__get_clockfreq_via_cpuinfo): Likewise.
24498 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24499 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24501 * config.h.in (HAVE_IFUNC): New #undef.
24502 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24504 * configure: Regenerated.
24506 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24508 * configure.in: Move READELF check to start of file.
24509 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24510 libc_cv_asm_gnu_indirect_function in the process.
24511 * configure: Regenerated.
24513 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24515 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24516 send the output to /dev/null.
24517 (libc_cv_cc_with_libunwind): Likewise.
24518 (libc_cv_as_noexecstack): Likewise.
24519 * configure: Regenerate.
24521 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24523 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24525 * posix/globtest.sh (TMPDIR): Do not set.
24526 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24527 (testout): Likewise.
24529 2012-10-24 Andreas Jaeger <aj@suse.de>
24531 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24532 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24533 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24534 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24535 posix_fadvise64, posix_fallocate64.
24537 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24538 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24539 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24541 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24543 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24546 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24547 <bits/fcntl-linux.h>.
24548 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24551 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24552 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24553 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24554 [__WORDSIZE != 64]: Likewise.
24556 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24558 * Makeconfig (run-built-tests): New variable.
24559 * Rules [$(cross-compiling) = yes]: Change condition to
24560 [$(run-built-tests) = no].
24561 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24562 to [$(run-built-tests) = yes].
24563 * elf/Makefile [$(cross-compiling) = no]: Likewise
24564 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24565 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24566 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24567 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24568 * io/Makefile [$(cross-compiling) = no]: Likewise.
24569 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24570 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24571 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24572 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24573 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24574 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24575 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24576 * string/Makefile [$(cross-compiling) = no]: Likewise.
24578 * posix/Makefile ($(objpfx)globtest.out): Pass
24579 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24580 $(rtld-installed-name).
24581 * posix/globtest.sh (elf_objpfx): Remove variable.
24582 (rtld_installed_name): Likewise.
24583 (library_path): Likewise.
24584 (run_program_prefix): New variable. Use for running globtest
24587 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24588 Joseph Myers <joseph@codesourcery.com>
24590 * Makeconfig (host-built-program-cmd): New variable.
24591 * elf/Makefile (tst-stackguard1-ARGS): Use
24592 $(host-built-program-cmd).
24593 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24594 (tst-spawn-ARGS): Likewise.
24595 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24597 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24598 Jim Blandy <jimb@codesourcery.com>
24600 * Makeconfig (run-via-rtld-prefix): New variable.
24601 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24602 (built-program-cmd): Likewise.
24604 2012-10-22 Andreas Jaeger <aj@suse.de>
24606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24607 __O_RSYNC if it exists, otherwise to O_SYNC.
24609 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24610 Joseph Myers <joseph@codesourcery.com>
24612 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24614 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24616 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24619 2012-10-22 Andreas Jaeger <aj@suse.de>
24621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24626 bits/fcntl-linux.h.
24628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24629 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24636 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24637 Joseph Myers <joseph@codesourcery.com>
24639 * config.make.in (NM): New variable.
24641 2012-10-21 Andreas Jaeger <aj@suse.de>
24643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24644 definitions and declarations that are provided by
24645 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24647 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24650 * elf/Makefile (tests-static): Add tst-leaks1-static.
24651 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24652 ($(objpfx)tst-leaks1-static): New rule.
24653 ($(objpfx)tst-leaks1-static-mem): Likewise.
24654 (tst-leaks1-static-ENV): New macro.
24655 * elf/dl-open.c (dl_open_worker): Check the main application
24656 only if SHARED is defined.
24657 * elf/tst-leaks1-static.c: New file.
24659 2012-10-20 Andreas Jaeger <aj@suse.de>
24661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24662 generic values for Linux.
24663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24664 and declarations that are provided by <bits/fcntl-linux.h> and
24665 include <bits/fcntl-linux.h>.
24666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24669 2012-10-20 Roland McGrath <roland@hack.frob.com>
24671 * io/fcntl.h: Move include of <bits/types.h> to the top and
24672 include it unconditionally.
24674 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24676 * wcsmbs/Makefile (tests-ifunc): New variable.
24677 (tests): Add $(tests-ifunc).
24678 * wcsmbs/test-wcschr-ifunc.c: New file.
24679 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24680 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24681 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24682 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24683 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24685 * string/Makefile (tests-ifunc): New variable.
24686 (tests): Add $(tests-ifunc).
24687 * string/test-memccpy.c (TEST_NAME): New macro.
24688 * string/test-memchr.c (TEST_NAME): Likewise.
24689 * string/test-memcmp.c (TEST_NAME): Likewise.
24690 * string/test-memcpy.c (TEST_NAME): Likewise.
24691 * string/test-memmem.c (TEST_NAME): Likewise.
24692 * string/test-memmove.c (TEST_NAME): Likewise.
24693 * string/test-memset.c (TEST_NAME): Likewise.
24694 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24695 * string/test-stpcpy.c (TEST_NAME): Likewise.
24696 * string/test-stpncpy.c (TEST_NAME): Likewise.
24697 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24698 * string/test-strcasestr.c (TEST_NAME): Likewise.
24699 * string/test-strcat.c (TEST_NAME): Likewise.
24700 * string/test-strchr.c (TEST_NAME): Likewise.
24701 * string/test-strcmp.c(TEST_NAME): Likewise.
24702 * string/test-strcpy.c (TEST_NAME): Likewise.
24703 * string/test-strcspn.c (TEST_NAME): Likewise.
24704 * string/test-strlen.c (TEST_NAME): Likewise.
24705 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24706 * string/test-strncmp.c (TEST_NAME): Likewise.
24707 * string/test-strncpy.c (TEST_NAME): Likewise.
24708 * string/test-strnlen.c (TEST_NAME): Likewise.
24709 * string/test-strpbrk.c (TEST_NAME): Likewise.
24710 * string/test-strrchr.c (TEST_NAME): Likewise.
24711 * string/test-strspn.c (TEST_NAME): Likewise.
24712 * string/test-strstr.c (TEST_NAME): Likewise.
24713 * string/test-bcopy-ifunc.c: New file.
24714 * string/test-bzero-ifunc.c: Likewise.
24715 * string/test-memccpy-ifunc.c: Likewise.
24716 * string/test-memchr-ifunc.c: Likewise.
24717 * string/test-memcmp-ifunc.c: Likewise.
24718 * string/test-memcpy-ifunc.c: Likewise.
24719 * string/test-memmem-ifunc.c: Likewise.
24720 * string/test-memmove-ifunc.c: Likewise.
24721 * string/test-mempcpy-ifunc.c: Likewise.
24722 * string/test-memset-ifunc.c: Likewise.
24723 * string/test-rawmemchr-ifunc.c: Likewise.
24724 * string/test-stpcpy-ifunc.c: Likewise.
24725 * string/test-stpncpy-ifunc.c: Likewise.
24726 * string/test-strcasecmp-ifunc.c: Likewise.
24727 * string/test-strcasestr-ifunc.c: Likewise.
24728 * string/test-strcat-ifunc.c: Likewise.
24729 * string/test-strchr-ifunc.c: Likewise.
24730 * string/test-strchrnul-ifunc.c: Likewise.
24731 * string/test-strcmp-ifunc.c: Likewise.
24732 * string/test-strcpy-ifunc.c: Likewise.
24733 * string/test-strcspn-ifunc.c: Likewise.
24734 * string/test-strlen-ifunc.c: Likewise.
24735 * string/test-strncasecmp-ifunc.c: Likewise.
24736 * string/test-strncat-ifunc.c: Likewise.
24737 * string/test-strncmp-ifunc.c: Likewise.
24738 * string/test-strncpy-ifunc.c: Likewise.
24739 * string/test-strnlen-ifunc.c: Likewise.
24740 * string/test-strpbrk-ifunc.c: Likewise.
24741 * string/test-strrchr-ifunc.c: Likewise.
24742 * string/test-strspn-ifunc.c: Likewise.
24743 * string/test-strstr-ifunc.c: Likewise.
24745 * debug/Makefile (tests-ifunc): New variable.
24746 (tests): Add $(tests-ifunc).
24747 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24748 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24749 * debug/test-stpcpy_chk-ifunc.c: New file.
24750 * debug/test-strcpy_chk-ifunc.c: Likewise.
24752 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24755 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24756 header is not read in.
24758 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24760 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24761 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24762 directly. Pass built executable to script as
24763 $(built-program-cmd).
24764 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24765 $testprogram without using LD_LIBRARY_PATH and $ldso.
24767 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24768 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24769 $(rtld-installed-name).
24770 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24771 (rtld_installed_name): Likewise.
24772 (library_path): Likewise.
24773 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24774 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24775 $(run-program-prefix) to tst-tables.sh.
24776 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24777 it to run tst-table-from and tst-table-to.
24778 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24779 Pass it to tst-table.sh.
24780 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24781 $(run-program-prefix) to tst-gettext.sh.
24782 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24784 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24786 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24787 to run tst-gettext.
24788 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24789 to run tst-gettext2.
24790 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24791 to run tst-translit.
24792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24793 $(run-program-prefix) to tst-mtrace.sh.
24794 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24796 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24797 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24798 $(rtld-installed-name).
24799 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24800 (rtld_installed_name): Likewise.
24801 (run_program_prefix): New variable. Use it to run wordexp-test.
24803 * Makeconfig (ARCH): Remove all definitions.
24804 (machine): Likewise.
24805 [ARCH]: Remove conditional code.
24806 [!objdir]: Give error.
24807 [!objdir] (objpfx): Remove.
24808 [!objdir] (common-objpfx): Likewise.
24809 [!objdir] (common-objdir): Likewise.
24810 * configure.in (config_makefile): Remove. Hardcode Makefile in
24811 AC_CONFIG_FILES call.
24812 * configure: Regenerated.
24815 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24817 (testout): Likewise.
24819 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24820 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24821 $(rtld-installed-name).
24822 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24823 (rtld_installed_name): Likwise.
24824 (runit): Remove function.
24825 (run_getconf): New variable, Use it for running getconf binary.
24827 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24830 * string/test-memmem.c (check_result): New function.
24831 (do_one_test): Use it.
24832 (check1): New function.
24833 (test_main): Use it.
24835 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24837 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24839 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24841 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24842 (_G_LSEEK64): Likewise.
24843 (_G_MMAP64): Likewise.
24844 (_G_FSTAT64): Likewise.
24845 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24846 (_G_LSEEK64): Likewise.
24847 (_G_MMAP64): Likewise.
24848 (_G_FSTAT64): Likewise.
24849 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24850 unconditional. Call __mmap64 directly.
24851 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24852 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24853 __lseek64 directly.
24854 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24855 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24857 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24858 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24859 __lseek64 directly.
24860 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24861 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24862 __lseek64 directly.
24863 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24864 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24865 __lseek64 directly.
24866 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24867 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24868 __fxstat64 directly.
24869 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24870 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24872 (freopen64) [!_G_OPEN64]: Remove conditional code.
24873 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24875 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24876 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24878 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24879 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24881 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24882 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24884 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24885 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24887 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24888 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24890 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24891 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24893 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24895 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24898 * manual/memory.texi (Malloc Tunable Parameters): Add note
24899 about free list pointers overwriting some perturb bytes.
24900 Wording suggested by Roland McGrath.
24902 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24904 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24905 (lgamma_test): Likewise.
24906 (tgamma_test): Likewise.
24908 2012-10-16 Florian Weimer <fweimer@redhat.com>
24911 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24912 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24914 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24916 * NEWS: Mention BZ #14716.
24917 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24918 when removing AVAILABLE1_USES_J macro.
24920 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24922 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24923 (__bswap_64): __uint64_t for unsigned 64-bit int.
24925 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24927 * include/string.h (memmem): Declare libc hidden alias.
24928 * string/memmem.c (memmem): Define libc hidden alias.
24929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24930 __read, __close instead of open, read, close.
24932 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24935 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24937 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24938 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24939 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24941 (__rawmemchr_sse2): Likewise.
24942 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24943 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24944 (__strchr_sse2): Likewise.
24945 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24946 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24947 (__strcasecmp_sse2): Likewise.
24948 (__strncasecmp_sse2): Likewise.
24949 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24950 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24951 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24952 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24953 (__strrchr_sse2): Likewise.
24954 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24956 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24957 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24958 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24959 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24960 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24961 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24962 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24963 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24964 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24965 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24966 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24967 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24968 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24969 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24970 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24971 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24972 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24973 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24974 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24975 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24976 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24977 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24978 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24979 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24980 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24982 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24983 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24984 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24985 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24987 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24989 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24990 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24991 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24992 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24994 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24996 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24997 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24998 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24999 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25001 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25002 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25003 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25004 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25005 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25006 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25007 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25008 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25009 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25010 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25011 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25012 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25013 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25014 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25015 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25016 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25018 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25023 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25024 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25026 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25027 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25028 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25029 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25030 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25031 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25032 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25033 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25034 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25035 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25036 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25037 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25038 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25039 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25040 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25043 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25044 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25045 * include/ifunc-impl-list.h: New file.
25046 * misc/ifunc-impl-list.c: Likewise.
25047 * misc/Makefile (routines): Add ifunc-impl-list.
25048 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25049 * string/test-string.h: Include <ifunc-impl-list.h>.
25050 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25051 TEST_NAME]: New variables.
25052 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25054 (test_init): Call __libc_ifunc_impl_list to initialize
25055 func_list if TEST_IFUNC and TEST_NAME are defined.
25057 * string/Makefile (strop-tests): Add bcopy and bzero.
25058 * string/test-bcopy.c: New file.
25059 * string/test-bzero.c: Likewise.
25060 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25062 * string/test-memset.c: Support bzero test if TEST_BZERO is
25064 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25066 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25068 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25071 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25073 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25074 * configure: Regenerated.
25076 * Makeconfig (+link-static-before-libc): Don't include
25077 $(link-static-libc).
25079 * libio/libio.h (_IO_pos_t): Remove.
25081 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25083 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25086 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25088 * crypt/crypt-entry.c: Include fips-private.h.
25089 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25090 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25091 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25092 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25094 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25096 * crypt/crypt-private.h: Include stdbool.h.
25097 (_ufc_setup_salt_r): Return bool.
25098 * crypt/crypt-entry.c: Include errno.h.
25099 (__crypt_r): Return NULL with EINVAL for bad salt.
25100 * crypt/crypt_util.c (bad_for_salt): New.
25101 (_ufc_setup_salt_r): Check that salt is long enough and within
25102 the specified alphabet.
25103 * crypt/badsalttest.c: New file.
25104 * crypt/Makefile (tests): Add it.
25105 ($(objpfx)badsalttest): New.
25107 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25109 * NEWS: Add entry for BZ #14602.
25111 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25113 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25115 * math/libm-test.inc: Update comment listing what functions and
25117 (isgreater_test): New function.
25118 (isgreaterequal_test): Likewise.
25119 (isless_test): Likewise.
25120 (islessequal_test): Likewise.
25121 (islessgreater_test): Likewise.
25122 (isunordered_test): Likewise.
25123 (main): Call the new functions.
25125 2012-10-09 Roland McGrath <roland@hack.frob.com>
25127 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25128 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25129 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25130 * sysdeps/i386/configure: Regenerated.
25131 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25132 * sysdeps/mach/configure: Regenerated.
25133 * sysdeps/mach/hurd/configure: Regenerated.
25134 * sysdeps/powerpc/configure: Regenerated.
25135 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25136 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25137 * sysdeps/s390/s390-32/configure: Regenerated.
25138 * sysdeps/s390/s390-64/configure: Regenerated.
25139 * sysdeps/sh/configure: Regenerated.
25140 * sysdeps/sparc/configure: Regenerated.
25141 * sysdeps/unix/sysv/linux/configure: Regenerated.
25142 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25143 * sysdeps/x86_64/configure: Regenerated.
25145 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25146 defined. Don't check if MAP is NULL.
25148 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25151 (_G_stat64): Likewise.
25152 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25153 (_G_stat64): Likewise.
25154 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25155 instead of struct _G_stat64.
25156 * libio/fileops.c (mmap_remap_check): Likewise.
25157 (decide_maybe_mmap): Likewise.
25158 (_IO_new_file_seekoff): Likewise.
25159 (_IO_file_stat): Likewise.
25160 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25162 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25163 instead of struct _G_stat64.
25164 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25166 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25169 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25171 (CHECK_EOL): New macro.
25172 (two_way_short_needle): Check beginning of haystack for EOL. Use
25174 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25175 Replace with CHECK_EOL.
25176 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25177 Replace with CHECK_EOL.
25179 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25181 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25183 * math/libm-test.inc: Update comment listing what functions and
25185 (finite_test): New function.
25186 (isinf_test): Likewise.
25187 (isnan_test): Likewise.
25188 (fpclassify_test): Test subnormal input.
25189 (isfinite_test): Likewise.
25190 (isnormal_test): Likewise.
25191 (main): Call the new functions.
25193 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25196 * Makerules (%.dynsym): Force C locale when running
25197 $(OBJDUMP) --dynamic-syms.
25199 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25201 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25204 2012-10-06 David S. Miller <davem@davemloft.net>
25206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25207 upper 32-bits of the length value in %o2 since we use branch-on-register
25208 tests which consider the entire 64-bit register.
25210 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25212 * string/test-strstr.c (check2): Add a test for page boundary.
25214 2012-10-05 David S. Miller <davem@davemloft.net>
25216 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25217 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25219 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25221 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25222 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25223 and bzero when HWCAP_SPARC_CRYPTO is present.
25225 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25228 * string/test-strstr.c (check2): New function.
25229 (test_main): Call check2.
25231 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25233 * string/bug-strcasestr1.c (do_test): Moved to ...
25234 * string/test-strcasestr.c (check1): Here. New function.
25235 (do_one_test): Break out result checking code into ...
25236 (check_result): This. New function.
25237 (do_one_test): Call check_result.
25238 (test_main): Call check1.
25239 * string/bug-strchr1.c (do_test): Moved to ...
25240 * string/test-strchr.c (check1): Here. New function.
25241 (do_one_test): Break out result checking code into ...
25242 (check_result): This. New function.
25243 (do_one_test): Call check_result.
25244 (test_main): Call check1.
25245 * string/bug-strstr1.c (main): Moved to ...
25246 * string/test-strstr.c (check1): Here. New function.
25247 (do_one_test): Break out result checking code into ...
25248 (check_result): This. New function.
25249 (do_one_test): Call check_result.
25250 (test_main): Call check1.
25251 * string/bug-strcasestr1.c: Removed.
25252 * string/bug-strchr1.c: Likewise.
25253 * string/bug-strstr1.c: Likewise.
25255 * elf/Makefile (dl-routines): Add hwcaps.
25256 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25257 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25258 (_dl_important_hwcaps): Moved to ...
25259 * elf/dl-hwcaps.c: Here. New file.
25260 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25263 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25264 if IS_IN_rtld isn't defined.
25266 * elf/dl-support.c (_dl_sysinfo_map): New.
25267 Include "get-dynamic-info.h" and "setup-vdso.h".
25268 (_dl_non_dynamic_init): Call setup_vdso.
25269 * elf/dynamic-link.h: Don't include <assert.h>.
25270 (elf_get_dynamic_info): Moved to ...
25271 * elf/get-dynamic-info.h: Here. New file.
25272 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25273 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25274 * elf/setup-vdso.h: Here. New file.
25275 * elf/rtld.c: Include "setup-vdso.h".
25276 (dl_main): Call setup_vdso.
25278 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25280 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25281 creal in comment listing functions tested. List finite, isinf,
25282 isnan, isless, islessequal, isgreater, isgreaterequal,
25283 islessgreater, isunordered, lgamma_r and pow10 as functions and
25284 macros not tested. Mention which functions not tested are aliases
25285 for other functions. Fix typo. Note that signs of NaNs are not
25288 * scripts/config.guess: Update from config.git.
25289 * scripts/config.sub: Likewise.
25291 2012-10-04 Roland McGrath <roland@hack.frob.com>
25293 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25294 * misc/madvise.c (madvise): Renamed to __madvise.
25295 Make madvise a weak alias.
25296 * include/sys/mman.h: Declare __madvise.
25297 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25298 * sysdeps/unix/syscalls.list
25299 (madvise): Make __madvise the strong name, and madvise a weak alias.
25300 * sysdeps/unix/sysv/linux/syscalls.list
25301 (madvise, mmap): Remove redundant entries.
25302 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25303 * malloc/malloc.c (mtrim): Likewise.
25304 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25306 2012-10-03 Roland McGrath <roland@hack.frob.com>
25308 * sysdeps/mach/hurd/dl-cache.c: File removed.
25309 * config.h.in (USE_LDCONFIG): New #undef.
25310 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25311 * configure: Regenerated.
25312 * elf/Makefile (dl-routines): Add dl-cache only under
25313 [$(use-ldconfig) = yes].
25314 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25315 cache on [USE_LDCONFIG].
25316 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25318 * elf/rtld.c (dl_main): Likewise.
25320 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25322 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25323 _SC_LEVEL4_CACHE_LINESIZE.
25325 2012-10-03 Roland McGrath <roland@hack.frob.com>
25327 * sysdeps/unix/bsd/confstr.h: File removed.
25329 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25331 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25334 2012-10-02 Roland McGrath <roland@hack.frob.com>
25336 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25337 Make 'mapoff' field ElfW(Off) rather than off_t.
25339 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25341 * nscd/Makefile: Remove nscd-cflags and all its users.
25342 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25343 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25346 * malloc.c (malloc_printerr): Clarify error message.
25348 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25352 Set bit_FMA_Usable if FMA is supported.
25353 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25355 (bit_FMA4_Usable): Updated.
25356 (index_FMA_Usable): New macro.
25357 (CPUID_FMA): Likewise
25358 (HAS_FMA): Defined with bit_FMA_Usable.
25360 2012-10-01 Roland McGrath <roland@hack.frob.com>
25362 * bits/types.h (__swblk_t): Type removed.
25363 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25364 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25366 (__SWBLK_T_TYPE): Likewise.
25367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25368 (__SWBLK_T_TYPE): Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25370 (__SWBLK_T_TYPE): Likewise.
25371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25372 (__SWBLK_T_TYPE): Likewise.
25374 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25375 Honza Horak <hhorak@redhat.com>
25377 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25378 (xdr_mapname): Use YPMAXMAP as maxsize.
25379 (xdr_peername): Use YPMAXPEER as maxsize.
25380 (xdr_keydat): Use YPAXRECORD as maxsize.
25381 (xdr_valdat): Use YPMAXRECORD as maxsize.
25383 2012-10-01 Roland McGrath <roland@hack.frob.com>
25385 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25387 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25388 * csu/init-first.c: ... here.
25389 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25390 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25391 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25392 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25393 * sysdeps/i386/init-first.c: File removed.
25394 * sysdeps/sh/init-first.c: File removed.
25396 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25400 if x * y might underflow to zero and z is zero.
25401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25403 * math/libm-test.inc (min_subnorm_value): New variable.
25404 (fma_test): Add more tests.
25405 (fma_test_towardzero): Likewise.
25406 (fma_test_downward): Likewise
25407 (fma_test_upward): Likewise.
25408 (initialize): Set min_subnorm_value.
25410 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25416 mode for addition resulting in exact zero.
25417 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25420 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25422 * math/libm-test.inc (fma_test): Add more tests.
25423 (fma_test_towardzero): New function.
25424 (fma_test_downward): Likewise.
25425 (fma_test_upward): Likewise.
25426 (main): Call the new functions.
25428 2012-09-28 David S. Miller <davem@davemloft.net>
25430 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25432 2012-09-28 Roland McGrath <roland@hack.frob.com>
25434 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25435 instead of SIGALRM.
25437 * sysdeps/gnu/_G_config.h: Moved to ...
25438 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25439 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25440 * sysdeps/generic/_G_config.h: ... here.
25442 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25444 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25446 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25447 Conditionalize target on [libnss_test1.so-version].
25449 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25451 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25452 (elfobjdir): Move out of conditionals.
25454 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25455 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25456 (__nss_lookup_function): Conditionalize label remove_from_tree on
25457 [!DO_STATIC_NSS || SHARED], matching its only use.
25459 2012-09-28 David S. Miller <davem@davemloft.net>
25461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25462 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25464 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25468 when HWCAP_SPARC_CRYPTO is present.
25470 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25472 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25474 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25477 * stdio-common/vfprintf.c (process_string_arg): Revert
25480 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25482 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25484 * stdio-common/tst-sprintf.c: Include <locale.h>
25485 (main): Test sprintf's handling of incomplete multibyte
25488 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25490 * elf/dl-runtime.c (VERSYMIDX): Removed.
25491 * elf/dl-version.c (VERSYMIDX): Likewise.
25492 * elf/do-rel.h (VERSYMIDX): Likewise.
25493 (VALIDX): Likewise.
25494 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25495 * elf/rtld.c (VALIDX): Likewise.
25496 (ADDRIDX): Likewise.
25497 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25498 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25499 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25500 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25501 (VALIDX): Likewise.
25502 (ADDRIDX): Likewise.
25504 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25506 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25508 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25511 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25513 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25514 addresses are in the same scope as 192.0.2/24.
25515 * posix/gai.conf: Document new scope table defaults.
25517 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25520 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25521 for ftell. Compute offsets from write pointers instead.
25522 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25524 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25527 * libio/Makefile (tests): New test case tst-fseek.
25528 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25529 combination works in wide mode.
25530 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25531 state when the external buffer state changes.
25533 2012-09-27 David S. Miller <davem@davemloft.net>
25536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25537 pass reloc->r_addend in as the 'high' argument to
25538 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25544 * rt/tst-aio2.c: Include <pthread.h>.
25545 * rt/tst-aio3.c: Likewise.
25547 2012-09-27 Steve Ellcey <sellcey@mips.com>
25549 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25551 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25553 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25554 contents on [SHARED].
25556 2012-09-26 Marek Polacek <polacek@redhat.com>
25560 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25561 for C++ and GCC <4.3 as well as for non GCC compilers.
25563 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25567 2012-09-25 Roland McGrath <roland@hack.frob.com>
25569 * Makefile.in (all, install): Declare with .PHONY.
25570 Reported by Michael Hope <michael.hope@linaro.org>.
25572 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25574 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25575 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25577 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25579 (sydep_routines): Add the new and the internal functions.
25580 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25583 (GLIBC_2.17): Add the new function.
25584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25585 (GLIBC_2.17): Likewise.
25586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25587 (GLIBC_2.17): Likewise.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25589 (GLIBC_2.17): Likewise.
25590 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25592 2012-09-25 Alan Modra <amodra@gmail.com>
25594 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25595 Add release barrier before setting once_control to say
25596 initialisation is done. Add hints on lwarx. Use macro in
25598 (clear_once_control): Add release barrier.
25600 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25603 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25605 * math/s_clog10.c (__clog10): Likewise.
25606 * math/s_clog10f.c (__clog10f): Likewise.
25607 * math/s_clog10l.c (__clog10l): Likewise.
25608 * math/s_clogf.c (__clogf): Likewise.
25609 * math/s_clogl.c (__clogl): Likewise.
25610 * math/Makefile (libm-calls): Add x2y2m1.
25611 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25612 (__x2y2m1): Likewise.
25613 (__x2y2m1l): Likewise.
25614 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25615 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25618 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25619 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25620 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25621 * sysdeps/i386/fpu/libm-test-ulps: Update.
25622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25625 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25626 int as type of variable DEPTH.
25627 (glob): Use size_t instead of int as type of variables NEWCOUNT
25630 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25632 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25633 Add s_sincosf-sse2.
25634 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25636 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25637 macros for using routine as __sincosf_ia32.
25638 Use macro for function declaration and weak_alias.
25639 * sysdeps/i386/fpu/libm-test-ulps: Update.
25641 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25644 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25645 subnormal argument.
25646 * math/s_cexpf.c (__cexpf): Likewise.
25647 * math/s_csinf.c (__csinf): Likewise.
25648 * math/s_csinhf.c (__csinhf): Likewise.
25649 * math/s_ctanf.c (__ctanf): Likewise.
25650 * math/s_ctanhf.c (__ctanhf): Likewise.
25651 * math/s_ccosh.c (__ccoshf): Likewise.
25652 * math/s_cexp.c (__cexpl): Likewise.
25653 * math/s_csin.c (__csin): Likewise.
25654 * math/s_csinh.c (__csinh): Likewise.
25655 * math/s_ctan.c (__ctan): Likewise.
25656 * math/s_ctanh.c (ctanh): Likewise.
25657 * math/s_ccoshl.c (__ccoshl): Likewise.
25658 * math/s_cexpl.c (__cexpl): Likewise.
25659 * math/s_csinl.c (__csinl): Likewise.
25660 * math/s_csinhl.c (__csinhl): Likewise.
25661 * math/s_ctanl.c (__ctanl): Likewise.
25662 * math/s_ctanhl.c (__ctanhl): Likewise.
25664 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25666 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25667 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25668 (_IO_off_t): Define to __off_t, not _G_off_t.
25669 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25670 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25671 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25672 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25673 type of __dummy and __dummy2 fields.
25674 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25675 (_G_ssize_t): Likewise.
25676 (_G_off_t): Likewise.
25677 (_G_pid_t): Likewise.
25678 (_G_uid_t): Likewise.
25679 (_G_wchar_t): Likewise.
25680 (_G_wint_t): Likewise.
25681 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25682 (_G_ssize_t): Likewise.
25683 (_G_off_t): Likewise.
25684 (_G_pid_t): Likewise.
25685 (_G_uid_t): Likewise.
25686 (_G_wchar_t): Likewise.
25687 (_G_wint_t): Likewise.
25688 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25689 (_G_ssize_t): Likewise.
25690 (_G_off_t): Likewise.
25691 (_G_pid_t): Likewise.
25692 (_G_uid_t): Likewise.
25693 (_G_wchar_t): Likewise.
25694 (_G_wint_t): Likewise.
25696 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25698 * malloc/arena.c: Include malloc-sysdep.h.
25699 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25700 is sufficient to shrink the heap or an unmap is needed.
25701 * sysdeps/generic/malloc-sysdep.h: New file. Define
25702 new function check_may_shrink_heap.
25703 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25704 new function check_may_shrink_heap.
25706 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25708 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25711 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25713 * catgets/test-gencat.sh: Add "set -e".
25714 * elf/tst-pathopt.sh: Likewise.
25715 * grp/tst_fgetgrent.sh: Likewise.
25716 * iconvdata/run-iconv-test.sh: Likewise.
25717 * intl/tst-gettext.sh: Likewise.
25718 * intl/tst-gettext2.sh: Likewise.
25719 * intl/tst-gettext4.sh: Likewise.
25720 * intl/tst-gettext6.sh: Likewise.
25721 * intl/tst-translit.sh: Likewise.
25722 * io/ftwtest-sh: Likewise.
25723 * libio/test-freopen.sh: Likewise.
25724 * malloc/tst-mtrace.sh: Likewise.
25725 * posix/globtest.sh: Likewise.
25726 * posix/tst-getconf.sh: Likewise.
25727 * posix/wordexp-tst.sh: Likewise.
25728 * stdio-common/tst-printf.sh: Likewise.
25729 * stdio-common/tst-unbputc.sh: Likewise.
25730 * stdlib/tst-fmtmsg.sh: Likewise.
25731 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25732 * catgets/Makefile: Do not specify -e option when running
25733 testsuite shell scripts.
25734 * elf/Makefile: Likewise.
25735 * grp/Makefile: Likewise.
25736 * iconvdata/Makefile: Likewise.
25737 * intl/Makefile: Likewise.
25738 * io/Makefile: Likewise.
25739 * libio/Makefile: Likewise.
25740 * malloc/Makefile: Likewise.
25741 * posix/Makefile: Likewise.
25742 * stdio-common/Makefile: Likewise.
25743 * stdlib/Makefile: Likewise.
25744 * sysdeps/x86_64/Makefile: Likewise.
25746 * io/ftwtest-sh: Add copyright header.
25747 * posix/globtest.sh: Likewise.
25748 * posix/tst-getconf.sh: Likewise.
25749 * posix/wordexp-tst.sh: Likewise.
25750 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25752 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25755 * Makeconfig (+link): Defined as $(+link-static) if
25756 $(build-shared) isn't yes.
25757 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25759 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25761 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25764 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25765 new chunk size with MALLOC_ALIGN_MASK.
25767 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25770 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25772 (__printf_fphex): Determine rounding using get_rounding_mode and
25774 * stdio-common/tst-printf-round.c (struct hex_test): New
25776 (hex_tests): New variable.
25777 (test_hex_in_one_mode): New function.
25778 (do_test): Also run tests for hex float output.
25780 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25782 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25783 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25784 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25785 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25786 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25787 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25788 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25789 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25791 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25793 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25794 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25795 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25796 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25798 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25801 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25803 * elf/tst-rtld-load-self.sh: New test.
25804 * elf/Makefile: Run it.
25806 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25808 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25809 (tst-writev-ENV): Remove.
25810 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25812 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25814 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25816 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25818 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25820 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25822 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25823 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25824 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25827 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25830 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25831 * config.make.in (have-cpp-asm-debuginfo): Removed.
25832 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25833 * configure: Regenerated.
25835 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25838 * stdio-common/printf_fp.c: Include <stdbool.h> and
25840 (___printf_fp): Determine rounding using get_rounding_mode and
25842 * stdio-common/tst-printf-round.c: New file.
25843 * stdio-common/Makefile (tests): Add tst-printf-round.
25844 (link-libm): New variable.
25845 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25847 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25850 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25851 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25853 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25856 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25858 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25859 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25860 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25863 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25866 * include/rounding-mode.h: New file.
25867 * sysdeps/generic/get-rounding-mode.h: Likewise.
25868 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25869 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25870 (MAX_VALUE): New macro.
25871 (MIN_VALUE): Likewise.
25872 (overflow_value): New function.
25873 (underflow_value): Likewise.
25874 (round_and_return): Use overflow_value and underflow_value to
25875 determine return values in overflow and underflow cases. Use
25876 round_away to determine rounding depending on rounding mode.
25877 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25878 determine return values in overflow and underflow cases.
25879 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25880 (struct test_results): New structure.
25881 (struct test): Use struct test_results to store expected results
25882 for all rounding modes.
25883 (TEST): Include expected results for all rounding modes.
25884 (test_in_one_mode): New function.
25885 (do_test): Use test_in_one_mode to compute and check results.
25886 Check results for all rounding modes.
25887 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25890 2012-12-09 Allan McRae <allan@archlinux.org>
25892 * sysdeps/i386/fpu/libm-test-ulps: Update
25894 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25896 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25897 (_G_int32_t): Likewise.
25898 (_G_uint16_t): Likewise.
25899 (_G_uint32_t): Likewise.
25900 (_G_HAVE_BOOL): Likewise.
25901 (_G_HAVE_ATEXIT): Likewise.
25902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25903 (_G_HAVE_IO_FILE_OPEN): Likewise.
25904 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25905 (_G_int32_t): Likewise.
25906 (_G_uint16_t): Likewise.
25907 (_G_uint32_t): Likewise.
25908 (_G_HAVE_BOOL): Likewise.
25909 (_G_HAVE_ATEXIT): Likewise.
25910 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25911 (_G_HAVE_IO_FILE_OPEN): Likewise.
25912 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25913 (_G_int32_t): Likewise.
25914 (_G_uint16_t): Likewise.
25915 (_G_uint32_t): Likewise.
25916 (_G_HAVE_BOOL): Likewise.
25917 (_G_HAVE_ATEXIT): Likewise.
25918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25919 (_G_HAVE_IO_FILE_OPEN): Likewise.
25921 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25923 * csu/libc-tls.c: Update copyright years.
25925 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25927 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25928 [!_G_USING_THUNKS]: Remove conditional code.
25929 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25930 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25932 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25933 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25934 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25935 (_G_VTABLE_LABEL_PREFIX): Likewise.
25936 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25937 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25938 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25939 (_G_VTABLE_LABEL_PREFIX): Likewise.
25940 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25941 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25942 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25943 (_G_VTABLE_LABEL_PREFIX): Likewise.
25944 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25946 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25948 * libio/Makefile: Include ../Makeconfig before tests.
25949 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25950 only if $(build-shared) is yes.
25952 * iconv/gconv_db.c: Update copyright years.
25954 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25956 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25957 unwind info if defined PIC. Fix special cases description.
25958 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25960 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25962 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25964 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25966 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25968 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25971 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25972 (LDLIBS-tst-chk4): This.
25973 (LDFLAGS-tst-chk5): Renamed to ...
25974 (LDLIBS-tst-chk5): This.
25975 (LDFLAGS-tst-chk6): Renamed to ...
25976 (LDLIBS-tst-chk6): This.
25977 (LDFLAGS-tst-lfschk4): Renamed to ...
25978 (LDLIBS-tst-lfschk4): This.
25979 (LDFLAGS-tst-lfschk5): Renamed to ...
25980 (LDLIBS-tst-lfschk5): This.
25981 (LDFLAGS-tst-lfschk6): Renamed to ...
25982 (LDLIBS-tst-lfschk6): This.
25984 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25985 on $(common-objpfx)soversions.mk.
25987 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25990 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25993 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25995 * malloc/arena.c (arena_get_retry): New function that gets
25996 another arena for the caller to try its request on.
25997 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25998 current arena cannot fulfill the request.
25999 (__libc_memalign): Likewise.
26000 (__libc_memalign): Likewise.
26001 (__libc_pvalloc): Likewise.
26002 (__libc_calloc): Likewise.
26004 2012-09-05 John Tobey <john.tobey@gmail.com>
26007 * manual/arith.texi (Operations on Complex): Fix description
26008 of carg branch cut.
26010 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26013 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26017 * manual/memory.texi (Memory): Make order of menu items match
26020 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26022 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26023 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26024 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26026 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26028 * csu/libc-tls.c (static_dtv): Renamed to ...
26029 (_dl_static_dtv): This. Make it global.
26030 (_dl_initial_dtv): Removed.
26031 (__libc_setup_tls): Updated.
26032 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26033 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26036 2012-09-06 Petr Machata <pmachata@redhat.com>
26038 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26039 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26040 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26041 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26043 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26046 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26047 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26050 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26053 * Makeconfig (link-static-before-libc): Replace $(+prector)
26055 (link-static-after-libc): Replace $(+postctor) with
26057 (link-bounded): Replace $(+prector)/$(+postctor) with
26058 $(+prectorT)/$(+postctorT).
26059 (+prectorT): New macro.
26060 (+postctorT): Likewise.
26062 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26064 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26065 (round_str): Handle values above the maximum for IBM long double
26067 * stdlib/tst-strtod-round.c (tests): Regenerated.
26069 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26071 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26073 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26074 zarch_nohighgprs around the zarch optimized routines.
26075 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26076 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26080 2012-09-05 David S. Miller <davem@davemloft.net>
26082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26084 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26085 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26086 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26087 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26090 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26092 * malloc/arena.c: Fold copyright years.
26093 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26097 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26101 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26103 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26105 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26106 change internal state upon failure.
26108 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26110 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26111 * malloc/memusage.c (mmap): Likewise.
26112 (mmap64, mremap): Likewise. Adjust name in comment.
26114 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26116 * libio/fileops.c: Fix typos in comments.
26117 * libio/oldfileops.c: Likewise.
26118 * libio/wfileops.c: Likewise.
26120 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26123 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26124 (tst-malloc-usable-ENV): Set environment for test case.
26125 * malloc/hooks.c (malloc_check_get_size): New function to get
26127 * malloc/malloc.c (musable): Use malloc_check_get_size.
26128 * malloc/tst-malloc-usable.c: New test case.
26130 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26132 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26134 2012-09-05 Allan McRae <allan@archlinux.org>
26137 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26138 determine header location.
26139 * configure: Regenerated.
26141 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26143 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26145 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26146 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26148 (test): Regenerate.
26150 2012-09-04 David S. Miller <davem@davemloft.net>
26152 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26153 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26156 2012-09-04 Florian Weimer <fweimer@redhat.com>
26158 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26161 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26163 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26166 * libio/iogetdelim.c: Include <limits.h>.
26167 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26168 + len + 1 would overflow.
26170 2012-09-03 Andreas Jaeger <aj@suse.de>
26172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26173 * sysdeps/i386/fpu/libm-test-ulps: Update.
26175 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26177 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26178 Add s_sinf-sse2, s_conf-sse2.
26180 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26181 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26182 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26183 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26185 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26186 for using routine as __sinf_ia32.
26187 Use macro for function declaration and weak_alias.
26188 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26189 for using routine as __cosf_ia32.
26190 Use macro for function declaration and weak_alias.
26192 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26193 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26195 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26196 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26199 * math/libm-test.inc (cos_test): Add more test cases.
26200 (sin_test): Likewise.
26201 (sincos_test): Likewise.
26203 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26206 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26208 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26210 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26213 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26214 first element of the GOT.
26215 (elf_machine_load_address): Return the difference between
26216 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26218 2012-09-01 Allan McRae <allan@archlinux.org>
26221 * configure.in (AWK): Require gawk version 3.0 or later.
26222 * configure: Regenerated.
26224 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26226 * sysdeps/unix/sysv/linux/kernel-features.h
26227 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26229 [__NR_clock_getres]: Make code unconditional.
26230 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26231 (clock_getcpuclockid): Remove code left unreachable by removal of
26233 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26234 code unconditional.
26235 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26237 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26238 Make code unconditional.
26239 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26240 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26241 * sysdeps/unix/sysv/linux/clock_settime.c
26242 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26244 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26245 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26247 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26250 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26251 scripts/test-installation.pl.
26253 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26254 and $ld_so_version if it is set.
26256 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26260 failure if reading from procfs failed.
26261 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26263 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26265 * sysdeps/unix/sysv/linux/kernel-features.h
26266 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26267 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26268 Remove conditional code.
26269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26270 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26271 Remove conditional code.
26272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26273 * sysdeps/unix/sysv/linux/i386/fxstat.c
26274 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26276 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26277 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26279 * sysdeps/unix/sysv/linux/i386/lxstat.c
26280 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26282 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26283 Remove conditional code.
26284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26285 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26286 Remove conditional code.
26287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26288 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26289 <kernel-features.h>.
26290 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26292 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26293 Remove conditional code.
26294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26295 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26296 Remove conditional.
26298 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26301 * NEWS: Add fixed bug number.
26303 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26306 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26307 underflowing exponent in case of negative sign.
26308 * stdlib/tst-strtod-round-data: Add more tests.
26309 * stdlib/tst-strtod-round.c (tests): Regenerated.
26312 * stdlib/strtod_l.c (NDIG): Remove.
26313 (HEXNDIG): Likewise.
26314 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26315 smallest representable value.
26316 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26317 lie within an exact representation of 1/2 ulp of the result.
26318 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26320 (TENS_P9_IDX): Define unconditionally.
26321 (TENS_P9_SIZE): Likewise.
26322 (TENS_P10_IDX): Likewise.
26323 (TENS_P10_SIZE): Likewise.
26324 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26325 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26326 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26327 entries for 10^2^13 and 10^2^14.
26328 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26329 (TENS_P13_IDX): Define.
26330 (TENS_P13_SIZE): Likewise.
26331 (TENS_P14_IDX): Likewise.
26332 (TENS_P14_SIZE): Likewise.
26333 (_fpioconst_pow10): Change array size to
26334 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26336 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26337 1024]: Add entries for 10^2^13 and 10^2^14.
26338 [LAST_POW10 > _LAST_POW10]: Remove #error.
26339 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26340 (_fpioconst_pow10): Change array size to
26341 FPIOCONST_POW10_ARRAY_SIZE.
26342 * stdlib/gen-fpioconst.c: New file.
26343 * stdlib/gen-tst-strtod-round.c: Likewise.
26344 * stdlib/tst-strtod-round-data: Likewise.
26345 * stdlib/tst-strtod-round.c: Likewise.
26346 * stdlib/Makefile (tests): Add tst-strtod-round.
26349 * stdlib/strtod_l.c: Include <stdint.h>.
26350 (NDEBUG): Do not define.
26351 (round_and_return): Change EXPONENT parameter to type intmax_t.
26352 Rearrange calculations to avoid internal overflow possibilities.
26353 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26354 Rearrange calculations to avoid internal overflow possibilities.
26355 Assert that number fits inside MPNSIZE limbs.
26356 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26357 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26358 calculations and add assertions to avoid internal overflow
26359 possibilities. Add casts to avoid signed/unsigned operations.
26360 * stdlib/tst-strtod-overflow.c: New file.
26361 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26363 2012-08-25 Marek Polacek <polacek@redhat.com>
26365 * time/time.h: Fix some typos in comments.
26367 2012-08-23 Roland McGrath <roland@hack.frob.com>
26369 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26370 * posix/tst-rfc3484-2.c: Likewise.
26371 * posix/tst-rfc3484-3.c: Likewise.
26373 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26375 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26376 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26378 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26380 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26381 #include of fxstatat64.c.
26383 2012-08-22 Roland McGrath <roland@hack.frob.com>
26385 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26386 * shadow/getspent_r.c: Likewise.
26387 * shadow/getspnam.c: Likewise.
26388 * shadow/getspnam_r.c: Likewise.
26389 * gshadow/getsgent.c: Likewise.
26390 * gshadow/getsgent_r.c: Likewise.
26391 * gshadow/getsgnam.c: Likewise.
26392 * gshadow/getsgnam_r.c: Likewise.
26393 * inet/getnetbyad.c: Likewise.
26394 * inet/getnetbyad_r.c: Likewise.
26395 * inet/getnetbynm.c: Likewise.
26396 * inet/getnetbynm_r.c: Likewise.
26397 * inet/getnetent.c: Likewise.
26398 * inet/getnetent_r.c: Likewise.
26399 * inet/getproto.c: Likewise.
26400 * inet/getproto_r.c: Likewise.
26401 * inet/getprtent.c: Likewise.
26402 * inet/getprtent_r.c: Likewise.
26403 * inet/getprtname.c: Likewise.
26404 * inet/getprtname_r.c: Likewise.
26405 * inet/getrpcbyname.c: Likewise.
26406 * inet/getrpcbyname_r.c: Likewise.
26407 * inet/getrpcbynumber.c: Likewise.
26408 * inet/getrpcbynumber_r.c: Likewise.
26409 * inet/getrpcent.c: Likewise.
26410 * inet/getrpcent_r.c: Likewise.
26411 * inet/getaliasent.c: Likewise.
26412 * inet/getaliasent_r.c: Likewise.
26413 * inet/getaliasname.c: Likewise.
26414 * inet/getaliasname_r.c: Likewise.
26415 * nscd/getgrgid_r.c: Likewise.
26416 * nscd/getgrnam_r.c: Likewise.
26417 * nscd/gethstbyad_r.c: Likewise.
26418 * nscd/gethstbynm3_r.c: Likewise.
26419 * nscd/getpwnam_r.c: Likewise.
26420 * nscd/getpwuid_r.c: Likewise.
26421 * nscd/getsrvbynm_r.c: Likewise.
26422 * nscd/getsrvbypt_r.c: Likewise.
26423 * nscd/gai.c: Likewise.
26425 * configure.in (build_nscd): New substituted variable, set
26426 by --disable-build-nscd and defaults to $use_nscd.
26427 * configure: Regenerated.
26428 * config.make.in (build-nscd): New substituted variable.
26429 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26430 Change conditional to require [$(build-nscd) = yes] as well.
26431 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26434 * configure.in (use_nscd): New substituted variable, set by
26435 --disable-nscd. If enabled, define USE_NSCD.
26436 * configure: Regenerated.
26437 * config.h.in: Add USE_NSCD.
26438 * config.make.in (use-nscd): New substituted variable.
26439 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26440 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26441 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26442 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26443 (CFLAGS-getgrnam_r.c): Likewise.
26444 (CFLAGS-initgroups.c): Likewise.
26445 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26446 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26448 * inet/getnetgrent_r.c
26449 (nscd_setnetgrent): New function, broken out of ...
26450 (setnetgrent): ... here. Call it.
26451 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26452 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26453 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26454 * nscd/Makefile (routines, aux): Move definitions after include of
26455 Makeconfig. Conditionalize on [$(use-nscd) != no].
26456 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26457 Conditionalize on [USE_NSCD].
26458 (is_nscd, nscd_init_cb): Likewise.
26459 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26460 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26461 * nss/nss_db/db-init.c: Likewise.
26462 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26464 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26465 (make_request): Use it.
26466 (cache_valid_p): New function.
26467 (__check_pf): Use it.
26468 * NEWS: Add item for --disable-nscd.
26470 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26472 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26473 to support sed >= 4.2.1-20-ga9bf076.
26474 * configure: Regenerated.
26476 2012-08-22 Roland McGrath <roland@hack.frob.com>
26478 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26479 Conditionalize whole body on [IREL].
26481 2012-08-22 Jeff Law <law@redhat.com>
26484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26485 if the family is PF_UNSPEC.
26487 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26489 * Makerules (lib-version): Rename from V.
26490 (install-lib-nosubdir): Change V to lib-version.
26492 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26495 * powerpc32/power6/wcschr.c: New file.
26496 * powerpc32/power6/wcscpy.c: New file.
26497 * powerpc32/power6/wcsrchr.c: New file.
26498 * powerpc64/power6/wcschr.c: New file.
26499 * powerpc64/power6/wcscpy.c: New file.
26500 * powerpc64/power6/wcsrchr.c: New file.
26502 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26504 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26505 (two_way_short_needle): Use it.
26506 * string/strstr.c (AVAILABLE1_USES_J): Define.
26507 * string/strcasestr.c: Likewise.
26509 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26511 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26514 * NEWS: Add an entry.
26515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26516 define their defaults.
26517 (two_way_short_needle): Detect end-of-string on-the-fly.
26518 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26519 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26520 * string/bug-strcasestr1.c: New test.
26521 * string/Makefile: Run it.
26523 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26526 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26527 the first character.
26529 2012-08-21 Roland McGrath <roland@hack.frob.com>
26531 * csu/elf-init.c (__libc_csu_irel): Function removed.
26532 * csu/libc-start.c (apply_irel): New function.
26533 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26535 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26537 * sysdeps/unix/sysv/linux/kernel-features.h
26538 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26539 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26540 <kernel-features.h>.
26541 [__NR_fadvise64_64]: Make code unconditional.
26542 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26543 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26544 !__NR_fadvise64_64)]: Likewise.
26545 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26546 !__NR_fadvise64_64))]: Likewise.
26547 [__NR_fadvise64]: Make code unconditional.
26548 [!__NR_fadvise64]: Remove conditional code.
26549 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26550 <kernel-features.h>.
26551 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26553 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26556 not include <kernel-features.h>.
26557 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26559 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26561 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26562 include <kernel-features.h>.
26563 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26565 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26568 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26570 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26571 slight instruction rearrangements per scrollpipe analysis.
26572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26574 2012-08-20 Roland McGrath <roland@hack.frob.com>
26576 * manual/syslog.texi (syslog; vsyslog, closelog):
26577 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26578 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26580 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26581 DSOCAPS to match condition on defining it.
26583 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26585 * sysdeps/unix/sysv/linux/kernel-features.h
26586 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26588 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26589 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26591 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26592 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26594 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26595 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26597 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26598 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26600 * sysdeps/unix/sysv/linux/kernel-features.h
26601 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26602 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26604 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26605 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26606 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26607 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26608 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26609 Make code unconditional.
26610 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26611 (__mmap64) [!__NR_mmap2]: Likewise.
26612 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26613 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26614 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26615 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26616 [__NR_mmap2]: Make code unconditional.
26617 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26618 (__mmap64) [!__NR_mmap2]: Likewise.
26620 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26622 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26624 2012-08-18 Andreas Jaeger <aj@suse.de>
26626 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26628 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26630 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26631 * include/unistd.h (__have_sock_cloexec): Likewise.
26632 (__have_pipe2): Likewise.
26633 (__have_dup3): Likewise.
26635 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26638 * include/unistd.h (__have_pipe2): Change define into an extern int.
26639 (__have_dup3): Likewise.
26640 * socket/have_sock_cloexec.c: Include fcntl.h.
26641 (__have_pipe2): New variable.
26642 (__have_dup3): Likewise.
26644 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26646 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26648 2012-08-17 Marek Polacek <polacek@redhat.com>
26650 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26651 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26653 2012-08-17 Roland McGrath <roland@hack.frob.com>
26655 * configure.in: Add AC_SUBST for sysheaders.
26656 * configure: Regenerated.
26657 * config.make.in (sysheaders): New substituted variable.
26659 * sysdeps/unix/mkfifo.c: Moved ...
26660 * sysdeps/posix/mkfifo.c: ... here.
26661 * sysdeps/unix/mkfifoat.c: Moved ...
26662 * sysdeps/posix/mkfifoat.c: ... here.
26664 * sysdeps/unix/utime.c: Moved ...
26665 * sysdeps/posix/utime.c: ... here.
26667 * sysdeps/unix/time.c: Moved ...
26668 * sysdeps/posix/time.c: ... here.
26669 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26670 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26672 * sysdeps/unix/nice.c: Moved ...
26673 * sysdeps/posix/nice.c: ... here.
26675 * sysdeps/unix/alarm.c: Moved ...
26676 * sysdeps/posix/alarm.c: ... here.
26678 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26680 2012-08-17 Jeff Law <law@redhat.com>
26682 * intl/Makefile (codeset_mo): New variable.
26683 ($(codeset_mo)): New target.
26684 (tst-codeset.out): Depend on that. Remove explicit rule.
26685 (tst-gettext3.out, tst-gettext5.out): Likewise.
26686 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26687 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26688 * intl/tst-codeset.sh: Remove.
26689 * intl/tst-gettext3.sh: Likewise.
26690 * intl/tst-gettext5.sh: Likewise.
26692 2012-08-17 Roland McGrath <roland@hack.frob.com>
26694 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26695 * sysdeps/unix/syscalls.list: ... here.
26697 * sysdeps/posix/getaddrinfo.c
26698 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26699 (gaiconf_init, gaiconf_reload): Use them.
26700 [!_STATBUF_ST_NSEC]
26701 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26702 Define using time_t rather than struct timespec.
26704 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26705 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26707 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26709 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26710 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26713 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26714 __libc_cleanup_push argument.
26716 * bits/param.h: New file.
26717 * misc/sys/param.h: New file.
26718 * include/sys/param.h: New file.
26719 * misc/Makefile (headers): Add bits/param.h.
26720 * sysdeps/generic/sys/param.h: File removed.
26721 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26722 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26723 * sysdeps/mach/hurd/bits/param.h: New file.
26724 * sysdeps/mach/hurd/sys/param.h: File removed.
26726 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26729 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26731 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26732 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26735 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26736 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26737 rather than -D_IO_MTSAFE_IO conditionally.
26738 * stdio-common/Makefile (CPPFLAGS): Likewise.
26739 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26740 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26741 Use $(libio-mtsafe).
26742 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26743 of -D_IO_MTSAFE_IO.
26744 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26745 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26746 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26747 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26748 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26749 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26750 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26751 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26752 (CFLAGS-fread_u_chk.c): Likewise.
26753 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26754 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26755 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26756 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26757 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26758 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26759 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26760 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26761 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26763 * libio/Makefile: Test [$(libc-reentrant) = yes]
26764 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26767 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26768 * sysdeps/pthread/configure: File removed.
26769 * sysdeps/pthread/Makeconfig: New file.
26770 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26771 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26773 2012-08-16 Gary Benson <gbenson@redhat.com>
26775 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26776 unmapping the first object in a namespace.
26778 2012-08-16 Roland McGrath <roland@hack.frob.com>
26780 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26781 (__internal_setnetgrent): ... this. Add internal_function to
26782 definition. Add libc_hidden_def.
26783 (setnetgrent): Update caller.
26784 (internal_endnetgrent): Renamed to ...
26785 (__internal_endnetgrent): ... this. Add internal_function to
26786 definition. Add libc_hidden_def.
26787 (endnetgrent): Update caller.
26788 (internal_getnetgrent_r): Renamed to ...
26789 (__internal_getnetgrent_r): ... this. Add internal_function to
26790 definition. Add libc_hidden_def.
26791 (__getnetgrent_r): Update caller.
26792 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26794 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26796 * stdlib/longlong.h: Update from GCC.
26798 2012-08-16 Roland McGrath <roland@hack.frob.com>
26800 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26801 on _QL, which is set by umul_ppmm but never used.
26802 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26803 variables, which are set by GMP macros but never used.
26804 * stdio-common/_itowa.c (_itowa): Likewise.
26805 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26806 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26808 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26810 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26811 struct La_sh_regs is not constant.
26812 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26813 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26814 and struct La_sparc64_regs are not constant.
26816 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26818 * sysdeps/unix/sysv/linux/kernel-features.h
26819 (__ASSUME_POSIX_TIMERS): Remove.
26820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26822 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26823 Make code unconditional.
26824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26825 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26826 Make code unconditional.
26827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26828 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26829 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26831 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26832 Make code unconditional.
26833 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26834 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26835 (__libc_missing_posix_timers): Remove.
26837 2012-08-15 Roland McGrath <roland@hack.frob.com>
26839 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26840 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26842 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26844 * elf/dl-sym.c: Include <stdlib.h>.
26846 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26847 constants, which avoids warnings in 32-bit builds.
26849 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26850 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26852 * misc/lseek.c: File moved to ...
26853 * io/lseek.c: ... here.
26855 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26857 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26858 shifting LEN more than 31 bits at once.
26860 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26863 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26864 segmentation fault for a case of two empty input strings.
26865 * string/test-strncasecmp.c (check1): Renamed to...
26866 (bz12205): ...this.
26867 (bz14195): Add new testcase for two empty input strings and N > 0.
26868 (test_main): Call new testcase, adapt for renamed function.
26870 2012-08-15 Andreas Jaeger <aj@suse.de>
26873 * crypt/md5test2.c: New test, based on test supplied by Serge
26874 Belyshev <belyshev@depni.sinp.msu.ru>.
26875 * crypt/Makefile (xtests): Add md5test-giant..
26876 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26878 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26881 * crypt/md5.c (md5_process_block): Don't assume the buffer
26882 length is less than 2**32.
26883 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26884 length is less than 2**64.
26886 2012-08-15 Roland McGrath <roland@hack.frob.com>
26888 * string/str-two-way.h: Include <sys/param.h>.
26889 (MAX): Macro removed.
26891 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26892 Move #define and #undef of memmove to just before and after
26893 including <string.h>.
26895 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26896 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26897 and after including <string.h>. Move declarations of
26898 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26899 to before #include "string/memmove.c".
26901 * include/dirent.h: Declare __getdirentries.
26903 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26904 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26906 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26908 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26909 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26910 * sysdeps/i386/configure: Regenerated.
26911 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26912 STABS_CURRENT_FILE, and STABS_FUN.
26913 (END): Remove call to STABS_FUN_END.
26914 (STABS_CURRENT_FILE1): Delete.
26915 (STABS_CURRENT_FILE): Likewise.
26916 (STABS_FUN): Likewise.
26917 (STABS_FUN_END): Likewise.
26918 (STABS_FUN2): Likewise.
26919 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26920 * sysdeps/x86_64/configure: Regenerated.
26922 2012-08-14 Roland McGrath <roland@hack.frob.com>
26924 * elf/dl-open.c: Include <atomic.h>.
26925 * elf/dl-lookup.c: Likewise.
26927 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26929 * sysdeps/unix/sysv/linux/kernel-features.h
26930 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26931 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26933 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26935 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26936 condition on __ASSUME_CLONE_THREAD_FLAGS.
26938 2012-08-14 Andreas Jaeger <aj@suse.de>
26940 * sysdeps/i386/fpu/libm-test-ulps: Update.
26942 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26944 * include/atomic.h (atomic_exchange_and_add): Split into ...
26945 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26948 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26952 2012-08-13 Jeff Law <law@redhat.com>
26954 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26955 null byte in the output string.
26957 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26959 * sysdeps/unix/sysv/linux/kernel-features.h
26960 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26961 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26962 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26964 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26965 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26966 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26968 2012-08-09 Jeff Law <law@redhat.com>
26971 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26972 When avoid_arena is set, don't retry in the that arena. Pick the
26973 next one, whatever it might be.
26974 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26975 (arena_lock): Pass in new parameter to arena_get2.
26976 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26978 (__libc_malloc): Unify retrying after main arena failure with
26979 __libc_memalign version.
26980 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26982 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26985 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26986 to __redirect_strstr.
26987 (__strstr_sse42): Use typeof __redirect_strstr.
26988 (__strstr_ia32): Likewise.
26989 (__libc_strstr): New prototype.
26990 (strstr): Renamed to ...
26991 (__libc_strstr): This.
26992 (strstr): New strong alias of __libc_strstr.
26993 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26994 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26997 (__libc_time): New prototype.
26998 (time_ifunc): Replace time with __libc_time.
26999 (time): New strong alias and hidden definition of __libc_time.
27000 (__GI_time): Remove strong alias.
27001 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27002 Include <stddef.h>.
27003 (memmove): Redefined to __redirect_memmove.
27004 (__memmove_sse2): Use typeof __redirect_memmove.
27005 (__memmove_ssse3): Likewise.
27006 (__memmove_ssse3_back): Likewise.
27007 (__libc_memmove): New prototype.
27008 (memmove): Renamed to ...
27009 (__libc_memmove): This.
27010 (memmove): New strong alias of __libc_memmove.
27012 2012-08-08 Mark Salter <msalter@redhat.com>
27015 (R_MN10300_TLS_GD): Define.
27016 (R_MN10300_TLS_LD): Likewise.
27017 (R_MN10300_TLS_LDO): Likewise.
27018 (R_MN10300_TLS_GOTIE): Likewise.
27019 (R_MN10300_TLS_IE): Likewise.
27020 (R_MN10300_TLS_LE): Likewise.
27021 (R_MN10300_TLS_DTPMOD): Likewise.
27022 (R_MN10300_TLS_DTPOFF): Likewise.
27023 (R_MN10300_TLS_TPOFF): Likewise.
27024 (R_MN10300_SYM_DIFF): Likewise.
27025 (R_MN10300_ALIGN): Likewise.
27026 (R_MN10300_NUM): Update.
27028 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27033 2012-08-08 Roland McGrath <roland@hack.frob.com>
27035 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27037 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27038 sysdeps/unix -> sysdeps/posix move.
27039 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27041 2012-08-07 Allan McRae <allan@archlinux.org>
27044 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27045 (SUNOS_CPP): Likewise.
27046 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27048 (open_input): Call CPP using execvp.
27050 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27052 * sysdeps/unix/sysv/linux/kernel-features.h
27053 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27054 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27055 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27056 (__ASSUME_WAITID_SYSCALL): Likewise.
27057 * sysdeps/unix/sysv/linux/dl-execstack.c
27058 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27059 code unconditional.
27060 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27062 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27063 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27064 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27066 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27068 [__ASSUME_WAITID_SYSCALL]: Likewise.
27069 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27071 2012-08-07 Roland McGrath <roland@hack.frob.com>
27073 * sysdeps/unix/closedir.c: Renamed to ...
27074 * sysdeps/posix/closedir.c: ... here.
27075 * sysdeps/unix/dirfd.c: Renamed to ...
27076 * sysdeps/posix/dirfd.c: ... here.
27077 * sysdeps/unix/dirstream.h: Renamed to ...
27078 * sysdeps/posix/dirstream.h: ... here.
27079 * sysdeps/unix/fdopendir.c: Renamed to ...
27080 * sysdeps/posix/fdopendir.c: ... here.
27081 * sysdeps/unix/opendir.c: Renamed to ...
27082 * sysdeps/posix/opendir.c: ... here.
27083 * sysdeps/unix/readdir.c: Renamed to ...
27084 * sysdeps/posix/readdir.c: ... here.
27085 * sysdeps/unix/readdir_r.c: Renamed to ...
27086 * sysdeps/posix/readdir_r.c: ... here.
27087 * sysdeps/unix/rewinddir.c: Renamed to ...
27088 * sysdeps/posix/rewinddir.c: ... here.
27089 * sysdeps/unix/seekdir.c: Renamed to ...
27090 * sysdeps/posix/seekdir.c: ... here.
27091 * sysdeps/unix/telldir.c: Renamed to ...
27092 * sysdeps/posix/telldir.c: ... here.
27093 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27094 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27095 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27096 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27098 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27099 * bits/fcntl.h: ... here.
27101 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27103 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27104 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27105 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27106 (struct flock): Move l_start, l_len to the beginning.
27107 Use __pid_t for l_pid.
27108 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27109 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27110 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27111 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27112 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27113 [__USE_LARGEFILE64] (struct flock64): New type.
27114 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27116 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27117 * bits/dirent.h: ... here.
27119 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27120 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27122 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27125 Change from 2.6.0 to 2.6.16.
27126 * sysdeps/unix/sysv/linux/configure: Regenerated.
27127 * sysdeps/unix/sysv/linux/kernel-features.h
27128 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27129 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27131 (__ASSUME_UTIMES): Likewise.
27132 (__ASSUME_CLONE_STOPPED): Remove.
27133 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27134 architectures, not kernel version.
27135 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27136 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27137 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27138 (__ASSUME_WAITID_SYSCALL): Likewise.
27139 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27140 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27141 * README: State 2.6.16 as minimum Linux kernel version. Do not
27142 refer to older versions.
27144 2012-08-06 Roland McGrath <roland@hack.frob.com>
27146 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27147 Define alphasort64 as an alias.
27148 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27149 Define versionsort64 as an alias.
27150 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27151 Define scandir64 as an alias.
27152 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27153 Define scandirat64 as an alias.
27154 * dirent/alphasort64.c (alphasort64):
27155 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27156 * dirent/versionsort64.c: Likewise.
27157 * dirent/scandir64.c: Likewise.
27158 * dirent/scandirat64.c: Likewise.
27159 * sysdeps/wordsize-64/alphasort.c: File removed.
27160 * sysdeps/wordsize-64/alphasort64.c: File removed.
27161 * sysdeps/wordsize-64/scandir.c: File removed.
27162 * sysdeps/wordsize-64/scandir64.c: File removed.
27163 * sysdeps/wordsize-64/scandirat.c: File removed.
27164 * sysdeps/wordsize-64/scandirat64.c: File removed.
27165 * sysdeps/wordsize-64/versionsort.c: File removed.
27166 * sysdeps/wordsize-64/versionsort64.c: File removed.
27167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27169 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27170 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27171 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27172 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27176 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27178 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27180 [defined __arch64__ || defined __sparcv9]
27181 (__INO_T_MATCHES_INO64_T): New macro.
27182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27183 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27184 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27185 * sysdeps/unix/sysv/linux/bits/dirent.h
27186 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27187 (_DIRENT_MATCHES_DIRENT64): New macro.
27189 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27190 Define lockf64 as an alias.
27191 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27192 Define fseeko64 as an alias.
27193 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27194 Define ftello64 as an alias.
27195 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27196 Define _IO_fgetpos64 and fgetpos64 as aliases.
27197 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27198 Define _IO_fsetpos64 and fsetpos64 as aliases.
27199 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27200 Conditionalize body on this.
27201 * libio/fseeko64.c: Likewise.
27202 * libio/ftello64.c: Likewise.
27203 * libio/iofgetpos64.c: Likewise.
27204 * libio/iofsetpos64.c: Likewise.
27205 * sysdeps/wordsize-64/lockf.c: File removed.
27206 * sysdeps/wordsize-64/lockf64.c: File removed.
27207 * sysdeps/wordsize-64/fseeko.c: File removed.
27208 * sysdeps/wordsize-64/fseeko64.c: File removed.
27209 * sysdeps/wordsize-64/ftello.c: File removed.
27210 * sysdeps/wordsize-64/ftello64.c: File removed.
27211 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27212 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27213 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27214 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27226 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27228 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27230 [defined __arch64__ || defined __sparcv9]
27231 (__OFF_T_MATCHES_OFF64_T): New macro.
27232 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27233 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27235 (__OFF_T_MATCHES_OFF64_T): New macro.
27237 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27239 * stdlib/secure-getenv.c (__secure_getenv): Replace
27240 GLIBC_2_16 with GLIBC_2_17.
27242 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27244 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27245 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27247 2012-08-03 David S. Miller <davem@davemloft.net>
27249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27251 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27255 (__ASSUME_CORRECT_SI_PID): Likewise.
27256 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27257 (__ASSUME_TMPFS_NAME): Likewise.
27258 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27259 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27260 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27261 (HAVE_AUX_SECURE): Make definition unconditional.
27262 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27263 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27265 2012-08-03 Roland McGrath <roland@hack.frob.com>
27267 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27268 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27269 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27270 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27271 __eloop_threshold instead of SYMLOOP_MAX.
27273 * sysdeps/generic/eloop-threshold.h: New file.
27274 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27276 * elf/chroot_canon.c (chroot_canon): Likewise.
27278 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27282 Change to 2.6.0 everywhere.
27283 * sysdeps/unix/sysv/linux/configure: Regenerated.
27284 * sysdeps/unix/sysv/linux/kernel-features.h
27285 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27286 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27288 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27289 (__ASSUME_FUTEX_REQUEUE): Remove.
27290 (__ASSUME_STATFS64): Define unconditionally.
27291 (__ASSUME_AT_SECURE): Likewise.
27292 (__ASSUME_CORRECT_SI_PID): Likewise.
27293 (__ASSUME_TGKILL): Define without depending on kernel version for
27295 (__ASSUME_UTIMES): Likewise.
27296 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27298 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27299 (__ASSUME_TMPFS_NAME): Likewise.
27300 * README: Update reference to Linux kernel versions.
27302 2012-08-02 Marek Polacek <polacek@redhat.com>
27305 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27306 libc_cv_asm_type_prefix with %.
27307 * configure: Regenerated.
27308 * include/libc-symbols.h: Remove comment about
27309 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27310 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27311 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27312 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27313 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27314 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27315 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27316 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27317 * elf/tst-unique2mod1.c: Likewise.
27318 * elf/tst-unique1mod2.c: Likewise.
27319 * elf/tst-unique1mod1.c: Likewise.
27320 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27321 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27322 Replace ASM_TYPE_DIRECTIVE with .type.
27323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27324 * sysdeps/i386/sysdep.h: Likewise.
27325 * sysdeps/x86_64/sysdep.h: Likewise.
27326 * sysdeps/sh/sysdep.h: Likewise.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27328 Do not define ASM_TYPE_DIRECTIVE.
27329 * sysdeps/powerpc/sysdep.h: Likewise.
27330 * sysdeps/powerpc/powerpc32/sysdep.h:
27331 Replace ASM_TYPE_DIRECTIVE with .type.
27332 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27333 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27334 * sysdeps/i386/fpu/e_powf.S: Likewise.
27335 * sysdeps/i386/fpu/e_expl.S: Likewise.
27336 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27337 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27338 * sysdeps/i386/fpu/e_pow.S: Likewise.
27339 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27340 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27341 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27342 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27343 * sysdeps/i386/fpu/e_log2.S: Likewise.
27344 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27345 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27346 * sysdeps/i386/fpu/e_powl.S: Likewise.
27347 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27348 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27349 * sysdeps/i386/fpu/e_logl.S: Likewise.
27350 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27351 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27352 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27353 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27354 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27355 * sysdeps/i386/fpu/e_log.S: Likewise.
27356 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27357 * sysdeps/i386/fpu/e_logf.S: Likewise.
27358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27359 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27360 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27361 * sysdeps/i386/fpu/e_log10.S: Likewise.
27362 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27363 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27364 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27365 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27366 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27367 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27368 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27369 * sysdeps/i386/i686/strtok.S: Likewise.
27370 * sysdeps/i386/i386-mcount.S: Likewise.
27371 * sysdeps/i386/strtok.S: Likewise.
27372 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27373 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27374 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27375 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27376 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27378 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27379 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27380 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27381 * sysdeps/x86_64/_mcount.S: Likewise.
27382 * sysdeps/x86_64/strtok.S: Likewise.
27383 * sysdeps/sh/_mcount.S: Likewise.
27385 2012-08-01 Roland McGrath <roland@hack.frob.com>
27387 * libio/iofopen.c: Include <fcntl.h>.
27388 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27389 (_IO_fopen64, fopen64): Define as aliases.
27390 * libio/iofopen64.c: Include <fcntl.h>.
27391 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27392 Conditionalize body on this.
27393 * sysdeps/wordsize-64/iofopen.c: File removed.
27394 * sysdeps/wordsize-64/iofopen64.c: File removed.
27396 2012-08-01 Marek Polacek <polacek@redhat.com>
27398 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27399 Use dlfcn directly instead of a variable.
27400 (binfmt-subdir): Do not define.
27403 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27406 Remove all definitions.
27407 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27408 <kernel-features.h>.
27409 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27410 (miss_F_GETOWN_EX): Remove all definitions.
27411 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27413 [!__ASSUME_FCNTL64]: Remove conditional code.
27414 [__ASSUME_FCNTL64]: Make code unconditional.
27415 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27416 <kernel-features.h>.
27417 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27418 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27419 (lockf64) [__NR_fcntl64]: Make code unconditional.
27420 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27422 * sysdeps/unix/sysv/linux/kernel-features.h
27423 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27424 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27425 Make code unconditional.
27426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27429 [__NR_vfork]: Make code unconditional.
27430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27433 [__NR_vfork]: Make code unconditional.
27434 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27435 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27437 2012-08-01 Roland McGrath <roland@hack.frob.com>
27439 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27440 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27442 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27443 Define mkstemp64 as an alias.
27444 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27445 Define mkstemps64 as an alias.
27446 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27447 Define mkostemp64 as an alias.
27448 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27449 Define mkostemps64 as an alias.
27450 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27451 Conditionalize body on this.
27452 * misc/mkostemp64.c: Likewise.
27453 * misc/mkostemps64.c: Likewise.
27454 * misc/mkstemps64.c: Likewise.
27455 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27456 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27457 * sysdeps/wordsize-64/mkostemp.c: File removed.
27458 * sysdeps/wordsize-64/mkstemp.c: File removed.
27459 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27460 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27461 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27462 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27465 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27466 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27467 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27468 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27470 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27471 compat_symbol macros from <shlib-compat.h> rather than the underlying
27472 default_symbol_version and symbol_version macros, so that DEFAULT
27473 lines in shlib-versions are respected.
27474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27476 2012-08-01 Florian Weimer <fweimer@redhat.com>
27478 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27479 Declare with warn_unused_result.
27480 (setgid, setregid, setegid, setresgid): Likewise.
27481 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27483 * WUR-REPORT: Remove set*id functions.
27485 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27487 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27489 2012-07-31 Roland McGrath <roland@hack.frob.com>
27492 * include/sys/socket.h (__libc_accept, __libc_accept4):
27493 Add attribute_hidden.
27494 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27496 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27498 * inet/getnetgrent_r.c (setup): Likewise.
27500 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27502 2012-07-31 David S. Miller <davem@davemloft.net>
27504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27506 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27509 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27510 value between 1.0 and 2.0 and smaller part has absolute value less
27512 * math/s_clog10.c (__clog10): Likewise.
27513 * math/s_clog10f.c (__clog10f): Likewise.
27514 * math/s_clog10l.c (__clog10l): Likewise.
27515 * math/s_clogf.c (__clogf): Likewise.
27516 * math/s_clogl.c (__clogl): Likewise.
27517 * math/libm-test.inc (clog_test): Add more tests.
27518 (clog10_test): Likewise.
27519 * sysdeps/i386/fpu/libm-test-ulps: Update.
27520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27522 2012-07-31 Florian Weimer <fweimer@redhat.com>
27524 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27525 Exit with zero in case no suitable GID is found, and write a
27526 message to standard error.
27528 2012-07-30 Roland McGrath <roland@hack.frob.com>
27530 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27532 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27533 (MAXPATHLEN): Removed.
27534 (NOGROUP, NODEV): New macros.
27535 (setbit, clrbit, isset, isclr): New macros.
27536 (howmany, roundup, powerof2): New macros.
27537 (DEV_BSIZE): New macro.
27539 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27540 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27542 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27543 definition on [!__NO_LONG_DOUBLE_MATH].
27545 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27546 PTR_MANGLE and PTR_DEMANGLE.
27548 * socket/accept4.c (accept4): Rename to __libc_accept4.
27549 Define accept4 as a weak alias.
27551 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27552 on [_DIRENT_HAVE_D_TYPE].
27553 * io/ftw.c (ftw_dir): Likewise.
27555 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27557 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27559 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27560 Use the BSD numbers rather than the arbitrary ones we had.
27561 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27562 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27563 (SIGXCPU, SIGXFSZ): New macros.
27566 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27567 initializer on [_LIBC_REENTRANT].
27569 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27570 definitions inside [_POSIX_MAPPED_FILES].
27572 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27574 * dirent/opendir.c: Include <fcntl.h>.
27576 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27577 (__libc_getspecific): Likewise.
27578 (__libc_key_create): Likewise.
27580 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27581 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27582 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27583 (tmpfile64): Define as alias.
27584 * sysdeps/wordsize-64/tmpfile.c: File removed.
27585 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27586 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27589 * stdio-common/vfscanf.c: Include <stdbool.h>.
27590 * nss/makedb.c: Likewise.
27591 * stdio-common/_i18n_number.h: Likewise.
27592 * argp/argp-help.c: Likewise.
27593 * posix/wordexp.c: Likewise.
27594 * sysdeps/posix/spawni.c: Likewise.
27595 * nss/nss_files/files-initgroups.c: Likewise.
27596 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27597 * nss/nss_files/files-initgroups.c: Likewise.
27598 * nss/nss_db/db-netgrp.c: Likewise.
27599 * nss/nss_db/db-initgroups.c: Likewise.
27600 * io/fchmodat.c: Include <sys/stat.h>.
27602 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27603 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27605 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27608 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27609 Add multiple inclusion protection.
27611 2012-07-27 David S. Miller <davem@davemloft.net>
27613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27615 2012-07-27 Gary Benson <gbenson@redhat.com>
27618 * elf/rtld.c: Include <stap-probe.h>.
27619 (dl_main): Added static probes "init_start" and "init_complete".
27620 * elf/dl-load.c: Include <stap-probe.h>.
27621 (lose): Take new parameter "nsid".
27622 Added static probe "map_failed".
27623 (_dl_map_object_from_fd): Pass namespace id to lose.
27624 Added static probe "map_start".
27625 (open_verify): Pass namespace id to lose.
27626 * elf/dl-open.c: Include <stap-probe.h>.
27627 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27628 and "reloc_complete".
27629 * elf/dl-close.c: Include <stap-probe.h>.
27630 (_dl_close_worker): Added static probes "unmap_start" and
27632 * elf/rtld-debugger-interface.txt: New file documenting the above.
27634 2012-07-26 Roland McGrath <roland@hack.frob.com>
27636 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27637 rather than a string variable.
27638 * sunrpc/rpc_main.c (h_output): Likewise.
27639 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27641 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27643 * inet/check_native.c: New file.
27645 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27648 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27649 if larger part has absolute value 1.0.
27650 * math/s_clog10.c (__clog10): Likewise.
27651 * math/s_clog10f.c (__clog10f): Likewise.
27652 * math/s_clog10l.c (__clog10l): Likewise.
27653 * math/s_clogf.c (__clogf): Likewise.
27654 * math/s_clogl.c (__clogl): Likewise.
27655 * math/libm-test.inc (clog_test): Add more tests.
27656 (clog10_test): Likewise.
27657 * sysdeps/i386/fpu/libm-test-ulps: Update.
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27661 (pltexit): Likewise.
27662 (La_regs): Likewise.
27663 (La_retval): Likewise.
27664 (int_retval): Likewise.
27665 Update #error for removed macros to refer only to definitions in
27667 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27669 (pltexit): Likewise.
27670 (La_regs): Likewise.
27671 (La_retval): Likewise.
27672 (int_retval): Likewise.
27673 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27675 (pltexit): Likewise.
27676 (La_regs): Likewise.
27677 (La_retval): Likewise.
27678 (int_retval): Likewise.
27679 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27681 (pltexit): Likewise.
27682 (La_regs): Likewise.
27683 (La_retval): Likewise.
27684 (int_retval): Likewise.
27685 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27687 (pltexit): Likewise.
27688 (La_regs): Likewise.
27689 (La_retval): Likewise.
27690 (int_retval): Likewise.
27691 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27693 (pltexit): Likewise.
27694 (La_regs): Likewise.
27695 (La_retval): Likewise.
27696 (int_retval): Likewise.
27697 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27699 (pltexit): Likewise.
27700 (La_regs): Likewise.
27701 (La_retval): Likewise.
27702 (int_retval): Likewise.
27703 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27704 macro definitions in tst-audit.h.
27705 * sysdeps/i386/tst-audit.h: New file.
27706 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27707 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27708 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27709 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27710 * sysdeps/sh/tst-audit.h: Likewise.
27711 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27712 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27713 * sysdeps/x86_64/tst-audit.h: Likewise.
27715 2012-07-26 Andreas Jaeger <aj@suse.de>
27717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27720 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27721 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27722 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27724 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27725 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27726 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27728 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27731 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27733 (si_call_addr, si_syscall, si_arch): Define new macro.
27734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27736 (si_call_addr, si_syscall, si_arch): Define new marcro.
27737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27739 (si_call_addr, si_syscall, si_arch): Define new macro.
27740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27742 (si_call_addr, si_syscall, si_arch): Define new macro.
27744 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27748 Change to 2.4.21 where previously 2.4.1.
27749 * sysdeps/unix/sysv/linux/configure: Regenerated.
27750 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27751 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27752 Linux kernel version.
27753 (__ASSUME_STD_AUXV): Remove.
27754 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27756 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27757 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27758 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27759 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27760 (__ASSUME_NETLINK_SUPPORT): Likewise.
27761 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27762 (__no_netlink_support): Remove conditional definition.
27763 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27765 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27766 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27767 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27768 (if_nameindex_ioctl): Remove.
27769 (if_nameindex_netlink): Do not handle __no_netlink_support.
27770 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27772 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27773 Remove conditional code.
27774 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27776 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27778 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27779 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27780 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27782 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27783 [!__ASSUME_STD_AUXV]: Remove conditional code.
27784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27785 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27786 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27788 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27791 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27793 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27794 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27796 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27798 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27801 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27804 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27805 code unconditional.
27806 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27808 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27810 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27813 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27815 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27818 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27819 code unconditional.
27820 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27822 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27824 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27827 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27828 code unconditional.
27829 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27831 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27833 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27836 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27838 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27839 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27840 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27841 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27842 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27843 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27844 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27845 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27846 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27847 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27848 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27849 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27850 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27851 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27852 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27853 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27854 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27855 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27856 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27858 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27859 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27862 2012-07-25 Florian Weimer <fweimer@redhat.com>
27864 * Versions.def: Add GLIBC_2.17.
27865 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27866 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27867 Introduce __libc_secure_getenv.
27868 * stdlib/Versions (2.17): Add secure_getenv
27869 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27870 * stdlib/secure-getenv.c: Rename __secure_getenv to
27871 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27872 symbol __secure_getenv for GLIBC_2.0.
27873 * stdlib/tst-secure-getenv.c: New.
27874 * stdlib/Makefile (tests): Add testcase.
27875 * manual/startup.texi (Environment Access): Document
27877 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27878 __libc_secure_getenv.
27879 * inet/ruserpass.c (ruserpass): Likewise.
27880 * malloc/mtrace.c (mtrace): Likewise.
27881 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27882 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27883 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27884 * sysdeps/posix/tempname.c: Likewise. Evaluate
27885 HAVE_SECURE_GETENV.
27886 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27887 __secure_getenv to __libc_secure_getenv.
27888 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27901 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27903 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27904 (struct La_i86_retval): Likewise.
27905 (struct La_x86_64_regs): Likewise.
27906 (struct La_x86_64_retval): Likewise.
27907 (struct La_x32_regs): Likewise.
27908 (struct La_x32_retval): Likewise.
27909 (struct La_ppc32_regs): Likewise.
27910 (struct La_ppc32_retval): Likewise.
27911 (struct La_ppc64_regs): Likewise.
27912 (struct La_ppc64_retval): Likewise.
27913 (struct La_sh_regs): Likewise.
27914 (struct La_sh_retval): Likewise.
27915 (struct La_s390_32_regs): Likewise.
27916 (struct La_s390_32_retval): Likewise.
27917 (struct La_s390_64_regs): Likewise.
27918 (struct La_s390_64_retval): Likewise.
27919 (struct La_sparc32_regs): Likewise.
27920 (struct La_sparc32_retval): Likewise.
27921 (struct La_sparc64_regs): Likewise.
27922 (struct La_sparc64_retval): Likewise.
27923 (struct audit_ifaces): Remove architecture-specific pltenter and
27925 * sysdeps/i386/ldsodefs.h: New file.
27926 * sysdeps/powerpc/ldsodefs.h: Likewise.
27927 * sysdeps/s390/ldsodefs.h: Likewise.
27928 * sysdeps/sh/ldsodefs.h: Likewise.
27929 * sysdeps/sparc/ldsodefs.h: Likewise.
27930 * sysdeps/x86_64/ldsodefs.h: Likewise.
27932 2012-07-25 Marek Polacek <polacek@redhat.com>
27935 * math/libm-test.inc (yn_test): Add another test.
27936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27937 to ERANGE when the result is +-Inf.
27938 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27939 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27940 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27941 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27943 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27945 * conform/data/time.h-data (NULL): Use macro-constant. Require
27947 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27949 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27951 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27953 * configure.in <sysdeps resolving>: Correct printing
27955 * configure: Regenerate.
27957 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27959 * math/w_ilogb.c: Include <limits.h>.
27960 * math/w_ilogbl.c: Likewise.
27962 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27964 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27965 va_copy. Document allowing for unavailable va_copy only as
27966 pre-C99 compatibility.
27967 * manual/string.texi (Copying and Concatenation): Use va_copy
27968 instead of __va_copy in concat example.
27970 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27972 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27973 (__sendto): Use create_address_port. Initialize APORT and deallocate
27976 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27977 with O_NOLINK passed to __file_name_lookup.
27979 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27980 with O_NOLINK passed to __file_name_lookup.
27982 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27983 negative N or less than NGIDS.
27985 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27986 type to string_t. Set ERANGE as errno and return it if NAME is not big
27987 enough. Use memcpy instead of strncpy.
27989 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27991 * elf/Makefile (check-data): Remove.
27992 (localplt.data): New vpath directive.
27993 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27994 instead of $(check-data).
27995 * scripts/data/localplt-generic.data: Move to ...
27996 * sysdeps/generic/localplt.data: ... here.
27997 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27998 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27999 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28002 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28005 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28008 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28011 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28014 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28018 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28020 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28021 PPC32 and PPC64 files.
28022 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28023 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28025 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28027 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28028 __makecontext_ret to ...
28029 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28030 ... here and call exit if uc_link is NULL. New file.
28031 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28032 __makecontext_ret.S.
28033 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28034 __makecontext_ret to ...
28035 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28036 ... here and call exit if uc_link is NULL. New file.
28037 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28038 __makecontext_ret.S.
28040 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28042 * elf/elf.h (R_390_IRELATIVE): New definition.
28043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28044 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28045 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28047 (elf_machine_lazy_rel): Likewise.
28048 * sysdeps/s390/dl-irel.h: New file.
28049 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28050 * sysdeps/s390/s390-64/memset.S: New asm code.
28051 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28052 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28053 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28054 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28055 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28056 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28057 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28058 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28059 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28060 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28061 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28062 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28063 * sysdeps/s390/s390-32/memset.S: New asm code.
28064 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28066 2012-07-17 Marek Polacek <polacek@redhat.com>
28069 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28070 * sysdeps/s390/s390-64/configure.in: Likewise.
28071 * sysdeps/sparc/configure.in: Likewise.
28072 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28073 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28074 * sysdeps/i386/configure.in: Likewise.
28075 * sysdeps/x86_64/configure.in: Likewise.
28076 * sysdeps/sh/configure.in: Likewise.
28077 * sysdeps/s390/s390-32/configure: Regenerated.
28078 * sysdeps/s390/s390-64/configure: Likewise.
28079 * sysdeps/x86_64/configure: Likewise.
28080 * sysdeps/sh/configure: Likewise.
28081 * sysdeps/powerpc/powerpc64/configure: Likewise.
28082 * sysdeps/powerpc/powerpc32/configure: Likewise.
28083 * sysdeps/sparc/configure: Likwise.
28084 * sysdeps/i386/configure: Likewise.
28086 * elf/dl-open.c: Comment fixes.
28088 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28090 * Makefile [CXX] (check-data): Remove.
28091 [CXX] (c++-types.data): New vpath directive.
28092 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28093 vpath. Do not allow for C++ type data being missing.
28094 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28095 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28096 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28097 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28098 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28099 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28100 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28103 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28106 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28109 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28112 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28115 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28118 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28121 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28124 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28125 definitions to architecture-specific files.
28126 (TLS_IE): Likewise.
28127 (TLS_LD): Likewise.
28128 (TLS_GD): Likewise.
28129 * sysdeps/i386/tls-macros.h: New file.
28130 * sysdeps/powerpc/tls-macros.h: Likewise.
28131 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28132 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28133 * sysdeps/sh/tls-macros.h: Likewise.
28134 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28135 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28136 * sysdeps/x86_64/tls-macros.h: Likewise.
28138 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28141 zero value for regular exit case.
28143 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28144 (__start_context): Preserve zero value for regular exit case.
28146 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28147 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28149 * manual/setjmp.texi (setcontext): Clarify normal process
28150 termination when uc_link is the null pointer.
28151 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28154 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28156 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28157 preprocessor. Test for each exception mask separately.
28159 2012-07-16 Andreas Jaeger <aj@suse.de>
28161 * po/ru.po: Update from translation team.
28163 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28165 * conform/data/string.h-data (NULL): Use macro-constant. Require
28167 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28168 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28169 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28170 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28173 2012-07-13 Andreas Jaeger <aj@suse.de>
28175 * po/fr.po: Update from translation team.
28177 2012-07-12 Marek Polacek <polacek@redhat.com>
28180 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28184 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28188 Change to 2.4.1 where previously 2.4.0.
28189 * sysdeps/unix/sysv/linux/configure: Regenerated.
28190 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28191 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28193 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28194 (__ASSUME_AT_CLKTCK): Remove.
28195 (__ASSUME_AT_PAGESIZE): Likewise.
28196 (__ASSUME_AT_XID): Likewise.
28197 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28198 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28199 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28201 (HAVE_AUX_PAGESIZE): Likewise.
28202 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28203 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28204 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28206 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28210 the temporary buffer used to invoke __gethostbyname2_r,
28211 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28212 host_data / struct gaih_addrtuple.
28213 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28214 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28215 header file nss/nsswitch.h.
28216 * nss/nsswitch.h (global scope): Add definition of implementation
28217 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28218 resolv/nss_dns/dns-host.c).
28220 2012-07-11 Andreas Jaeger <aj@suse.de>
28222 * po/fr.po: Update from translation team.
28224 * po/sv.po: Update from translation team
28225 * po/fr.po: Another update from translation team.
28227 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28229 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28230 for subnormals or multiply small sinh result by itself.
28231 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28234 2012-07-11 David S. Miller <davem@davemloft.net>
28236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28238 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28241 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28242 (INTERNAL_MARK): Shift it here.
28244 2012-07-10 Marek Polacek <polacek@redhat.com>
28247 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28248 libc_cv_asm_global_directive with .globl.
28249 * configure: Regenerated.
28250 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28252 * sysdeps/i386/configure: Regenerated.
28253 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28255 * sysdeps/x86_64/configure: Regenerated.
28256 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28257 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28258 * elf/tst-unique2mod2.c: Likewise.
28259 * elf/tst-unique2mod1.c: Likewise.
28260 * elf/tst-unique1mod2.c: Likewise.
28261 * elf/tst-unique1mod1.c: Likewise.
28262 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28263 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28265 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28266 * sysdeps/mach/sysdep.h: Likewise.
28267 * sysdeps/i386/sysdep.h: Likewise.
28268 * sysdeps/i386/i386-mcount.S: Likewise.
28269 * sysdeps/x86_64/_mcount.S: Likewise.
28270 * sysdeps/x86_64/sysdep.h: Likewise.
28271 * sysdeps/sh/_mcount.S: Likewise.
28272 * sysdeps/sh/sysdep.h: Likewise.
28273 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28274 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28275 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28276 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28277 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28278 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28279 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28280 * locale/localeinfo.h: Likewise.
28281 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28282 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28284 2012-07-09 Roland McGrath <roland@hack.frob.com>
28287 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28289 * manual/message.texi (The Uniforum approach): Likewise.
28290 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28291 (glibc iconv Implementation): Likewise.
28293 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28296 * math/s_clog.c (__clog): Avoid scaling a value down where that
28297 could result in underflow.
28298 * math/s_clog10.c (__clog10): Likewise.
28299 * math/s_clog10f.c (__clog10f): Likewise.
28300 * math/s_clog10l.c (__clog10l): Likewise.
28301 * math/s_clogf.c (__clogf): Likewise.
28302 * math/s_clogl.c (__clogl): Likewise.
28303 * math/libm-test.inc (clog_test): Add more tests.
28304 (clog10_test): Likewise.
28305 * sysdeps/i386/fpu/libm-test-ulps: Update.
28306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28308 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28311 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28312 by 7 not 8 to examine high bit of fractional part.
28315 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28316 for call to __mcount_internal.
28317 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28318 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28319 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28321 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28324 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28325 approximation for values within 0x1p-13f of an odd multiple of
28327 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28328 exception. Add more tests.
28329 * sysdeps/i386/fpu/libm-test-ulps: Update.
28332 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28333 inputs and return -1 for them. Do not check for +Inf in case not
28334 reachable for +Inf.
28335 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28336 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28337 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28338 and return -1 for them. Do not check for +Inf in case not
28339 reachable for +Inf.
28340 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28343 and return -1 for them. Do not check for +Inf in case not
28344 reachable for +Inf.
28345 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28346 spurious underflow.
28347 * sysdeps/i386/fpu/libm-test-ulps: Update.
28348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28350 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28352 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28354 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28358 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28359 could result in spurious underflow. Scale down values above
28360 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28361 * math/s_csqrtf.c (__csqrtf): Likewise.
28362 * math/s_csqrtl.c (__csqrtl): Likewise.
28363 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28364 spurious underflow.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28368 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28370 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28372 * catgets/xopen-msg.awk: New file.
28373 * catgets/xopen-msg.sed: Removed.
28375 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28377 * intl/po2test.awk: New file.
28378 * intl/po2test.sed: Removed.
28380 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28383 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28384 or multiply small sinh result by itself.
28385 * math/s_ctanf.c (__ctanf): Likewise.
28386 * math/s_ctanh.c (__ctanh): Likewise.
28387 * math/s_ctanhf.c (__ctanhf): Likewise.
28388 * math/s_ctanhl.c (__ctanhl): Likewise.
28389 * math/s_ctanl.c (__ctanl): Likewise.
28390 * math/libm-test.inc (ctan_test_tonearest): New function.
28391 (ctan_test_towardzero): Likewise.
28392 (ctan_test_downward): Likewise.
28393 (ctan_test_upward): Likewise.
28394 (ctanh_test_tonearest): Likewise.
28395 (ctanh_test_towardzero): Likewise.
28396 (ctanh_test_downward): Likewise.
28397 (ctanh_test_upward): Likewise.
28398 (main): Call these new functions.
28399 * sysdeps/i386/fpu/libm-test-ulps: Update.
28400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28402 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28404 * .gitignore: Delete /ports entry.
28406 2012-07-03 Andreas Jaeger <aj@suse.de>
28408 * po/bg.po: Update from translation team.
28409 * po/cs.po: Likewise.
28410 * po/de.po: Likewise.
28411 * po/hr.po: Likewise.
28412 * po/nl.pl: Likewise.
28413 * po/pl.po: Likewise.
28414 * po/vi.po: Likewise.
28416 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28418 * Makeconfig [!+link] (+link-before-libc): New variable.
28419 [!+link] (+link-after-libc): Likewise.
28420 [!+link] (+link-tests): Likewise.
28421 [!+link] (+link): Define in terms of $(+link-before-libc) and
28422 $(+link-after-libc).
28423 [!+link-static] (+link-static-before-libc): New variable.
28424 [!+link-static] (+link-static-after-libc): Likewise.
28425 [!+link-static] (+link-static-tests): Likewise.
28426 [!+link-static] (+link-static): Define in terms of
28427 $(+link-static-before-libc) and $(+link-static-after-libc).
28428 [build-shared] (link-libc-before-gnulib): New variable.
28429 [build-shared] (link-libc-tests): Likewise.
28430 [build-shared] (link-libc): Define in terms of
28431 $(link-libc-before-gnulib).
28432 [!build-shared] (link-libc-tests): New variable.
28433 (link-libc-static-tests): New variable.
28434 [!gnulib] (gnulib-arch): New variable.
28435 [!gnulib] (gnulib-tests): Likewise.
28436 [!gnulib] (static-gnulib-arch): Likewise.
28437 [!gnulib] (static-gnulib-tests): Likewise.
28438 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28439 Define with "=" instead of ":=".
28440 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28441 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28442 * Rules (binaries-all-notests): New variable.
28443 (binaries-all-tests): Likewise.
28444 (binaries-static-notests): Likewise.
28445 (binaries-static-tests): Likewise.
28446 (binaries-all): Define using $(binaries-all-notests) and
28447 $(binaries-all-tests).
28448 (binaries-static): Define using $(binaries-static-notests) and
28449 $(binaries-static-tests).
28450 (binaries-shared-tests): New variable.
28451 (binaries-shared-notests): Likewise.
28452 (binaries-shared): Remove variable.
28453 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28454 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28455 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28456 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28457 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28458 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28459 * elf/Makefile (sln-modules): New variable.
28460 (extra-objs): Add $(sln-modules:=.o).
28461 (ldconfig-modules): Add static-stubs.
28462 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28463 * elf/static-stubs.c: New file.
28466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28467 by 7 not 8 to examine high bit of fractional part. Use volatile
28468 variables when splitting into final array of floats if
28469 __FLT_EVAL_METHOD__ != 0.
28470 * math/libm-test.inc (cos_test): Add another test.
28471 (sin_test): Likewise.
28472 * sysdeps/i386/fpu/libm-test-ulps: Update.
28475 * math/libm-test.inc (cosh_test): Add more tests.
28477 * version.h (RELEASE): Set to "development".
28478 (VERSION): Set to "2.16.90".
28480 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28482 * NEWS: Update copyright. Remove last-updated date.
28483 Mention math library bug fixes and timezone data changes.
28484 * README: Mention GNU/Hurd, x32, and HPPA support status.
28486 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28488 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28490 2012-06-27 Andreas Jaeger <aj@suse.de>
28492 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28494 2012-06-25 Andreas Jaeger <aj@suse.de>
28496 * sysdeps/s390/fpu/libm-test-ulps: Update.
28498 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28499 Thomas Schwinge <thomas@codesourcery.com>
28501 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28502 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28506 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28508 * sysdeps/mach/start.c: Remove file.
28509 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28510 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28511 * sysdeps/sh/init-first.c: Likewise.
28513 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28514 registers for frame unwinding purposes, add CFI directives.
28515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28517 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28520 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28521 __fortify_fail returning.
28522 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28524 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28525 sysdeps/sh/____longjmp_chk.S.
28526 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28527 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28528 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28529 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28531 * sysdeps/sh/abort-instr.h: New file.
28532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28533 process in case exit returns.
28535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28536 initialize the GOT register before use.
28538 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28539 calculation of ARGC > 4.
28541 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28542 meaningful names to some local labels.
28544 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28545 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28547 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28548 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28549 (__arch_compare_and_exchange_val_16_acq): Likewise.
28550 (__arch_compare_and_exchange_val_32_acq): Likewise.
28551 (atomic_exchange_and_add): Fix gUSA sequence.
28552 (atomic_add): Likewise.
28553 (atomic_add_negative): Likewise.
28554 (atomic_add_zero): Likewise.
28555 (atomic_bit_test_set): Likewise.
28557 2012-06-22 Andreas Schwab <schwab@redhat.com>
28560 * include/link.h (struct link_map): Add l_free_initfini.
28561 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28563 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28564 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28565 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28568 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28570 * configure.in: Use AC_LANG_SOURCE.
28571 * configure: Regenerate.
28573 2012-06-22 Roland McGrath <roland@hack.frob.com>
28575 * configure.in (libc_cv_localstatedir): New substituted variable.
28576 * configure: Regenerated.
28577 * config.make.in (localstatedir): New variable, substituted from
28578 libc_cv_localstatedir.
28579 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28580 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28581 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28582 * sysdeps/gnu/configure: Regenerated.
28584 2012-06-21 Jeff Law <law@redhat.com>
28587 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28588 free. Simplify list management for _LIBC case.
28590 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28593 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28594 Clear sign bit of 64-bit integer value before comparing against
28597 * sysdeps/mach/configure: Regenerated.
28599 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28602 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28604 2012-06-21 Jeff Law <law@redhat.com>
28607 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28608 uint16_t for elements in the "seen" array to avoid char overflows.
28609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28610 * elf/dl-open.c (dl_open_worker): Likewise.
28612 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28614 * scripts/list-sources.sh: Scan PORTS for translations.
28615 * po/libc.pot: Regenerated.
28617 2012-06-21 Andreas Jaeger <aj@suse.de>
28620 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28622 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28623 * bits/byteswap-16.h (__bswap_16): Likewise.
28624 * bits/byteswap.h (__bswap_constant_16): Likewise.
28626 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28629 * sysdeps/i386/fpu_control.h: Removed.
28630 * sysdeps/x86_64/fpu_control.h: Moved to ...
28631 * sysdeps/x86/fpu_control.h: Here.
28633 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28634 (_FPU_SETCW): Likewise.
28636 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28639 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28640 * sysdeps/x86/fpu/bits/mathinline.h: This.
28641 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28645 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28646 functions if __x86_64__ is defined.
28648 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28650 * string/endian.h: Add !__ASSEMBLER__ condition for including
28651 conversion interfaces.
28653 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28657 of ABS(x) in calculating zero to negative powers other than odd
28659 * math/libm-test.inc (pow_test): Add more tests.
28661 2012-06-15 Andreas Jaeger <aj@suse.de>
28663 * manual/contrib.texi (Contributors): Update entry of Liubov
28664 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28667 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28669 * string/string.h: Add __wur to GNU version of strerror_r.
28671 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28674 * string/Makefile (tests): Add tst-strtok_r.
28675 * string/tst-strtok_r.c: New file.
28676 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28677 RAX_LP/RDX_LP on SAVE_PTR.
28679 2012-06-14 Roland McGrath <roland@hack.frob.com>
28681 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28683 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28685 * libm_test.inc (csqrt_test): Allow more spurious underflow
28687 (j0_test): Likewise.
28688 (j1_test): Likewise.
28689 (y0_test): Likewise.
28690 (y1_test): Likewise.
28692 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28694 * po/Makefile (libc.pot): Use UTF-8 charset.
28696 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28699 Suppress sign-conversion warning from FD_SET.
28700 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28701 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28702 not unsigned long int.
28703 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28705 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28709 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28710 __extern_always_inline instead of __extern_inline.
28711 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28712 (__signbit): Likewise.
28713 (__signbitl): Support C++ namespace.
28714 (lrintf): New inline function.
28716 (llrintf): Likewise.
28717 (llrint): Likewise.
28727 (floorf): Likewise.
28728 (nearbyint): Likewise.
28729 (nearbyintf): Likewise.
28731 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28734 non-default versions.
28736 2012-06-11 Roland McGrath <roland@hack.frob.com>
28739 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28741 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28743 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28744 (FE_UPWARD, FE_DOWNWARD): Don't define.
28745 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28748 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28750 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28751 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28753 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28755 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28758 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28760 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28763 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28764 * sysdeps/i386/fpu/Implies: New file.
28765 * sysdeps/x86_64/fpu/Implies: Likewise.
28766 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28767 * sysdeps/x86/fpu/bits/fenv.h: This.
28769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28772 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28775 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28776 character 0xffff that matches the last element of the
28779 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28784 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28787 values higher than 25.6283.
28789 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28792 subnormal exponent extraction and add some __builtin_expect.
28793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28794 Fix for subnormal mantissa calculation.
28796 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28798 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28799 cpu2 is -1 and errno is not ENOSYS.
28801 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28804 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28805 * sysdeps/x86/bits/string.h: This.
28806 * sysdeps/x86_64/bits/string.h: Removed.
28808 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28809 if not compiling for x86-64, but compiling for >= i486.
28811 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28812 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28814 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28815 New macro from Linux kernel 3.4.0.
28816 (FP_XSTATE_MAGIC2): Likewise.
28817 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28818 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28819 (struct _fpx_sw_bytes): New struct.
28820 (struct _xsave_hdr): Likewise.
28821 (struct _ymmh_state): Likewise.
28822 (struct _xstate): Likewise.
28824 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28825 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28827 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28829 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28831 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28832 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28833 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28834 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28835 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28836 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28838 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28841 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28842 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28843 (sysdep_headers): Include sys/platform/ppc.h.
28844 * sysdeps/powerpc/test-gettimebase.c: Test for
28845 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28846 * manual/Makefile (appendices): Include platform.texi.
28847 * manual/contrib.texi (Contributors): Update @node pointers.
28848 * manual/maint.texi (Maintenance): Likewise.
28849 (Platform): New node.
28850 * manual/platform.texi: New file. Document the new features.
28852 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28853 Jakub Jelinek <jakub@redhat.com>
28856 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28857 where __builtin_expect is unavailable.
28859 2012-06-03 David S. Miller <davem@davemloft.net>
28861 * stdlib/longlong.h: Updated from GCC.
28863 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28866 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28867 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28870 (GLIBC_2.16): Likewise.
28872 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28874 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28876 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28879 (default-abi): New variable.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28881 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28883 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28887 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28890 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28891 definition. Document in comment.
28893 2012-06-01 David S. Miller <davem@davemloft.net>
28895 * stdlib/longlong.h: Updated from GCC.
28897 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28900 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28901 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28902 sys/debugreg.h sys/io.h here.
28903 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28904 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28906 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28907 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28908 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28909 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28910 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28911 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28913 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28914 Define only if __x86_64__ is defined.
28916 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28919 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28920 Use int64_t for variable i.
28921 * math/libm-test.inc (fmod_test): Add more tests.
28923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28924 z computation is not scheduled after fetestexcept.
28925 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28926 Use math_force_eval instead of asm to ensure calculation scheduled
28927 before exception test.
28928 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28929 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28931 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28934 computation is not scheduled after fetestexcept.
28936 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28939 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28940 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28942 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28944 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28945 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28947 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28952 (__WCHAR_MIN): Support __WORDSIZE == 64.
28953 (__WCHAR_MAX): Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28956 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28960 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28963 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28964 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28966 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28967 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28969 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28970 Defined to 1 if __x86_64__ isn't defined.
28971 (_STAT_VER_LINUX_OLD): New.
28972 (st_atime): Remove duplicate.
28973 (st_mtime): Likewise.
28974 (st_ctime): Likewise.
28976 2012-05-31 David S. Miller <davem@davemloft.net>
28978 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28981 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28983 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28987 * elf/dl-reloc.c: Include <_itoa.h>.
28988 (_dl_reloc_bad_type): Remove use of INTUSE.
28989 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28990 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28991 * stdio-common/psiginfo.c (psiginfo): Likewise.
28992 * stdio-common/psignal.c (psignal): Likewise.
28993 * string/strsignal.c (strsignal): Likewise.
28994 * include/signal.h (_sys_siglist): Declare hidden proto.
28995 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28996 INTVARDEF with libc_hidden_data_def.
28997 * stdio-common/itoa-udigits.c: Likewise.
28998 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28999 (_itoa_lower_digits_internal): Remove declaration.
29000 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29001 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29002 (_sys_sigabbrev_internal): Remove aliases.
29003 (_sys_siglist): Define hidden alias.
29005 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29010 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29013 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29014 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29016 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29018 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29019 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29021 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29023 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29025 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29027 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29035 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29037 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29039 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29040 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29042 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29043 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29044 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29046 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29047 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29049 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29050 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29056 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29057 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29059 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29061 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29062 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29063 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29065 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29067 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29069 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29071 * math/math.h (M_El): Use two more decimal places.
29072 (M_LOG2El): Likewise.
29073 (M_LOG10El): Likewise.
29074 (M_LN2l): Likewise.
29075 (M_LN10l): Likewise.
29077 (M_PI_2l): Likewise.
29078 (M_PI_4l): Likewise.
29079 (M_1_PIl): Likewise.
29080 (M_2_PIl): Likewise.
29081 (M_2_SQRTPIl): Likewise.
29082 (M_SQRT2l): Likewise.
29083 (M_SQRT1_2l): Likewise.
29085 2012-05-31 David S. Miller <davem@davemloft.net>
29087 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29088 values between float registers.
29089 * sysdeps/sparc/sparc64/memset.S: Likewise.
29090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29092 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29094 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29095 -D_FORTIFY_SOURCE=1.
29096 (CPPFLAGS-tst-longjmp_chk.c): Define.
29097 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29098 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29099 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29100 CFLAGS-tst-wchar-h.c.
29102 2012-05-31 Marek Polacek <polacek@redhat.com>
29105 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29106 __endmntent_internal): Remove declaration.
29107 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29108 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29109 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29111 2012-05-30 David S. Miller <davem@davemloft.net>
29113 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29114 (___Q_simulate_exceptions): Use real FP ops rather than writing
29116 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29119 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29122 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29123 * sysdeps/x86/bits/xtitypes.h: This.
29125 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29126 * sysdeps/x86/bits/wordsize.h: This.
29128 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29129 * sysdeps/x86/bits/huge_vall.h: This.
29131 * sysdeps/i386/bits/select.h: Removed.
29132 * sysdeps/x86_64/bits/select.h: Renamed to ...
29133 * sysdeps/x86/bits/select.h: This.
29135 * sysdeps/i386/bits/setjmp.h: Removed.
29136 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29137 * sysdeps/x86/bits/setjmp.h: This.
29139 * sysdeps/i386/bits/mathdef.h: Removed.
29140 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29141 * sysdeps/x86/bits/mathdef.h: This.
29143 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29146 * include/sys/socket.h (__connect_internal)
29147 (__libc_sa_len_internal): Remove declaration.
29148 (__connect, __libc_sa_len): Declare hidden_proto.
29149 (SA_LEN): Remove use of INTUSE.
29150 * socket/connect.c: Add libc_hidden_def.
29151 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29152 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29153 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29155 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29156 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29157 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29158 of adding _internal alias.
29160 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29163 * sysdeps/i386/bits/link.h: Removed.
29164 * sysdeps/i386/bits/linkmap.h: Likewise.
29165 * sysdeps/x86_64/bits/link.h: Renamed to ...
29166 * sysdeps/x86/bits/link.h: This.
29167 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29168 * sysdeps/x86/bits/linkmap.h: This.
29170 * sysdeps/i386/bits/endian.h: Removed.
29171 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29172 * sysdeps/x86/bits/endian.h: This.
29174 * sysdeps/i386/bits/byteswap.h: Removed.
29175 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29176 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29177 * sysdeps/x86/bits/byteswap.h: This.
29178 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29179 * sysdeps/x86/bits/byteswap-16.h: This.
29180 * sysdeps/i386/Implies: Add x86.
29181 * sysdeps/x86_64/Implies: Likewise.
29183 2012-05-30 David S. Miller <davem@davemloft.net>
29185 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29186 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29187 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29188 (FP_TRAPPING_EXCEPTIONS): Define.
29189 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29190 (FP_TRAPPING_EXCEPTIONS): Define.
29191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29192 subnormals only when inexact has been signalled or underflow
29193 exceptions are enabled.
29194 (_FP_PACK_CANONICAL): Likewise.
29196 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29199 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29200 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29202 2012-05-30 Richard Henderson <rth@twiddle.net>
29204 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29205 with #ifndef NOT_IN_libc.
29207 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29208 marked to avoid plt entry.
29210 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29213 * Makeconfig (default-abi): New macro.
29214 (abi-includes): Likewise.
29215 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29216 $(abi-$(default-abi)-lib-soname) for soname if defined.
29217 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29219 * Makefile (installed-stubs): Likewise.
29220 * include/stubs-biarch.h: Removed.
29221 * scripts/lib-names.awk: Only handle one library at a time.
29222 * scripts/soversions.awk: Remove WORDSIZE support.
29223 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29225 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29227 (syscall-list-default-condition): Likewise.
29228 (syscall-list-default-condition): Likewise.
29229 (syscall-list-includes): Likewise.
29230 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29231 syscall-list-* with abi-*. Handle undefined abi-variants.
29232 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29233 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29234 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29235 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29237 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29239 (syscall-list-32-options): Likewise.
29240 (syscall-list-32-condition): Likewise.
29241 (syscall-list-64-options): Likewise.
29242 (syscall-list-64-condition): Likewise.
29243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29245 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29248 (abi-64-ld-soname): New macro.
29249 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29250 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29253 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29254 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29256 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29258 * sysdeps/unix/sysv/linux/kernel-features.h
29259 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29260 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29261 include <kernel-features.h>.
29262 [!__NR_ftruncate64]: Remove conditional code.
29263 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29264 [__NR_ftruncate64]: Make code unconditional.
29265 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29266 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29267 include <kernel-features.h>.
29268 [!__NR_ftruncate64]: Remove conditional code.
29269 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29270 [__NR_ftruncate64]: Make code unconditional.
29271 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29273 include <kernel-features.h>.
29274 [!__NR_ftruncate64]: Remove conditional code.
29275 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29276 [__NR_ftruncate64]: Make code unconditional.
29277 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29279 include <kernel-features.h>.
29280 [!__NR_ftruncate64]: Remove conditional code.
29281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29282 [__NR_ftruncate64]: Make code unconditional.
29283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29285 * configure.in (libc_cv_fpie): Weaken to a compile test using
29286 LIBC_TRY_CC_OPTION.
29287 * configure: Regenerated.
29289 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29304 2012-05-27 David S. Miller <davem@davemloft.net>
29306 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29308 (__Q_simulate_exceptions): Return void. Change to simulate
29309 exceptions by writing into the %fsr.
29310 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29311 (__Qp_handle_exceptions): Likewise.
29313 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29314 __Qp_handle_exceptions.
29315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29316 __Qp_handle_exceptions.
29317 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29318 as unused and give dummy FP_RND_NEAREST initializer.
29319 (FP_INHIBIT_RESULTS): Define.
29320 (___Q_simulate_exceptions): Update declaration.
29321 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29324 as unused and give dummy FP_RND_NEAREST initializer.
29325 (__Qp_handle_exceptions): Update declaration.
29326 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29329 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29331 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29332 the temporary FPU control word.
29333 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29334 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29335 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29336 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29337 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29339 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29340 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29341 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29342 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29343 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29345 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29347 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29350 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29352 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29353 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29354 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29355 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29357 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29358 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29361 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29363 * po/h.po: Update from translation team.
29365 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29367 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29369 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29370 handling of denormals.
29371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29372 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29373 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29374 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29380 2012-05-26 Marek Polacek <polacek@redhat.com>
29383 * math/libm-test.inc (fma_test): Don't always expect underflow
29386 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29389 * elf/tst-execstack.c: Include stackinfo.h.
29390 (do_test): Adjust test case to ensure that pthread_getattr_np
29391 behaviour remains the same after marking stack executable.
29393 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29395 * sysdeps/unix/sysv/linux/kernel-features.h
29396 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29397 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29401 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29403 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29404 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29406 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29408 * configure.in: Define the default includes to being none.
29409 * configure: Regenerated.
29411 2012-05-25 Roland McGrath <roland@hack.frob.com>
29413 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29414 * sysdeps/x86_64/setjmp.S: Likewise.
29415 * sysdeps/i386/bsd-setjmp.S: Likewise.
29416 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29417 * sysdeps/i386/setjmp.S: Likewise.
29418 * sysdeps/i386/__longjmp.S: Likewise.
29419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29420 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29422 * include/stap-probe.h: New file.
29423 * configure.in: Handle --enable-systemtap.
29424 * configure: Regenerated.
29425 * config.h.in (USE_STAP_PROBE): New #undef.
29426 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29427 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29428 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29430 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29434 to 2.4.0 where earlier.
29435 * sysdeps/unix/sysv/linux/configure: Regenerated.
29436 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29437 <kernel-features.h>.
29438 [__ASSUME_32BITUIDS]: Make code unconditional.
29439 [!__ASSUME_32BITUIDS]: Remove conditional code.
29440 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29441 <kernel-features.h>.
29442 [__ASSUME_32BITUIDS]: Make code unconditional.
29443 [!__ASSUME_32BITUIDS]: Remove conditional code.
29444 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29445 [__ASSUME_32BITUIDS]: Make code unconditional.
29446 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29447 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29448 <kernel-features.h>.
29449 [__ASSUME_32BITUIDS]: Make code unconditional.
29450 [!__ASSUME_32BITUIDS]: Remove conditional code.
29451 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29452 <kernel-features.h>.
29453 [__ASSUME_32BITUIDS]: Make code unconditional.
29454 [!__ASSUME_32BITUIDS]: Remove conditional code.
29455 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29456 <kernel-features.h>.
29457 [__ASSUME_32BITUIDS]: Make code unconditional.
29458 [!__ASSUME_32BITUIDS]: Remove conditional code.
29459 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29460 <kernel-features.h>.
29461 [__ASSUME_32BITUIDS]: Make code unconditional.
29462 [!__ASSUME_32BITUIDS]: Remove conditional code.
29463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29464 <kernel-features.h>.
29465 [__ASSUME_32BITUIDS]: Make code unconditional.
29466 [!__ASSUME_32BITUIDS]: Remove conditional code.
29467 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29468 <kernel-features.h>.
29469 [__ASSUME_32BITUIDS]: Make code unconditional.
29470 [!__ASSUME_32BITUIDS]: Remove conditional code.
29471 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29472 <kernel-features.h>.
29473 [__ASSUME_32BITUIDS]: Make code unconditional.
29474 [!__ASSUME_32BITUIDS]: Remove conditional code.
29475 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29476 <kernel-features.h>.
29477 [__ASSUME_32BITUIDS]: Make code unconditional.
29478 [!__ASSUME_32BITUIDS]: Remove conditional code.
29479 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29480 <kernel-features.h>.
29481 [__ASSUME_32BITUIDS]: Make code unconditional.
29482 [!__ASSUME_32BITUIDS]: Remove conditional code.
29483 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29484 <kernel-features.h>.
29485 [__ASSUME_32BITUIDS]: Make code unconditional.
29486 [!__ASSUME_32BITUIDS]: Remove conditional code.
29487 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29488 <kernel-features.h>.
29489 [__NR_setresgid] (__setresgid): Do not declare.
29490 [__ASSUME_32BITUIDS]: Make code unconditional.
29491 [!__ASSUME_32BITUIDS]: Remove conditional code.
29492 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29493 <kernel-features.h>.
29494 [__NR_setresuid] (__setresuid): Do not declare.
29495 [__ASSUME_32BITUIDS]: Make code unconditional.
29496 [!__ASSUME_32BITUIDS]: Remove conditional code.
29497 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29498 <kernel-features.h>.
29499 [__ASSUME_32BITUIDS]: Make code unconditional.
29500 [!__ASSUME_32BITUIDS]: Remove conditional code.
29501 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29502 <kernel-features.h>.
29503 [__ASSUME_32BITUIDS]: Make code unconditional.
29504 [!__ASSUME_32BITUIDS]: Remove conditional code.
29505 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29506 <kernel-features.h>.
29507 [__ASSUME_32BITUIDS]: Make code unconditional.
29508 [!__ASSUME_32BITUIDS]: Remove conditional code.
29509 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29510 <kernel-features.h>.
29511 [__ASSUME_32BITUIDS]: Make code unconditional.
29512 [!__ASSUME_32BITUIDS]: Remove conditional code.
29513 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29514 <kernel-features.h>.
29515 [__ASSUME_32BITUIDS]: Make code unconditional.
29516 [!__ASSUME_32BITUIDS]: Remove conditional code.
29517 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29518 <kernel-features.h>.
29519 [__ASSUME_32BITUIDS]: Make code unconditional.
29520 [!__ASSUME_32BITUIDS]: Remove conditional code.
29521 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29522 <kernel-features.h>.
29523 [__ASSUME_32BITUIDS]: Make code unconditional.
29524 [!__ASSUME_32BITUIDS]: Remove conditional code.
29525 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29526 <kernel-features.h>.
29527 [__ASSUME_32BITUIDS]: Make code unconditional.
29528 [!__ASSUME_32BITUIDS]: Remove conditional code.
29529 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29530 <kernel-features.h>.
29531 [__ASSUME_32BITUIDS]: Make code unconditional.
29532 [!__ASSUME_32BITUIDS]: Remove conditional code.
29533 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29534 <kernel-features.h>.
29535 [__ASSUME_32BITUIDS]: Make code unconditional.
29536 [!__ASSUME_32BITUIDS]: Remove conditional code.
29537 * sysdeps/unix/sysv/linux/kernel-features.h
29538 (__ASSUME_SETRESUID_SYSCALL): Remove.
29539 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29540 (__ASSUME_32BITUIDS): Likewise.
29541 (__ASSUME_LDT_WORKS): Likewise.
29542 (__ASSUME_O_DIRECTORY): Likewise.
29543 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29544 architecture but not kernel version.
29545 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29546 (__ASSUME_MMAP2_SYSCALL): Likewise.
29547 (__ASSUME_STAT64_SYSCALL): Likewise.
29548 (__ASSUME_IPC64): Likewise.
29549 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29550 <kernel-features.h>.
29551 [__ASSUME_32BITUIDS]: Make code unconditional.
29552 [!__ASSUME_32BITUIDS]: Remove conditional code.
29553 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29554 <kernel-features.h>.
29555 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29556 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29557 132096]: Remove conditional code.
29558 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29559 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29560 <kernel-features.h>.
29561 [__ASSUME_32BITUIDS]: Make code unconditional.
29562 [!__ASSUME_32BITUIDS]: Remove conditional code.
29563 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29564 <kernel-features.h>.
29565 [__ASSUME_32BITUIDS]: Make code unconditional.
29566 [!__ASSUME_32BITUIDS]: Remove conditional code.
29567 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29568 <kernel-features.h>.
29569 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29571 (__setresgid): Do not declare.
29572 [__ASSUME_32BITUIDS]: Make code unconditional.
29573 [!__ASSUME_32BITUIDS]: Remove conditional code.
29574 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29575 <kernel-features.h>.
29576 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29578 (__setresuid): Do not declare.
29579 [__ASSUME_32BITUIDS]: Make code unconditional.
29580 [!__ASSUME_32BITUIDS]: Remove conditional code.
29581 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29582 <kernel-features.h>.
29583 [__ASSUME_32BITUIDS]: Make code unconditional.
29584 [!__ASSUME_32BITUIDS]: Remove conditional code.
29585 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29586 <kernel-features.h>.
29587 [__ASSUME_32BITUIDS]: Make code unconditional.
29588 [!__ASSUME_32BITUIDS]: Remove conditional code.
29590 2012-05-25 Richard Henderson <rth@twiddle.net>
29592 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29593 dl_hwcap to ifunc resolver.
29594 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29596 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29597 dl_hwcap to ifunc resolver.
29598 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29600 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29603 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29604 for |x| <= 2**-26, not 2**-57.
29605 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29608 2012-05-24 Jeff Law <law@redhat.com>
29610 * stdio-common/Makefile (tests): Add bug25.
29611 * stdio-common/bug25.c: New test.
29613 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29616 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29617 multiple of MALLOC_ALIGNMENT in size.
29618 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29620 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29622 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29624 (FILENAME_MAX): Use macro-int-constant.
29625 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29626 (_IOFBF): Use macro-int-constant.
29627 (_IOLBF): Likewise.
29628 (_IONBF): Likewise.
29629 (SEEK_CUR): Likewise.
29630 (SEEK_END): Likewise.
29631 (SEEK_SET): Likewise.
29632 (TMP_MAX): Likewise.
29633 (EOF): Use macro-int-constant. Require < 0.
29634 (NULL): Use macro-constant. Require == 0.
29635 (stdin): Require type to be FILE *.
29636 (stdout): Likewise.
29637 (stderr): Likewise.
29638 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29639 macro-int-constant.
29640 (EXIT_SUCCESS): Likewise.
29641 (NULL): Use macro-constant. Require == 0.
29642 (RAND_MAX): Use macro-int-constant.
29643 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29644 [C99-based standards] (strtof): Require function.
29645 [C99-based standards] (strtold): Likewise.
29646 [C99-based standards] (strtoll): Likewise.
29647 [C99-based standards] (strtoull): Likewise.
29648 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29649 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29650 [ISO || ISO99 || ISO11] (math.h): Likewise.
29651 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29652 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29655 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29658 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29659 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29660 * intl/dgettext.c (DCGETTEXT): Likewise.
29661 * intl/gettext.c (DCGETTEXT): Likewise.
29662 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29663 * posix/regex_internal.h (gettext): Likewise.
29664 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29665 Remove declaration.
29666 * include/argz.h (__argz_count_internal)
29667 (__argz_stringify_internal): Remove declaration.
29668 (__argz_count, __argz_stringify): Declare hidden proto.
29669 * intl/dcgettext.c: Remove use of INTDEF.
29670 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29671 * string/argz-stringify.c: Likewise.
29672 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29673 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29674 Declare hidden proto.
29675 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29676 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29677 Declare hidden proto.
29678 * include/stdio.h (__asprintf_internal): Don't declare.
29679 (__asprintf): Don't define as macro. Declare hidden proto.
29680 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29681 (__fsetlocking): Declare hidden proto.
29682 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29683 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29685 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29686 (_IO_setlinebuf): Remove use of INTUSE.
29687 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29688 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29689 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29690 Remove declaration.
29691 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29692 (_IO_do_flush): Remove use of INTUSE.
29693 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29694 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29695 (_IO_adjust_column, _IO_least_wmarker)
29696 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29697 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29698 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29699 (_IO_default_doallocate, _IO_wdefault_doallocate)
29700 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29701 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29702 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29703 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29704 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29705 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29706 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29707 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29708 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29709 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29710 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29711 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29712 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29714 (_IO_flush_all_internal, _IO_adjust_column_internal)
29715 (_IO_default_uflow_internal, _IO_default_finish_internal)
29716 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29717 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29718 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29719 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29720 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29721 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29722 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29723 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29724 (_IO_file_close_internal, _IO_file_close_it_internal)
29725 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29726 (_IO_file_init_internal, _IO_file_attach_internal)
29727 (_IO_file_fopen_internal, _IO_file_read_internal)
29728 (_IO_file_sync_internal, _IO_file_seek_internal)
29729 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29730 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29731 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29732 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29733 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29734 (_IO_list_all_internal, _IO_link_in_internal)
29735 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29736 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29737 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29738 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29739 (_IO_do_write_internal, _IO_padn_internal)
29740 (_IO_getline_info_internal, _IO_getline_internal)
29741 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29742 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29743 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29744 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29745 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29746 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29747 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29748 with libc_hidden_ver, remove use of INTUSE.
29749 * libio/genops.c: Likewise.
29750 * libio/freopen.c: Likewise.
29751 * libio/freopen64.c: Likewise.
29752 * libio/iofclose.c: Likewise.
29753 * libio/iofdopen.c: Likewise.
29754 * libio/iofflush.c: Likewise.
29755 * libio/iofflush_u.c: Likewise.
29756 * libio/iofgets.c: Likewise.
29757 * libio/iofgets_u.c: Likewise.
29758 * libio/iofopen.c: Likewise.
29759 * libio/iofopncook.c: Likewise.
29760 * libio/iofread.c: Likewise.
29761 * libio/iofread_u.c: Likewise.
29762 * libio/ioftell.c: Likewise.
29763 * libio/iofwrite.c: Likewise.
29764 * libio/iogetline.c: Likewise.
29765 * libio/iogets.c: Likewise.
29766 * libio/iogetwline.c: Likewise.
29767 * libio/iopadn.c: Likewise.
29768 * libio/iopopen.c: Likewise.
29769 * libio/ioseekoff.c: Likewise.
29770 * libio/ioseekpos.c: Likewise.
29771 * libio/iosetbuffer.c: Likewise.
29772 * libio/iosetvbuf.c: Likewise.
29773 * libio/ioungetc.c: Likewise.
29774 * libio/ioungetwc.c: Likewise.
29775 * libio/iovdprintf.c: Likewise.
29776 * libio/iovsprintf.c: Likewise.
29777 * libio/iovsscanf.c: Likewise.
29778 * libio/memstream.c: Likewise.
29779 * libio/obprintf.c: Likewise.
29780 * libio/oldfileops.c: Likewise.
29781 * libio/oldiofclose.c: Likewise.
29782 * libio/oldiofdopen.c: Likewise.
29783 * libio/oldiofopen.c: Likewise.
29784 * libio/oldiopopen.c: Likewise.
29785 * libio/oldstdfiles.c: Likewise.
29786 * libio/putc.c: Likewise.
29787 * libio/setbuf.c: Likewise.
29788 * libio/setlinebuf.c: Likewise.
29789 * libio/stdfiles.c: Likewise.
29790 * libio/strops.c: Likewise.
29791 * libio/vasprintf.c: Likewise.
29792 * libio/vscanf.c: Likewise.
29793 * libio/vsnprintf.c: Likewise.
29794 * libio/vswprintf.c: Likewise.
29795 * libio/wfiledoalloc.c: Likewise.
29796 * libio/wfileops.c: Likewise.
29797 * libio/wgenops.c: Likewise.
29798 * libio/wmemstream.c: Likewise.
29799 * libio/wstrops.c: Likewise.
29800 * libio/__fpurge.c: Likewise.
29801 * libio/__fsetlocking.c: Likewise.
29802 * assert/assert.c: Likewise.
29803 * debug/fgets_chk.c: Likewise.
29804 * debug/fgets_u_chk.c: Likewise.
29805 * debug/fread_chk.c: Likewise.
29806 * debug/fread_u_chk.c: Likewise.
29807 * debug/gets_chk.c: Likewise.
29808 * debug/obprintf_chk.c: Likewise.
29809 * debug/vasprintf_chk.c: Likewise.
29810 * debug/vdprintf_chk.c: Likewise.
29811 * debug/vsnprintf_chk.c: Likewise.
29812 * debug/vsprintf_chk.c: Likewise.
29813 * malloc/mtrace.c: Likewise.
29814 * misc/error.c: Likewise.
29815 * misc/syslog.c: Likewise.
29816 * stdio-common/asprintf.c: Likewise.
29817 * stdio-common/fxprintf.c: Likewise.
29818 * stdio-common/getw.c: Likewise.
29819 * stdio-common/isoc99_fscanf.c: Likewise.
29820 * stdio-common/isoc99_scanf.c: Likewise.
29821 * stdio-common/isoc99_vfscanf.c: Likewise.
29822 * stdio-common/isoc99_vscanf.c: Likewise.
29823 * stdio-common/isoc99_vsscanf.c: Likewise.
29824 * stdio-common/printf-prs.c: Likewise.
29825 * stdio-common/printf_fp.c: Likewise.
29826 * stdio-common/printf_fphex.c: Likewise.
29827 * stdio-common/printf_size.c: Likewise.
29828 * stdio-common/putw.c: Likewise.
29829 * stdio-common/scanf.c: Likewise.
29830 * stdio-common/sprintf.c: Likewise.
29831 * stdio-common/tmpfile.c: Likewise.
29832 * stdio-common/vfprintf.c: Likewise.
29833 * stdio-common/vfscanf.c: Likewise.
29834 * stdlib/strfmon_l.c: Likewise.
29835 * sunrpc/openchild.c: Likewise.
29836 * sunrpc/xdr_stdio.c: Likewise.
29837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29838 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29840 2012-05-24 Roland McGrath <roland@hack.frob.com>
29842 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29844 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29845 in the third column, to generate for the shared library an IFUNC
29846 that uses _dl_vdso_vsym.
29847 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29848 * Makeconfig (object-suffixes-noshared): New variable.
29850 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29851 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29852 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29853 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29856 * include/sys/time.h (__gettimeofday): Remove macro.
29857 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29858 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29860 (__gettimeofday): Add libc_hidden_def.
29861 (gettimeofday): Add libc_hidden_weak.
29862 * sysdeps/mach/gettimeofday.c: Likewise.
29863 * sysdeps/posix/gettimeofday.c: Likewise.
29864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29865 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29866 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29867 (__gettimeofday_internal): Remove strong_alias.
29868 (__gettimeofday): Add libc_hidden_def.
29869 (gettimeofday): Add libc_hidden_weak.
29870 * sysdeps/unix/syscalls.list (gettimeofday):
29871 Remove __gettimeofday_internal alias.
29873 2012-05-24 Daniel Jacobowitz <drow@false.org>
29874 H.J. Lu <hongjiu.lu@intel.com>
29877 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29878 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29879 (largebin_index_32_big): New.
29880 (largebin_index): Use it for 16-byte alignment.
29881 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29882 correction with front_misalign.
29884 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29912 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29913 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29915 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29919 * math/libm-test.inc (exp_test): Add test from bug 14036.
29920 (pow_test): Add test from bug 10846.
29922 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29924 (special_function): Do not include flags in test name.
29925 (parse_args): Likewise.
29926 * sysdeps/i386/fpu/libm-test-ulps: Update.
29927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29928 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29929 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29932 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29934 * math/libm-test.inc ("Philosophy"): Update comment about
29936 (UNDERFLOW_EXCEPTION): New macro.
29937 (UNDERFLOW_EXCEPTION_OK): Likewise.
29938 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29939 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29940 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29941 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29942 (INVALID_EXCEPTION_OK): Update value.
29943 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29944 (OVERFLOW_EXCEPTION_OK): Likewise.
29945 (IGNORE_ZERO_INF_SIGN): Likewise.
29946 (test_exceptions): Handle underflow exceptions.
29947 (acos_test): Update for underflow exception expectations.
29948 (cexp_test): Likewise.
29949 (clog_test): Likewise.
29950 (clog10_test): Likewise.
29951 (csqrt_test): Likewise.
29952 (ctan_test): Likewise.
29953 (ctanh_test): Likewise.
29954 (exp_test): Likewise.
29955 (exp10_test): Likewise.
29956 (exp2_test): Likewise.
29957 (expm1_test): Likewise.
29958 (fma_test): Likewise.
29959 (j0_test): Likewise.
29960 (jn_test): Likewise.
29961 (nexttoward_test): Likewise.
29962 (pow_test): Likewise.
29963 (scalbn_test): Likewise.
29964 (scalbln_test): Likewise.
29965 (tan_test): Likewise.
29966 (y1_test): Likewise.
29967 * sysdeps/i386/fpu/libm-test-ulps: Update.
29968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29970 2012-05-23 David S. Miller <davem@davemloft.net>
29972 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29973 (__libc_sigaction): Remove unused local variables.
29975 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29977 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29979 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29981 mktime: avoid signed integer overflow
29982 * time/mktime.c (__mktime_internal): Do not mishandle the case
29983 where diff == INT_MIN.
29985 mktime: simplify computation of average
29986 * time/mktime.c (ranged_convert): Use new time_t_avg function
29987 instead of rolling our own (probably-slower) code.
29989 mktime: do not assume signed right shift propagates sign bit
29990 * time/mktime.c (isdst_differ): New static function.
29991 (__mktime_internal): No need to normalize tm_isdst now.
29992 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29995 mktime: merge another wrapv change from gnulib
29996 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29997 from some compilers.
29999 mktime: remove incorrect attempt at unusual arithmetics
30000 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30001 The code didn't really work on such machines anyway.
30002 (TYPE_MINIMUM): Assume two's complement.
30003 (twos_complement_arithmetic): Verify that long_int and time_t
30004 are two's complement (or unsigned, in the latter case).
30006 mktime: check signed shifts on long_int and time_t, too
30007 * time/mktime.c (SHR): Check that shifts work as desired
30008 on the types long_int and time_t too, as SHR is used on
30011 mktime: do not assume 'long' is wide enough
30012 * time/mktime.c (verify): Move decl up.
30013 (long_int): New type.
30014 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30015 to remove assumption in the code that 'long' is wide enough to
30016 store year values. This assumption is not true on x32 and on
30017 some non-glibc platforms.
30019 mktime: merge wrapv change from gnulib
30020 * time/mktime.c (WRAPV): New macro.
30021 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30022 (guess_time_tm, __mktime_internal): Do not assume that signed
30023 integer overflow wraps around; modern compilers generate code
30024 where this assumption is no longer valid.
30026 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30028 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30029 Replace "jmp L(pseudo_end)" with "ret".
30030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30033 2012-05-23 Andreas Jaeger <aj@suse.de>
30035 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30036 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30038 2012-05-23 Andreas Jaeger <aj@suse.de>
30039 Maximilian Attems <max@stro.at>
30041 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30044 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30047 code so that pseudo_end is just ret and the stack pointer is
30048 correct also for static library in error case.
30050 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30052 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30053 move to syscalls.list.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30059 * manual/install.texi (Running make install): Do not mention Linux
30060 kernel version for which pt_chown is not needed.
30061 (Linux): Do not mention problems with nscd with 2.0 kernels.
30062 * INSTALL: Regenerated.
30064 2012-05-23 Andreas Jaeger <aj@suse.de>
30066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30067 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30069 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30071 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30073 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30075 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30079 * sysdeps/unix/sysv/linux/bits/in.h
30080 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30082 2012-05-22 Roland McGrath <roland@hack.frob.com>
30084 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30085 (PREPARE_VERSION): Just use assert instead, it will be elided
30086 under [NDEBUG] anyway.
30088 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30090 * sysdeps/unix/sysv/linux/Makefile: Include
30091 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30092 (sysdep_routines): Remove sysctl.
30093 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30094 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30095 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30097 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30099 2012-05-22 Andreas Jaeger <aj@suse.de>
30101 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30102 that pseudo_end is just ret and the stack pointer is correct also
30103 for static library in error case.
30105 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30108 * nss/nsswitch.c (defconfig_entries): New variable.
30109 (__nss_database_lookup): Don't leak defconfig entries.
30110 (nss_parse_service_list): Don't leak on error paths.
30111 (free_database_entries): New function.
30112 (free_defconfig): New function.
30113 (free_mem): Move common code to free_database_entries.
30115 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30119 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30121 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30122 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30125 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30126 (INTERNAL_SYSCALL_TYPES): Likewise.
30127 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30128 (LOAD_REGS_TYPES_[1-6]): Likewise.
30129 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30130 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30132 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30135 copysignl for GLIBC_2_0.
30136 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30137 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30139 logbl for GLIBC_2_0.
30140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30141 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30143 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30148 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30151 * time/mktime.c: Update copyright years.
30153 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30155 mktime: merge comment-quoting-style change from gnulib
30156 * time/mktime.c: Quote 'like this' in comments.
30157 The GNU coding standards suggest that we no longer quote `like this',
30158 as "`" and "'" are typically rendered asymmetrically nowadays.
30159 The typical gnulib style is to quote 'like this' when quoting
30160 code, and "like this" when quoting English.
30162 * time/mktime.c (compile-command): Add "-I.".
30164 mktime: merge mktime-internal.h change from gnulib
30165 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30167 mktime: merge time_r change from gnulib
30168 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30170 mktime: merge DEBUG change from gnulib
30171 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30172 case system <time.h> has a #define.
30174 mktime: merge <sys/types.h> change from gnulib
30175 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30176 since <time.t> is now guaranteed to define time_t.
30178 mktime: merge HAVE_CONFIG_H change from gnulib
30179 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30181 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30186 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30188 (struct rusage): Use anonymous union to pad each field to
30191 2012-05-21 David S. Miller <davem@davemloft.net>
30193 * Makefules (o-iterator): Remove .s cases.
30194 (compile-command.s): Delete.
30195 (COMPILE.s): Delete.
30196 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30198 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30200 * configure.in (libc_cv_predef_stack_protector): Only consider
30201 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30202 * configure: Regenerated.
30204 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30207 New macro. Use R*LP on int and pointer.
30208 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30209 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30210 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30211 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30213 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30214 [__WORDSIZE_TIME64_COMPAT32] instead of
30215 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30216 (struct utmp): Likewise.
30217 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30218 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30220 (__WORDSIZE_TIME64_COMPAT32): This.
30221 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30222 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30223 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30224 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30225 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30226 (__WORDSIZE_TIME64_COMPAT32): New macro.
30228 2012-05-21 Andreas Jaeger <aj@suse.de>
30230 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30231 only if [SHARED]. Add prototype for __wcschr_ia32.
30233 2012-05-21 Roland McGrath <roland@hack.frob.com>
30235 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30236 of %rbp unmolested in the jmp_buf while mangling the low bits.
30237 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30238 unmolested high bits of %rbp while demangling the low bits.
30239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30241 2012-05-21 Andreas Jaeger <aj@suse.de>
30243 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30244 * sunrpc/svc_simple.c: Use it for registerrpc.
30245 * sunrpc/xcrypt.c: Use it for passwd2des.
30247 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30249 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30251 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30252 Don't define if [__SYSCALL_WORDSIZE != 32].
30253 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30256 2012-05-21 Bruno Haible <bruno@clisp.org>
30257 Andreas Jaeger <aj@suse.de>
30259 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30260 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30261 inptr and inend for must_buffer_ch.
30262 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30263 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30264 * stdio-common/Makefile (tests): Remove bug15.
30265 (bug15-ENV): Remove macro.
30266 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30269 2012-05-19 Andreas Jaeger <aj@suse.de>
30270 Roland McGrath <roland@hack.frob.com>
30272 * manual/contrib.texi: Completely rewritten. It contains now an
30273 alphabetical list of contributors and their contributions.
30275 2012-05-21 Richard Henderson <rth@twiddle.net>
30277 * misc/getauxval.c (__getauxval): Use unsigned long int.
30278 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30279 (getauxval): Use unsigned long int.
30281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30283 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30285 2012-05-21 Roland McGrath <roland@hack.frob.com>
30287 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30288 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30289 __alignof__ (long double).
30291 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30295 2012-05-20 Richard Henderson <rth@twiddle.net>
30297 * misc/getauxval.c: New file.
30298 * misc/sys/auxv.h: New file.
30299 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30300 (routines): Add getauxval.
30301 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30302 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30303 * elf/dl-sysdep.c (_dl_auxv): Remove.
30304 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30305 * elf/dl-support.c (_dl_auxv): New variable.
30306 (_dl_aux_init): Initialize it.
30307 * manual/startup.texi (Auxiliary Vector): New node.
30308 * sysdeps/generic/bits/hwcap.h: New file.
30309 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30310 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30311 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30312 * sysdeps/sparc/sysdep.h: ... here. Include it.
30313 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30326 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30330 2012-05-19 David S. Miller <davem@davemloft.net>
30332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30334 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30337 * math/s_ccosh.c: Include <float.h>
30338 (__ccosh): Avoid internal overflow calculating sinh and cosh
30339 values before multiplying by sin and cos values.
30340 * math/s_ccoshf.c: Likewise.
30341 * math/s_ccoshl.c: Likewise.
30342 * math/s_csin.c: Likewise.
30343 * math/s_csinf.c: Likewise.
30344 * math/s_csinl.c: Likewise.
30345 * math/s_csinh.c: Likewise.
30346 * math/s_csinhf.c: Likewise.
30347 * math/s_csinhl.c: Likewise.
30348 * math/libm-test.inc (ccos_test): Add more tests.
30349 (ccosh_test): Likewise.
30350 (csin_test): Likewise.
30351 (csinh_test): Likewise.
30352 * sysdeps/i386/fpu/libm-test-ulps: Update.
30353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30355 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30357 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30358 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30360 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30362 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30364 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30365 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30366 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30367 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30368 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30369 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30370 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30371 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30372 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30373 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30374 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30375 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30376 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30377 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30378 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30379 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30380 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30381 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30382 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30383 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30384 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30385 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30386 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30387 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30388 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30389 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30390 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30391 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30392 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30393 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30394 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30396 2012-05-18 Andreas Jaeger <aj@suse.de>
30398 * csu/.gitignore: Delete.
30400 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30402 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30403 (timex): Use __syscall_slong_t.
30405 2012-05-18 Andreas Jaeger <aj@suse.de>
30406 Carlos O'Donell <carlos_odonell@mentor.com>
30408 * manual/install.texi (Configuring and compiling): Update
30409 description about files modified in the source directory.
30410 * INSTALL: Regenerated.
30412 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30414 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30415 value. Use "or" to set return value to -1.
30416 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30417 negate return value.
30419 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30421 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30422 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30423 failure if the compiler has Graphite support disabled.
30424 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30426 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30427 (CFLAGS-memmove.c): Likewise.
30428 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30431 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30433 * sysdeps/x86_64/x32/_itoa.h: New file.
30435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30436 getdents system call only if kernel and user dirents have the
30437 same d_ino and d_off.
30439 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30440 LLONG_MAX != LONG_MAX.
30441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30442 (_fitoa_word): Likewise.
30444 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30447 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30450 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30451 include <bits/wordsize.h>. Check __x86_64__ instead of
30453 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30454 if __x86_64__ is defined. Use anonymous union on fpstate.
30456 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30459 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30461 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30462 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30463 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30464 Refer to _rtld_local_ro instead of _rtld_global_ro.
30465 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30467 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30469 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30471 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30472 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30473 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30475 * sysdeps/powerpc/powerpc32/dl-machine.c
30476 (__elf_machine_runtime_setup) [PROF]: Don't reference
30479 2012-05-18 Andreas Jaeger <aj@suse.de>
30481 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30482 function only available for GCCs before 3.4 since GCC 3.4
30483 introduced a builtin.
30485 (llrintf): Likewise.
30486 (llrint): Likewise.
30493 (nearbyint): Likewise.
30494 (nearbyintf): Likewise.
30498 (floorf): Likewise.
30500 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30502 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30503 on both fields and cast pointer to __syscall_ulong_t.
30505 * bits/types.h (__fsword_t): New type.
30506 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30507 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30509 (__FSWORD_T_TYPE): Likewise.
30510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30511 (__FSWORD_T_TYPE): Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30513 (__FSWORD_T_TYPE): Likewise.
30514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30515 (__FSWORD_T_TYPE): Likewise.
30516 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30517 __SWORD_TYPE with __fsword_t.
30518 (statfs64): Likewise.
30520 2012-05-17 David S. Miller <davem@davemloft.net>
30522 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30524 2012-05-17 Andreas Jaeger <aj@suse.de>
30526 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30529 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30531 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30533 2012-05-17 Andreas Jaeger <aj@suse.de>
30535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30538 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30540 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30542 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30544 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30545 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30547 2012-05-17 Andreas Jaeger <aj@suse.de>
30548 Carlos O'Donell <carlos_odonell@mentor.com>
30551 * sysdeps/x86_64/multiarch/init-arch.h
30552 (bit_YMM_Usable): Rename to...
30553 (bit_AVX_Usable): ... this.
30554 (bit_FMA4_Usable): New macro.
30555 (bit_XMM_state): New macro.
30556 (bit_YMM_state): New macro.
30557 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30558 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30559 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30560 (CPUID_OSXSAVE): New macro.
30561 (CPUID_AVX): New macro.
30562 (CPUID_FMA4): New macro.
30563 (index_YMM_Usable): Rename to...
30564 (index_AVX_Usable): ... this.
30565 (HAS_AVX): Use HAS_ARCH_FEATURE.
30566 (HAS_FMA4): Likewise.
30567 (HAS_YMM_USABLE): Remove.
30568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30569 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30571 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30572 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30573 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30574 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30575 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30577 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30579 * math/libm-test.c: Support platforms without multiple rounding modes.
30580 * math/bug-nextafter.c: Support platforms without FP exceptions.
30581 * math/bug-nexttoward.c: Likewise.
30582 * math/test-fenv.c: Likewise.
30583 * math/test-misc.c: Likewise.
30584 * stdlib/bug-getcontext.c: Likewise.
30586 2012-05-17 Andreas Jaeger <aj@suse.de>
30588 * manual/examples/search.c (critter_cmp): Change signature to
30590 * manual/string.texi (Collation Functions): Likewise.
30592 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30594 * bits/types.h: Fold copyright years.
30595 * bits/typesizes.h: Likewise.
30596 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30600 * time/time.h: Likewise.
30602 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30605 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30606 in instead of returning them. Return void.
30607 (__libc_mallinfo): Accumulate over all arenas.
30608 (__malloc_stats): Adjust for change in int_mallinfo interface.
30610 2012-05-16 Roland McGrath <roland@hack.frob.com>
30613 * configure.in (NM): Add AC_CHECK_TOOL for it.
30614 (libc_extra_cflags): New substituted variable.
30615 Check for -fstack-protector being used implicitly.
30616 * configure: Regenerated.
30617 * config.make.in (config-extra-cflags): New variable,
30618 gets @libc_extra_cflags@.
30619 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30622 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30623 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30624 * configure: Regenerated.
30625 * config.make.in (CPPUNDEFS): New substituted variable.
30626 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30627 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30628 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30632 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30633 (mq_attr): Use __syscall_slong_t.
30635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30638 Check __x86_64__ instead of __WORDSIZE.
30639 (_STAT_VER_LINUX): Likewise.
30640 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30641 __syscall_ulong_t and __syscall_slong_t.
30642 (stat64): Likewise.
30644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30650 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30652 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30654 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30657 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30658 include <bits/wordsize.h>. Check __x86_64__ instead of
30660 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30662 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30665 include <bits/wordsize.h>. Check __x86_64__ instead of
30667 (user_regs_struct): Use "__extension__ unsigned long long"
30668 instead of "unsigned long" if __x86_64__ is defined.
30669 (user): Likewise. Pad after pointer field if __ILP32__ is
30672 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30674 * configure.in (makeinfo): Require version 4.5 or later. Allow
30676 * configure: Regenerated.
30677 * manual/install.texi (texinfo): Increase version requirement to
30679 * INSTALL: Regenerated.
30681 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30685 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30687 * sysdeps/x86_64/x32/ffs.c: New file.
30689 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30691 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30692 defined. Use __syscall_ulong_t.
30693 (shminfo): Use __syscall_ulong_t.
30694 (shm_info): Likewise.
30696 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30699 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30701 (msgqnum_t): Use __syscall_ulong_t.
30702 (msglen_t): Likewise.
30703 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30706 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30707 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30709 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30711 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30712 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30714 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30717 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30718 include <bits/wordsize.h>. Check __x86_64__ instead of
30721 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30722 "unsigned long long int" if __x86_64__ is defined.
30723 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30725 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30726 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30727 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30729 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30731 (GET_PC): Cast to uintptr_t first.
30732 (GET_FRAME): Likewise.
30733 (GET_STACK): Likewise.
30735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30736 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30737 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30738 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30740 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30741 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30742 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30743 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30751 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30755 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30756 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30757 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30758 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30759 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30760 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30765 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30767 * Makerules (+depfiles): Also collect depfiles from .oS in
30769 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30770 .oS, $(libnldbl-routines)).
30772 * Makerules (native-compile-mkdep-flags): Define.
30773 * sunrpc/Makefile (extra-objs): Add $(addprefix
30774 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30775 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30776 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30777 calling $(make-target-directory).
30779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30781 * bits/types.h (__snseconds_t): Removed.
30782 * time/time.h (struct timespec): Replace __snseconds_t with
30784 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30785 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30788 (__SNSECONDS_T_TYPE): Likewise.
30789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30790 (__SNSECONDS_T_TYPE): Likewise.
30791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30792 (__SNSECONDS_T_TYPE): Likewise.
30794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30796 * sysdeps/mach/hurd/bits/typesizes.h
30797 (__SYSCALL_SLONG_TYPE): New macro.
30798 (__SYSCALL_ULONG_TYPE): Likewise.
30800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30802 * bits/types.h (__syscall_slong_t): New type.
30803 (__syscall_ulong_t): Likewise.
30805 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30806 (__SYSCALL_ULONG_TYPE): Likewise.
30807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30808 (__SYSCALL_SLONG_TYPE): Likewise.
30809 (__SYSCALL_ULONG_TYPE): Likewise.
30810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30811 (__SYSCALL_SLONG_TYPE): Likewise.
30812 (__SYSCALL_ULONG_TYPE): Likewise.
30813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30814 (__SYSCALL_SLONG_TYPE): Likewise.
30815 (__SYSCALL_ULONG_TYPE): Likewise.
30817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30819 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30820 Add sigaltstack-offsets.sym.
30821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30822 <sigaltstack-offsets.h>.
30823 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30824 longjmp_msg pointer.
30825 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30826 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30828 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30830 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30832 * elf/stackguard-macros.h: Remove file.
30833 * sysdeps/generic/stackguard-macros.h: New file.
30834 * sysdeps/i386/stackguard-macros.h: Likewise.
30835 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30836 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30837 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30838 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30839 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30840 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30841 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30842 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30843 <elf/stackguard-macros.h>.
30846 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30847 __aligned__ in attribute.
30848 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30849 (gregset_t): Likewise.
30851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30853 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30854 * sysdeps/x86_64/64/Implies-after: Here. New file.
30855 * sysdeps/x86_64/x32/Implies-after: New file.
30857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30859 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30860 and access return value for _dl_profile_fixup. Use R10_LP to
30863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30865 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30869 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30870 * sysdeps/x86_64/x32/sysdep.h: New file.
30872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30874 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30875 * sysdeps/x86_64/setjmp.S: Likewise.
30877 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30879 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30881 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30882 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30883 remove unused global constant.
30885 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30887 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30888 include of <not-cancel.h>.
30890 2012-05-15 Roland McGrath <roland@hack.frob.com>
30892 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30894 2012-05-15 Jeff Law <law@redhat.com>
30895 Andreas Jaeger <aj@suse.de>
30898 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30900 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30901 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30902 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30903 code changing __hst_map_handle.map.
30905 2012-05-15 Roland McGrath <roland@hack.frob.com>
30907 * configure.in (sysnames): Look for Implies-before and Implies-after
30909 * configure: Regenerated.
30911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30913 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30914 8-byte data alignment with LP_SIZE alignment.
30916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30918 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30923 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30927 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30928 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30929 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30931 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30935 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30936 (stackinfo_sub_sp): Likewise.
30938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30940 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30955 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30959 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30960 into R11_LP and load __x86_64_shared_cache_size_half into
30963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30965 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30968 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30977 powerpc32/power7/fpu/s_logb.c via #include.
30978 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30979 powerpc32/power7/fpu/s_logbf.c via #include.
30980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30981 powerpc32/power7/fpu/s_logbl.c via #include.
30983 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30985 * README.libm: Remove file.
30987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30989 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30990 count for x32. Use R*_LP and omit operand-size suffix.
30992 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30994 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30995 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30996 * sysdeps/x86_64/x32/shlib-versions: New file.
30998 2012-05-14 Roland McGrath <roland@hack.frob.com>
31000 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31001 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31002 Use _dl_fatal_printf instead.
31004 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31006 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31007 set if not set by the user. Do not allow for being unset.
31008 * sysdeps/unix/sysv/linux/configure: Regenerated.
31010 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31012 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31013 the `q' suffix from lea and replace .quad with ASM_ADDR.
31015 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31018 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31020 (PTR_DEMANGLE): Likewise.
31022 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31024 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31026 (ASM_ADDR): Likewise.
31027 (RAX_LP): Likewise.
31028 (RBP_LP): Likewise.
31029 (RBX_LP): Likewise.
31030 (RCX_LP): Likewise.
31031 (RDI_LP): Likewise.
31032 (RSI_LP): Likewise.
31033 (RSP_LP): Likewise.
31036 (R10_LP): Likewise.
31037 (R10_LP): Likewise.
31038 (R11_LP): Likewise.
31039 (R12_LP): Likewise.
31040 (R13_LP): Likewise.
31041 (R14_LP): Likewise.
31042 (R15_LP): Likewise.
31044 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31046 * sysdeps/x86_64/x32/dl-machine.h: New file.
31048 2012-05-14 Andreas Jaeger <aj@suse.de>
31050 * manual/Makefile (subdir): Remove export of subdir.
31051 (all): Remove target.
31052 (.PHONY): Remove all from list.
31053 (mkinstalldirs): Remove.
31054 (.PHONY): Remove installdirs from list.
31055 ($(inst_infodir)/libc.info): Use make-target-directory.
31056 (installdirs): Remove.
31057 (subdir_%): Remove.
31058 (glibc-targets): Remove.
31061 ($(objpfx)stubs ../po/manual.pot): Remove.
31062 ($(objpfx)stamp%): Remove.
31063 (make-target-directory): Remove.
31064 (subdir_install): Remove.
31065 (routines): Remove.
31072 * manual/.gitignore: Remove, it's not needed anymore.
31073 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31075 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31077 (texis): Renamed to $(objpfx)texis.
31078 (texis-path): New, contains path to generated files.
31079 (chapters.%): Use texis-path for complete path, add extra argument
31081 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31082 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31083 (summary,texi, stamp-summary): Use complete path of
31084 files. Generate files in build dir.
31085 (dir-add.texi): Build in build dir.
31086 (libm-err.texi,stamp-libm-err): Likewise.
31087 (version.texi, stamp-version): Likewise.
31088 (.%c.texi): Likewise.
31089 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31090 (mostlyclean): Remove target.
31091 (realclean): Remove target.
31092 (generated): Add new variable with contents from mostlyclean and
31093 realclean, remove entries duplicated in common-mostlyclean, add
31094 stamp-libm-err and stamp-version.
31095 (generated-dirs): Add libc directory.
31096 ($(inst_infodir)/libc.info): Install files from build dir.
31098 * manual/install.texi (Configuring and compiling): Adjust since
31099 the info files are not part of the tar ball anymore.
31101 2012-05-14 Andreas Jaeger <aj@suse.de>
31103 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31106 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31109 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31110 to 2.2.0 where earlier.
31111 * sysdeps/unix/sysv/linux/configure: Regenerated.
31112 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31113 Remove conditional code.
31114 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31115 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31116 Remove conditional code.
31117 [!__NR_lchown]: Likewise.
31118 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31119 [__NR_lchown]: Likewise.
31120 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31121 comment referencing __ASSUME_LCHOWN_SYSCALL.
31122 * sysdeps/unix/sysv/linux/i386/sigaction.c
31123 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31124 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31125 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31126 Remove conditional code.
31127 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31128 (__protocol_available): Remove #if 0 code.
31129 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31131 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31132 * sysdeps/unix/sysv/linux/kernel-features.h
31133 (__ASSUME_GETCWD_SYSCALL): Don't define.
31134 (__ASSUME_REALTIME_SIGNALS): Likewise.
31135 (__ASSUME_PREAD_SYSCALL): Likewise.
31136 (__ASSUME_PWRITE_SYSCALL): Likewise.
31137 (__ASSUME_POLL_SYSCALL): Likewise.
31138 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31139 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31141 (__ASSUME_SIOCGIFNAME): Don't define.
31142 (__ASSUME_MSG_NOSIGNAL): Likewise.
31143 (__ASSUME_SENDFILE): Define unconditionally.
31144 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31145 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31147 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31148 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31149 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31150 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31151 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31152 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31153 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31178 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31179 Remove conditional code.
31180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31181 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31182 Remove conditional code.
31183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31184 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31185 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31187 Remove conditional code.
31188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31189 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31190 Remove conditional code.
31191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31192 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31193 Remove conditional code.
31194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31195 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31196 Remove conditional code.
31197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31198 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31199 Remove conditional code.
31200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31201 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31204 * sysdeps/unix/sysv/linux/sigaction.c
31205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31207 * sysdeps/unix/sysv/linux/sigpending.c
31208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31210 * sysdeps/unix/sysv/linux/sigprocmask.c
31211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31213 * sysdeps/unix/sysv/linux/sigsuspend.c
31214 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31215 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31216 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31217 (__libc_missing_rt_sigs): Remove.
31218 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31219 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31220 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31221 Remove conditional code.
31222 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31223 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31225 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31226 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31227 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31228 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31230 2012-05-14 Andreas Jaeger <aj@suse.de>
31232 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31233 it's not used in glibc.
31234 (__coshm1): Likewise.
31235 (__acosh1p): Likewise.
31238 * manual/string.texi (Copying and Concatenation): Add missing
31239 variable in concat example.
31240 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31245 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31246 __builtin_clzl with __builtin_clzll.
31248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31251 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31254 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31256 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31257 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31258 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31259 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31261 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31263 * NEWS: Update ia64 info.
31265 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31267 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31270 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31272 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31273 * sysdeps/unix/syscalls.list (dup3): Likewise.
31274 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31275 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31277 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31279 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31280 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31282 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31284 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31286 (TLS_IE): Use mov/add instead of movq/addq to load thread
31288 (TLS_GD_PREFIX): New.
31291 2012-05-11 David S. Miller <davem@davemloft.net>
31293 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31294 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31295 (_FPU_SETCW): Likewise.
31297 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31299 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31300 is 32-byte aligned.
31302 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31305 * iconvdata/gb18030.c: Update tables.
31306 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31307 characters specially.
31308 (BODY for TO_LOOP): Add encoding of missing ranges.
31310 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31313 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31314 * sysdeps/mach/hurd/dup3.c: Likewise.
31315 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31316 * sysdeps/powerpc/memmove.c:: Likewise.
31318 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31321 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31323 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31325 * elf/elf.h (R_X86_64_RELATIVE64): New.
31326 (R_X86_64_NUM): Updated.
31327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31328 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31329 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31330 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31331 tst-quad1pie tst-quad2pie
31332 (modules-names): Add tst-quadmod1 tst-quadmod2.
31333 ($(objpfx)tst-quad1): New dependency.
31334 ($(objpfx)tst-quad2): Likewise.
31335 ($(objpfx)tst-quad1pie): Likewise.
31336 ($(objpfx)tst-quad2pie): Likewise.
31337 * sysdeps/x86_64/tst-quad1.c: New file.
31338 * sysdeps/x86_64/tst-quad1pie.c: New file.
31339 * sysdeps/x86_64/tst-quad2.c: Likewise.
31340 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31341 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31342 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31343 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31344 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31348 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31349 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31350 * streams/stropts.h (t_scalar_t): Define type.
31352 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31353 (_PATH_PRESERVE): Set to "/var/lib".
31354 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31356 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31359 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31360 if __dir_mkfile succeeded.
31362 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31363 checking for _hurd_dtablesize. Unlock it right after having
31364 finished _hurd_dtable allocation.
31366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31368 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31369 * sysdeps/mach/hurd/configure: Regenerated.
31370 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31371 special-casing to...
31372 * sysdeps/gnu/configure.in: ... this new file.
31373 * sysdeps/unix/sysv/linux/configure: Regenerated.
31374 * sysdeps/gnu/configure: New generated file.
31376 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31377 for Linux: use nsec instead of usec, as well as:
31378 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31379 members of type struct timespec.
31380 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31382 (struct stat64): Likewise.
31383 (_STATBUF_ST_NSEC): New macro.
31384 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31386 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31387 __strtoul_internal rather than strtoul.
31389 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31391 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31396 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31397 which preserves existing values.
31398 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31400 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31402 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31403 TIMEOUT values. Return EINVAL for NFDS values either negative or
31404 greater than FD_SETSIZE.
31406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31408 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31409 allocated, call __vm_protect to finish enabling the existing space, and
31410 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31411 allocate the remainder.
31413 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31415 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31416 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31420 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31421 sysdeps/mach/hurd/readlink.c.
31423 * posix/tst-sysconf.c (posix_options): Only use
31424 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31425 _POSIX_SYNCHRONIZED_IO when they are defined
31426 * sysdeps/mach/hurd/bits/posix_opt.h:
31427 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31428 (_XOPEN_REALTIME): Undefine macro.
31429 (_XOPEN_REALTIME_THREADS): Undefine macro.
31430 (_XOPEN_SHM): Undefine macro.
31431 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31433 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31435 (_POSIX_ASYNC_IO): Undefine macro.
31436 (_POSIX_PRIORITIZED_IO): Undefine macro.
31437 (_POSIX_SPIN_LOCKS): Define macro to -1.
31439 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31440 SA_NODEFER, SA_RESETHAND.
31441 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31442 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31447 * elf/Makefile (pldd-modules): Define unconditionally.
31449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31451 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31455 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31456 Return ENOENT when name is empty.
31457 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31461 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31463 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31467 Fix mlock in all cases except non-readable pages.
31468 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31469 instead of VM_PROT_ALL as parameter to __vm_wire function.
31471 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31472 (__mkdir): When path is `/', just fail with EEXIST.
31473 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31475 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31477 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31478 <sys/uio.h> (for writev).
31479 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31480 and <sys/param.h> (for MIN).
31482 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31484 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31485 REQUESTED_TIME. Properly set the remaining time and return EINTR
31488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31490 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31491 Depend on against $(link-rpcuserlibs).
31493 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31495 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31496 (__libc_stack_end): Do not use attribute_relro.
31497 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31498 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31499 to libthread-provided value.
31500 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31506 * bits/libc-lock.h (__libc_once_get): New macro.
31507 * sysdeps/mach/bits/libc-lock.h: Likewise.
31508 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31510 instead of using implementation details.
31512 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31513 * libio/freopen.c: Likewise.
31514 * libio/freopen64.c: Likewise.
31515 * misc/syslog.c: Likewise.
31516 * nscd/connections.c: Likewise.
31517 * nscd/netgroupcache.c: Likewise.
31518 * sysdeps/posix/getcwd.c: Likewise.
31520 2012-05-10 Roland McGrath <roland@hack.frob.com>
31522 * math/w_ilogbf.c: Add #include <limits.h>.
31524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31526 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31527 path instead of returning without unlocking.
31529 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31530 immediate-write ioctls.
31531 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31535 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31536 __builtin_frame_address instead of making assumptions about the
31537 location of the return address relative to DATA. Force early load of
31538 the return address.
31539 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31540 __builtin_frame_address.
31543 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31544 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31545 implement dup3 and do some further code clean-ups.
31546 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31547 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31551 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31553 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31554 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31555 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31556 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31557 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31560 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31561 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31562 when handler == SIG_ERR, not when handler != SIG_ERR.
31564 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31566 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31567 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31570 accept4 for GNU Hurd.
31571 * include/sys/socket.h (__libc_accept4): New prototype.
31572 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31573 to implement __libc_accept4.
31574 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31576 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31578 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31579 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31580 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31581 signal-defines.sym.
31583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31585 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31589 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31590 assertion on O_CLOEXEC flag.
31591 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31592 * hurd/intern-fd.c: Likewise.
31593 * hurd/port2fd.c: Likewise.
31595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31598 * bits/in.h (IPV6_PKTINFO): Define new macro.
31599 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31601 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31606 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31608 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31609 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31611 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31612 * math/libm-test.inc (logb_test) : Additional logb tests.
31614 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31615 Andreas Jaeger <aj@suse.de>
31617 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31618 * configure: Regenerated.
31619 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31620 * config.make.in (link-obsolete-rpc): New substituted variable.
31621 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31622 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31623 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31624 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31625 so that libc.a contains the symbols.
31626 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31627 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31628 * sunrpc/auth_none.c: Likewise.
31629 * sunrpc/auth_unix.c: Likewise.
31630 * sunrpc/authdes_prot.c: Likewise.
31631 * sunrpc/authuxprot.c: Likewise.
31632 * sunrpc/clnt_gen.c: Likewise.
31633 * sunrpc/clnt_perr.c: Likewise.
31634 * sunrpc/clnt_raw.c: Likewise.
31635 * sunrpc/clnt_simp.c: Likewise.
31636 * sunrpc/clnt_tcp.c: Likewise.
31637 * sunrpc/clnt_udp.c: Likewise.
31638 * sunrpc/clnt_unix.c: Likewise.
31639 * sunrpc/des_crypt.c: Likewise.
31640 * sunrpc/des_soft.c: Likewise.
31641 * sunrpc/get_myaddr.c: Likewise.
31642 * sunrpc/key_call.c: Likewise.
31643 * sunrpc/key_prot.c: Likewise.
31644 * sunrpc/netname.c: Likewise.
31645 * sunrpc/pm_getmaps.c: Likewise.
31646 * sunrpc/pm_getport.c: Likewise.
31647 * sunrpc/pmap_clnt.c: Likewise.
31648 * sunrpc/pmap_prot.c: Likewise.
31649 * sunrpc/pmap_prot2.c: Likewise.
31650 * sunrpc/pmap_rmt.c: Likewise.
31651 * sunrpc/publickey.c: Likewise.
31652 * sunrpc/rpc_cmsg.c: Likewise.
31653 * sunrpc/rpc_common.c: Likewise.
31654 * sunrpc/rpc_dtable.c: Likewise.
31655 * sunrpc/rpc_prot.c: Likewise.
31656 * sunrpc/rpc_thread.c: Likewise.
31657 * sunrpc/rtime.c: Likewise.
31658 * sunrpc/svc.c: Likewise.
31659 * sunrpc/svc_auth.c: Likewise.
31660 * sunrpc/svc_raw.c: Likewise.
31661 * sunrpc/svc_run.c: Likewise.
31662 * sunrpc/svc_tcp.c: Likewise.
31663 * sunrpc/svc_udp.c: Likewise.
31664 * sunrpc/svc_unix.c: Likewise.
31665 * sunrpc/svcauth_des.c: Likewise.
31666 * sunrpc/xcrypt.c: Likewise.
31667 * sunrpc/xdr.c: Likewise.
31668 * sunrpc/xdr_array.c: Likewise.
31669 * sunrpc/xdr_float.c: Likewise.
31670 * sunrpc/xdr_intXX_t.c: Likewise.
31671 * sunrpc/xdr_mem.c: Likewise.
31672 * sunrpc/xdr_rec.c: Likewise.
31673 * sunrpc/xdr_ref.c: Likewise.
31674 * sunrpc/xdr_sizeof.c: Likewise.
31675 * sunrpc/xdr_stdio.c: Likewise.
31677 2012-05-10 Roland McGrath <roland@hack.frob.com>
31679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31680 change. Update copyright years.
31682 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31684 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31686 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31687 Joseph Myers <joseph@codesourcery.com>
31688 Paul Pluzhnikov <ppluzhnikov@google.com>
31691 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31693 [cross-compiling] (extra-libs): Likewise.
31694 [cross-compiling] (extra-libs-others): Likewise.
31695 [cross-compiling] (librpcsvc-routines): Likewise.
31696 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31697 [cross-compiling] (omit-deps): Likewise.
31698 (sunrpc-CPPFLAGS): New variable.
31699 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31700 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31701 (cross-rpcgen-objs): New variable.
31702 (extra-objs): Append $(cross-rpcgen-objs).
31703 ($(cross-rpcgen-objs)): New rule.
31704 ($(objpfx)cross-rpcgen): Likewise.
31705 (rpcgen-cmd): Define to use $(built-program-file). Expand
31707 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31708 ($(objpfx)x%.stmp): Likewise.
31709 * sunrpc/proto.h [IS_IN_build] (_): Define.
31710 [IS_IN_build] (_libc_intl_domainname): Likewise.
31712 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31715 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31716 and R_X86_64_TPOFF64.
31718 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31720 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31721 sysdeps/unix/sysv/syscalls.list.
31724 * sysdeps/unix/sysv/syscalls.list: Remove file.
31726 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31729 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31730 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31731 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31732 (__LC_IDENTIFICATION): Make these macros useful in #if
31733 expressions, as required by C99.
31735 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31737 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31738 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31741 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31743 * stdlib/longlong.h: Updated from GCC.
31745 2012-05-09 Andreas Jaeger <aj@suse.de>
31747 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31748 default is first entry.
31749 (run_mode): Set type.
31750 (main): Remove informal message about syslog.
31751 (options): Fix typo.
31754 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31757 (llrintf): Likewise.
31758 (llrint): Likewise.
31761 (nearbyint): Likewise.
31762 (nearbyintf): Likewise.
31764 2012-05-09 Andreas Jaeger <aj@suse.de>
31765 Pedro Alves <palves@redhat.com>
31767 * nscd/nscd.c (run_mode): Use enum.
31768 (main): Cleanup coding style issue.
31770 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31771 Andreas Jaeger <aj@suse.de>
31773 * nscd/nscd.c (go_background): Replaced with...
31774 (run_mode): ... this.
31775 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31776 (options): Add -F --foreground.
31777 (main): Implement it.
31778 (parse_opt): Parse it.
31780 2012-05-09 Andreas Jaeger <aj@suse.de>
31783 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31784 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31785 -Wconversion warning.
31786 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31789 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31791 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31793 (LC_ALL): Use macro-int-constant.
31794 (LC_COLLATE): Likewise.
31795 (LC_CTYPE): Likewise.
31796 (LC_MESSAGES): Likewise.
31797 (LC_MONETARY): Likewise.
31798 (LC_NUMERIC): Likewise.
31799 (LC_TIME): Likewise.
31800 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31801 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31803 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31805 [C99-based standards] (float_t): Expect type.
31806 [C99-based standards] (double_t): Expect type.
31807 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31809 [C99-based standards] (HUGE_VALL): Likewise.
31810 [C99-based standards] (INFINITY): Likewise.
31811 [C99-based standards] (NAN): Likewise.
31812 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31813 [C99-based standards] (FP_NAN): Likewise.
31814 [C99-based standards] (FP_NORMAL): Likewise.
31815 [C99-based standards] (FP_SUBNORMAL): Likewise.
31816 [C99-based standards] (FP_ZERO): Likewise.
31817 [C99-based standards] (FP_FAST_FMA): Use
31818 optional-macro-int-constant. Specify type. Require == 1.
31819 [C99-based standards] (FP_FAST_FMAF): Likewise.
31820 [C99-based standards] (FP_FAST_FMAL): Likewise.
31821 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31822 [C99-based standards] (FP_ILOGBNAN): Likewise.
31823 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31825 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31826 [C99-based standards] (math_errhandling): Specify type.
31827 [ISO99 || ISO11] (signgam): Do not allow.
31828 [non-C99-based standards] (copysignf): Do not allow.
31829 [non-C99-based standards] (exp2f): Likewise.
31830 [non-C99-based standards] (log2f): Likewise.
31831 [non-C99-based standards] (modff): Allow.
31832 [non-C99-based standards] (erff): Do not allow.
31833 [non-C99-based standards] (erfcf): Likewise.
31834 [non-C99-based standards] (gammaf): Likewise.
31835 [non-C99-based standards] (hypotf): Likewise.
31836 [non-C99-based standards] (j0f): Likewise.
31837 [non-C99-based standards] (j1f): Likewise.
31838 [non-C99-based standards] (jnf): Likewise.
31839 [non-C99-based standards] (lgammaf): Likewise.
31840 [non-C99-based standards] (tgammaf): Likewise.
31841 [non-C99-based standards] (y0f): Likewise.
31842 [non-C99-based standards] (y1f): Likewise.
31843 [non-C99-based standards] (ynf): Likewise.
31844 [non-C99-based standards] (isnanf): Likewise.
31845 [non-C99-based standards] (acoshf): Likewise.
31846 [non-C99-based standards] (asinhf): Likewise.
31847 [non-C99-based standards] (atanhf): Likewise.
31848 [non-C99-based standards] (cbrtf): Likewise.
31849 [non-C99-based standards] (expm1f): Likewise.
31850 [non-C99-based standards] (ilogbf): Likewise.
31851 [non-C99-based standards] (log1pf): Likewise.
31852 [non-C99-based standards] (logbf): Likewise.
31853 [non-C99-based standards] (nextafterf): Likewise.
31854 [non-C99-based standards] (remainderf): Likewise.
31855 [non-C99-based standards] (rintf): Likewise.
31856 [non-C99-based standards] (scalbf): Likewise.
31857 [non-C99-based standards] (copysignl): Likewise.
31858 [non-C99-based standards] (exp2l): Likewise.
31859 [non-C99-based standards] (log2l): Likewise.
31860 [non-C99-based standards] (modfl): Allow.
31861 [non-C99-based standards] (erfl): Do not allow.
31862 [non-C99-based standards] (erfcl): Likewise.
31863 [non-C99-based standards] (gammal): Likewise.
31864 [non-C99-based standards] (hypotl): Likewise.
31865 [non-C99-based standards] (j0l): Likewise.
31866 [non-C99-based standards] (j1l): Likewise.
31867 [non-C99-based standards] (jnl): Likewise.
31868 [non-C99-based standards] (lgammal): Likewise.
31869 [non-C99-based standards] (tgammal): Likewise.
31870 [non-C99-based standards] (y0l): Likewise.
31871 [non-C99-based standards] (y1l): Likewise.
31872 [non-C99-based standards] (ynl): Likewise.
31873 [non-C99-based standards] (isnanl): Likewise.
31874 [non-C99-based standards] (acoshl): Likewise.
31875 [non-C99-based standards] (asinhl): Likewise.
31876 [non-C99-based standards] (atanhl): Likewise.
31877 [non-C99-based standards] (cbrtl): Likewise.
31878 [non-C99-based standards] (expm1l): Likewise.
31879 [non-C99-based standards] (ilogbl): Likewise.
31880 [non-C99-based standards] (log1pl): Likewise.
31881 [non-C99-based standards] (logbl): Likewise.
31882 [non-C99-based standards] (nextafterl): Likewise.
31883 [non-C99-based standards] (remainderl): Likewise.
31884 [non-C99-based standards] (rintl): Likewise.
31885 [non-C99-based standards] (scalbl): Likewise.
31886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31887 [non-C99-based standards] (FP_*): Do not allow.
31888 [C99-based standards] (FP_*): Change to
31889 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31890 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31892 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31893 (SIG_ERR): Likewise.
31894 [X/Open-based standards] (SIG_HOLD): Likewise.
31895 (SIG_IGN): Likewise.
31896 (SIGABRT): Use macro-int-constant. Specify type. Require
31898 (SIGFPE): Likewise.
31899 (SIGILL): Likewise.
31900 (SIGINT): Likewise.
31901 (SIGSEGV): Likewise.
31902 (SIGTER): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31905 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31906 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31907 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31908 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31909 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31910 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31911 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31912 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31913 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31914 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31915 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31916 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31917 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31918 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31919 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31920 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31921 [X/Open-based standards] (SIGTRAP): Likewise.
31922 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31923 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31924 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31925 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31926 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31929 2012-05-08 Ian Wienand <ianw@vmware.com>
31932 * time/tzset.c (__tzset_parse_tz): Update default rules for
31933 daylight time changes in the Energy Policy Act of 2005.
31935 2012-05-09 Andreas Jaeger <aj@suse.de>
31938 * elf/ldconfig.c (parse_conf): Change string to make clear that
31939 ldconfig only issued a warning if ld.so.conf does not exist.
31941 2012-05-08 David S. Miller <davem@davemloft.net>
31943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31944 movxtod instead of popping the value on the stack.
31946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31948 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31950 * config.h.in: Add HAVE_ARM_PCS_VFP.
31952 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31955 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31956 checking but the checks are disabled for any reason.
31958 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31960 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31961 and ELF64_R_TYPE with ELFW(R_TYPE).
31963 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31965 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31966 (ulimit): Likewise.
31968 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31969 (settimeofday): Likewise.
31971 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31973 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31974 a struct th_u2 inside the union, and move tu_block/tu_code into
31975 a new th_u3 union of tu_block/tu_code inside of that. Move
31976 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31977 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31978 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31979 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31980 (th_stuff): Change to th_u1.tu_stuff.
31982 (th_msg): Change to th_u1.th_u2.tu_data.
31984 2012-05-07 David S. Miller <davem@davemloft.net>
31986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31989 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31990 (SETUP_PIC_REG): Use it.
31991 (SETUP_PIC_REG_LEAF): Use it.
31993 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31997 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31999 (EXPL_FINITE): Likewise.
32000 (FLDLOG): Likewise.
32001 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32002 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32006 (EXPL_FINITE): Likewise.
32007 (FLDLOG): Likewise.
32008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32009 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32011 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32012 test of -max_value argument for long double.
32013 * sysdeps/i386/fpu/libm-test-ulps: Update.
32014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32016 2012-05-06 David S. Miller <davem@davemloft.net>
32018 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32019 quad soft-float symbols whose references which are compiler
32021 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32023 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32029 (EXPL_FINITE): Likewise.
32030 (FLDLOG): Likewise.
32033 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32034 Adjust comments for base varying.
32035 (__expl_finite): Change alias to EXPL_FINITE.
32036 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32038 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32039 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32040 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32041 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32044 (EXPL_FINITE): Likewise.
32045 (FLDLOG): Likewise.
32048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32049 Adjust comments for base varying.
32050 (__expl_finite): Change alias to EXPL_FINITE.
32051 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32056 * math/libm-test.inc (check_float_internal): Correct ulp
32057 calculation for subnormal expected results.
32059 2012-05-06 Andreas Jaeger <aj@suse.de>
32061 * Makeconfig (+math-flags): New, set to -frounding-math.
32062 (+cflags): Add +math-flags so that all of glibc gets compiled with
32065 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32067 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32069 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32075 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32076 (__ieee754_expl): Allow for and saturate large arguments.
32077 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32078 (u_threshold): Likewise.
32079 (__exp): Call __ieee754_exp before checking for overflow and
32081 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32082 (u_threshold): Likewise.
32083 (__expf): Call __ieee754_expf before checking for overflow and
32085 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32086 (u_threshold): Likewise.
32087 (__expl): Call __ieee754_expl before checking for overflow and
32089 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32090 (__ieee754_expl): Allow for and saturate large arguments.
32091 * math/libm-test.inc (exp_test): Add another test. Do not allow
32092 missing overflow exception on overflow.
32093 (expm1_test): Do not allow missing overflow exception on overflow.
32095 * sysdeps/i386/fpu/e_expl.c: Move to ...
32096 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32097 rather than using inline asm.
32098 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32099 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32100 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32102 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32105 (signal): Likewise.
32109 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32111 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32112 sysdeps/unix/common/syscalls.list.
32113 (fchmod): Likewise.
32114 (fchown): Likewise.
32115 (ftruncate): Likewise.
32116 (getrusage): Likewise.
32117 (gettimeofday): Likewise.
32118 (setpgid): Likewise.
32119 (setregid): Likewise.
32120 (setreuid): Likewise.
32121 (sigaction): Likewise.
32122 (truncate): Likewise.
32123 (vhangup): Likewise.
32124 * sysdeps/unix/common/syscalls.list: Remove file.
32125 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32126 * sysdeps/unix/sysv/linux/Implies: Likewise.
32128 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32130 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32132 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32136 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32139 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32142 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32148 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32151 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32154 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32158 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32162 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32165 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32169 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32173 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32175 * sysdeps/unix/common/bits/dirent.h: Remove file.
32176 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32178 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32179 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32180 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32181 * sysdeps/unix/bsd/isatty.c: Likewise.
32182 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32183 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32184 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32186 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32190 long double comparison inaccuracies.
32191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32194 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32196 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32199 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32203 nonzero digits before rounding a hex value.
32204 * stdlib/tst-strtod.c (tests): Add another test.
32206 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32208 * sysdeps/s390/fpu/libm-test-ulps: Update.
32210 2012-05-03 Andreas Jaeger <aj@suse.de>
32212 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32213 does not get optimized out.
32214 (malloc_opt_barrier): New.
32216 2012-05-03 Andreas Jaeger <aj@suse.de>
32217 Roland McGrath <roland@hack.frob.com>
32219 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32220 intermediate file deletion.
32221 (generated): Add .symlist files.
32223 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32226 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32227 Redirect under this condition.
32228 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32229 [__USE_GNU] (__dprintf_chk): Not under this condition.
32230 [__USE_GNU] (__vdprintf_chk): Likewise.
32231 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32232 under this condition.
32233 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32234 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32235 [__USE_XOPEN2K8] (vdprintf): Likewise.
32236 [__USE_GNU] (__dprintf_chk): Not under this condition.
32237 [__USE_GNU] (__vdprintf_chk): Likewise.
32238 [__USE_GNU] (dprintf): Likewise.
32239 [__USE_GNU] (vdprintf): Likewise.
32241 2012-05-03 Roland McGrath <roland@hack.frob.com>
32243 * elf/Makefile (common-generated): Set this instead of generated for
32244 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32245 $(all-built-dso)-derived lists.
32247 2012-05-03 Andreas Jaeger <aj@suse.de>
32249 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 * FAQ.in: Likewise.
32253 * scripts/gen-FAQ.pl: Likewise.
32254 * manual/install.texi (Installation): Point to online location of
32256 * Makefile (files-for-dist): Remove FAQ.
32259 2012-05-02 Allan McRae <allan@archlinux.org>
32261 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32262 (LDFLAGS-reldepmod5.so): Likewise.
32263 (LDFLAGS-reldep6mod1.so): Likewise.
32264 (LDFLAGS-reldep6mod4.so): Likewise.
32265 (LDFLAGS-reldep8mod3.so): Likewise.
32266 (LDFLAGS-unload4mod1.so): Likewise.
32267 (LDFLAGS-unload4mod2.so): Likewise.
32268 (LDFLAGS-tst-initorder): Likewise.
32269 (LDFLAGS-tst-initordera2.so): Likewise.
32270 (LDFLAGS-tst-initordera3.so): Likewise.
32271 (LDFLAGS-tst-initordera4.so): Likewise.
32272 (LDFLAGS-tst-initorderb2.so): Likewise.
32273 (LDFLAGS-noload): Likewise.
32274 (LDFLAGS-next): Likewise.
32275 (LDFLAGS-order2mod1.so): Likewise.
32276 (LDFLAGS-order2mod2.so): Likewise.
32277 (LDFLAGS-tst-initorder2): Likewise.
32278 (LDFLAGS-tst-initorder2a.so): Likewise.
32279 (LDFLAGS-tst-initorder2b.so): Likewise.
32280 (LDFLAGS-tst-initorder2c.so): Likewise.
32281 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32283 2012-05-02 David S. Miller <davem@davemloft.net>
32285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32287 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32290 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32292 2012-05-02 Andreas Jaeger <aj@suse.de>
32294 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32295 since we manipulate rounding mode.
32296 (CPPFLAGS-test-idouble.c): Likewise.
32297 (CPPFLAGS-test-ifloat.c): Likewise.
32298 (CFLAGS-test-ldouble.c): Likewise.
32299 (CFLAGS-test-double.c): Likewise.
32300 (CFLAGS-test-float.c): Likewise.
32301 (CFLAGS-test-misc.c): Likewise.
32302 (CFLAGS-test-test-fenv.c): Likewise.
32304 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32309 comparisons to determine direction to adjust input.
32311 2012-05-01 Roland McGrath <roland@hack.frob.com>
32313 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32314 output to the target.
32316 * scripts/localplt.awk: New file.
32317 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32318 (check-localplt-CFLAGS): Variable removed.
32319 ($(all-built-dso:=.jmprel)): New static pattern rule.
32320 (generated): Add those targets.
32321 (localplt-built-dso): New variable.
32322 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32324 * elf/check-localplt.c: File removed.
32326 * scripts/check-execstack.awk: New file.
32327 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32328 (check-execstack-CFLAGS): Variable removed.
32329 ($(objpfx)check-execstack.h): Target removed.
32330 ($(objpfx)execstack-default): New target.
32331 (generated): Add that instead of check-execstack.h.
32332 ($(all-built-dso:=.phdr)): New static pattern rule.
32333 (generated): Add those targets.
32334 * elf/check-execstack.c: File removed.
32336 * scripts/check-textrel.awk: New file.
32337 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32338 (check-textrel-CFLAGS): Variable removed.
32339 (all-built-dso): Use := to define.o
32340 ($(all-built-dso:=.dyn)): New static pattern rule.
32341 (generated): Add those targets.
32342 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32343 * config.make.in (READELF): New substituted variable.
32344 * elf/check-textrel.c: File removed.
32346 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32348 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32350 * conform/data/ctype.h-data [C99-based standards] (isblank):
32352 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32353 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32355 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32356 Specify type. Require positive value.
32357 (EILSEQ): Likewise.
32358 (ERANGE): Likewise.
32359 [ISO || POSIX] (EILSEQ): Do not expect.
32360 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32361 Specify type. Require positive value.
32362 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32373 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32383 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32384 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32385 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32386 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32387 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32388 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32389 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32390 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32391 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32392 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32393 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32394 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32395 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32396 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32397 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32398 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32399 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32400 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32401 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32402 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32403 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32404 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32405 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32406 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32407 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32408 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32409 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32410 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32411 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32412 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32413 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32414 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32415 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32416 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32417 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32418 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32419 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32420 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32421 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32422 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32423 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32424 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32425 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32426 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32427 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32428 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32429 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32430 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32431 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32432 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32433 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32434 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32435 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32436 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32437 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32438 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32440 (FLT_ROUNDS): Expect as macro, not constant.
32441 (FLT_MANT_DIG): Use macro-int-constant.
32442 (DBL_MANT_DIG): Likewise.
32443 (LDBL_MANT_DIG): Likewise.
32444 (FLT_DIG): Likewise.
32445 (DBL_DIG): Likewise.
32446 (LDBL_DIG): Likewise.
32447 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32448 (DBL_MIN_EXP): Likewise.
32449 (LDBL_MIN_EXP): Likewise.
32450 (FLT_MAX_EXP): Use macro-int-constant.
32451 (DBL_MAX_EXP): Likewise.
32452 (LDBL_MAX_EXP): Likewise.
32453 (FLT_MAX_10_EXP): Likewise.
32454 (DBL_MAX_10_EXP): Likewise.
32455 (LDBL_MAX_10_EXP): Likewise.
32456 (FLT_MAX): Use macro-constant.
32457 (DBL_MAX): Likewise.
32458 (LDBL_MAX): Likewise.
32459 (FLT_EPSILON): Use macro-constant. Give upper bound.
32460 (DBL_EPSILON): Likewise.
32461 (LDBL_EPSILON): Likewise.
32462 (FLT_MIN): Likewise.
32463 (DBL_MIN): Likewise.
32464 (LDBL_MIN): Likewise.
32465 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32466 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32467 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32468 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32469 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32470 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32471 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32472 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32473 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32474 [ISO11] (FLT_TRUE_MIN): Likewise.
32475 [ISO11] (LDBL_TRUE_MIN): Likewise.
32476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32477 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32478 (SCHAR_MIN): Use macro-int-constant. Specify type.
32479 (SCHAR_MAX): Likewise.
32480 (UCHAR_MAX): Likewise.
32481 (CHAR_MIN): Likewise.
32482 (CHAR_MAX): Likewise.
32483 (MB_LEN_MAX): Use macro-int-constant.
32484 (SHRT_MIN): Use macro-int-constant. Specify type.
32485 (SHRT_MAX): Likewise.
32486 (USHRT_MAX): Likewise.
32487 (INT_MAX): Likewise.
32488 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32490 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32492 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32494 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32495 bound negative. Suffix upper bound with "L".
32496 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32498 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32500 [C99-based standards] (LLONG_MAX): Likewise.
32501 [C99-based standards] (ULLONG_MAX): Likewise.
32502 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32504 [ISO11] (max_align_t): Require type.
32505 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32507 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32508 from $CFLAGS, without defining away __attribute__ calls.
32509 (checknamespace): Use $CFLAGS_namespace.
32511 * conform/conformtest.pl (@keywords): Only include C99 keywords
32512 for standards based on C99 or C11.
32514 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32516 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32519 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32520 usability of symbols in #if.
32522 * conform/conformtest.pl: If macro or constant types start
32523 "promoted:", expect the symbol to be of the following type
32524 promoted by the integer promotions.
32526 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32527 in one place. Also handle "macro-constant".
32529 * conform/conformtest.pl: Only accept expected macro values with
32530 "==". Parse all "macro" lines in one place.
32531 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32533 * conform/conformtest.pl: Handle braced types on "constant" lines
32534 instead of handling "typed-constant".
32535 * conform/data/signal.h-data: Use "constant" instead of
32538 * conform/conformtest.pl: Handle "optional-" at start of lines in
32539 one place rather than duplicating several cases. Handle each
32540 format of "macro" line with initial "optional-".
32542 * conform/conformtest.pl: Only accept expected constant or
32543 optional-constant values with "==". Parse all "constant" lines in
32544 one place. Parse all "optional-constant" lines in one place.
32545 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32546 * conform/data/fmtmsg.h-data: Likewise.
32547 * conform/data/netinet/in.h-data: Likewise.
32548 * conform/data/tar.h-data: Likewise.
32549 * conform/data/limits.h-data: Use "==" form on "constant" and
32550 "optional-constant" lines.
32552 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32553 Use -std=c99 for XOPEN2K.
32554 (@knownproblems): Remove.
32555 (newtoken): Don't check %isknown.
32557 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32558 Do not expect macro.
32559 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32571 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32572 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32589 [XPG3] (acosh): Likewise.
32590 [XPG3] (asinh): Likewise.
32591 [XPG3] (atanh): Likewise.
32592 [XPG3] (cbrt): Likewise.
32593 [XPG3] (expm1): Likewise.
32594 [XPG3] (ilogb): Likewise.
32595 [XPG3] (log1p): Likewise.
32596 [XPG3] (logb): Likewise.
32597 [XPG3] (nextafter): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32600 [XPG3] (remainder): Likewise.
32601 [XPG3] (rint): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32609 [UNIX98 || XOPEN2K] (scalb): Expect.
32610 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32611 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32748 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32749 _XOPEN_SOURCE_EXTENDED for XPG4.
32751 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32753 * Makeconfig (localtime): Remove variable.
32754 (inst_localtime-file): Likewise.
32756 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32777 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32781 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32782 comparisons to determine direction to adjust input.
32783 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32784 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32789 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32794 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32796 * math/libm-test.inc (nexttoward_test): Add more tests.
32798 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32802 in version GLIBC_2.1, not GLIBC_2.0.
32803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32806 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32809 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32811 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32812 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32813 * math/libm-test.inc (acos_test): Add more tests.
32814 (asin_test): Likewise.
32815 * sysdeps/i386/fpu/libm-test-ulps: Update.
32816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32819 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32821 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32822 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32823 * math/libm-test.inc (acos_test_tonearest): New function.
32824 (acos_test_towardzero): Likewise.
32825 (acos_test_downward): Likewise.
32826 (acos_test_upward): Likewise.
32827 (asin_test_tonearest): Likewise.
32828 (asin_test_towardzero): Likewise.
32829 (asin_test_downward): Likewise.
32830 (asin_test_upward): Likewise.
32831 (main): Call the new functions.
32832 * sysdeps/i386/fpu/libm-test-ulps: Update.
32833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32837 * math/e_exp10.c: Include <float.h>.
32838 (__ieee754_exp10): Handle underflow here rather than multiplying
32839 large negative argument by M_LN10.
32840 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32842 * math/e_exp10l.c: Include <float.h>.
32843 (__ieee754_exp10l): Handle underflow here rather than multiplying
32844 large negative argument by M_LN10l.
32845 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32846 spurious overflow exception on underflow.
32848 2012-04-29 Marek Polacek <polacek@redhat.com>
32850 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32851 (__fortify_function): New macro.
32852 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32853 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32854 __extern_always_inline.
32855 * libio/bits/stdio2.h: Likewise.
32856 * libio/bits/stdio.h: Likewise.
32857 * string/string.h: Likewise.
32858 * string/bits/string3.h: Likewise.
32859 * include/stdio.h: Likewise.
32860 * stdlib/bits/stdlib.h: Likewise.
32861 * stdlib/stdlib.h: Likewise.
32862 * rt/bits/mqueue2.h: Likewise.
32863 * rt/mqueue.h: Likewise.
32864 * posix/bits/unistd.h: Likewise.
32865 * posix/unistd.h: Likewise.
32866 * io/bits/poll2.h: Likewise.
32867 * io/bits/fcntl2.h: Likewise.
32868 * io/fcntl.h: Likewise.
32869 * io/sys/poll.h: Likewise.
32870 * misc/bits/syslog.h: Likewise.
32871 * misc/bits/syslog-ldbl.h: Likewise.
32872 * misc/sys/syslog.h: Likewise.
32873 * socket/bits/socket2.h: Likewise.
32874 * socket/sys/socket.h: Likewise.
32875 * debug/tst-chk1.c: Likewise.
32876 * wcsmbs/bits/wchar2.h: Likewise.
32877 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32878 * wcsmbs/wchar.h: Likewise.
32880 2012-04-29 Andreas Jaeger <aj@suse.de>
32882 * Makerules (tests): Remove enable-check-abi protection.
32883 (check-abi-warn): Remove.
32884 (check-abi-%): Remove check-abi-warn usage.
32886 * configure.in: Remove check-abi configure option.
32887 * configure: Regenerated.
32888 * config.make.in (enable-check-abi): Remove.
32890 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32893 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32894 double functions to double *_finite functions.
32897 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32898 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32900 * stdio-common/Makefile (tests): Add tst-sprintf3.
32901 * stdio-common/tst-sprintf3.c: New file.
32903 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32904 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32906 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32908 * conform/conformtest.pl: Remove duplicate typed-constant
32911 2012-04-28 David S. Miller <davem@davemloft.net>
32913 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32914 (check-abi-%): Remove AWK script prerequisite and explicit
32916 (check-abi): Rewrite to just diff the symlist with the abilist.
32917 (config-tls, config-abi-config): Delete, no longer used.
32918 (update-abi-%): Remove AWK script and explicit abilist directory.
32919 (update-abi): Rewrite to simply compare and conditionally copy the
32920 symlist and the sysdep abilist file. Remove update-abi-config
32922 * abilist/ld.abilist: Remove.
32923 * abilist/libBrokenLocale.abilist: Remove.
32924 * abilist/libanl.abilist: Remove.
32925 * abilist/libcrypt.abilist: Remove.
32926 * abilist/libdl.abilist: Remove.
32927 * abilist/librt.abilist: Remove.
32928 * abilist/libthread_db.abilist: Remove.
32929 * abilist/libutil.abilist: Remove.
32930 * scripts/extract-abilist.awk: Remove.
32931 * scripts/merge-abilist.awk: Remove.
32932 * sysdeps/generic/libcidn.abilist: New file.
32933 * sysdeps/generic/libnss_compat.abilist: New file.
32934 * sysdeps/generic/libnss_db.abilist: New file.
32935 * sysdeps/generic/libnss_dns.abilist: New file.
32936 * sysdeps/generic/libnss_files.abilist: New file.
32937 * sysdeps/generic/libnss_hesiod.abilist: New file.
32938 * sysdeps/generic/libnss_nis.abilist: New file.
32939 * sysdeps/generic/libnss_nisplus.abilist: New file.
32940 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32941 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32942 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32945 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32946 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32947 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32948 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32949 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32950 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32951 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32952 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32954 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32955 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32956 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32957 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32959 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32960 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32961 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32962 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32963 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32964 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32966 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32967 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32968 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32970 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33073 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33074 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33075 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33077 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33078 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33079 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33080 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33081 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33082 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33083 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33084 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33085 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33086 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33138 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33140 * conform/conformtest.pl: Fix typo in handling typed-constant from
33143 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33145 * README: Cut down references to pre-2.6 Linux kernels and
33146 Linuxthreads. Update lists of configurations in libc and ports
33147 and sort alphabetically. Say "or newer" with Linux kernel version
33150 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33152 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33155 * math/libm-test.inc (logb_test_downward): New test to expose
33156 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33159 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33162 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33164 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33165 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33167 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33169 * sysdeps/unix/i386/brk.S: Remove file.
33170 * sysdeps/unix/i386/dl-brk.S: Likewise.
33171 * sysdeps/unix/i386/pipe.S: Likewise.
33172 * sysdeps/unix/i386/sigreturn.S: Likewise.
33173 * sysdeps/unix/i386/syscall.S: Likewise.
33174 * sysdeps/unix/i386/vfork.S: Likewise.
33175 * sysdeps/unix/i386/wait.S: Likewise.
33177 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33178 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33180 * configure.in (arm*-none*): Do not allow without
33181 --enable-hacker-mode.
33182 (netbsd*): Remove case setting base_os.
33183 (386bsd*): Likewise.
33184 (freebsd*): Likewise.
33187 (sunos*): Likewise.
33188 (ultrix*): Likewise.
33189 (newsos*): Likewise.
33190 (dynix*): Likewise.
33196 (minix*): Likewise.
33197 (irix4*): Likewise.
33198 (irix6*): Likewise.
33199 (solaris[2-9]*): Likewise.
33201 * configure: Regenerated.
33203 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33206 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33207 overflow or cancellation in calculating denominator.
33208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33210 down expression to avoid unexpected rounding in newer GCCs.
33211 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33213 2012-04-26 David S. Miller <davem@davemloft.net>
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33216 long-double compat symbols.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33231 2012-04-25 David S. Miller <davem@davemloft.net>
33233 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33234 HWCAP_* values only after the memory barriers have been defined.
33235 (atomic_full_barrier): Define.
33236 (atomic_read_barrier): Define.
33237 (atomic_write_barrier): Define.
33239 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33241 * shlib-versions: Add libgcc_s version information.
33242 * sysdeps/generic/libgcc_s.h: Remove.
33243 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33245 * sysdeps/gnu/unwind-resume.c: Likewise.
33246 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33248 2012-04-25 David S. Miller <davem@davemloft.net>
33250 * sysdeps/unix/sparc/brk.S: Delete.
33251 * sysdeps/unix/sparc/dl-brk.S: Delete.
33252 * sysdeps/unix/sparc/pipe.S: Delete.
33253 * sysdeps/unix/sparc/sysdep.S: Delete.
33254 * sysdeps/unix/sparc/sysdep.h: Delete.
33255 * sysdeps/unix/sparc/vfork.S: Delete.
33256 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33257 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33259 (ret_ERRVAL, r0, r1, MOVE): Define.
33260 (JUMPTARGET): Remove.
33261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33262 sysdeps/unix/sparc/sysdep.h
33263 (ENTRY, END): Remove.
33264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33266 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33268 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33269 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33272 * timezone/README: Update upstream location and email address for
33274 * timezone/zdump.c: Update from tzcode 2012b.
33275 * timezone/zic.c: Likewise.
33277 * configure.in (libc_cv_as_needed): Remove test.
33278 * configure: Regenerated.
33279 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33280 conditional definition.
33281 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33282 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33283 * config.make.in (have-as-needed): Remove variable.
33285 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33286 Paul Pluzhnikov <ppluzhnikov@google.com>
33288 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33291 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33293 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33294 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33295 * sysdeps/sh/strlen.S: Likewise.
33297 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/unix/fork.S: Remove file.
33300 * sysdeps/unix/i386/fork.S: Likewise.
33301 * sysdeps/unix/sparc/fork.S: Likewise.
33303 * sysdeps/unix/system.c: Remove file.
33304 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33306 * sysdeps/unix/getegid.S: Remove file.
33307 * sysdeps/unix/geteuid.S: Likewise.
33309 2012-04-24 Roland McGrath <roland@hack.frob.com>
33311 * scripts/check-localplt.awk: New file.
33312 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33314 * scripts/data/localplt-generic.data: Add a comment.
33316 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33317 NODE when __dir_mkfile failed.
33318 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33319 Reported by Ludovic Courtès <ludo@gnu.org>.
33321 2012-04-24 Andreas Jaeger <aj@suse.de>
33323 * Makerules (common-clean): Also remove gen-as-const-headers
33326 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33328 * Makerules (native-compile): Do not change working directory for
33329 build. Use $(OUTPUT_OPTION) in command.
33330 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33332 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33335 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33336 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33337 * math/libm-test.inc (floor_test): Add more tests.
33338 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33342 * sysdeps/unix/getdents.c: Remove file.
33343 * sysdeps/unix/sysv/getdents.c: Likewise.
33344 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33346 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33347 sysdeps/unix/mman/syscalls.list.
33349 (mprotect): Likewise.
33351 (munmap): Likewise.
33352 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33353 * sysdeps/unix/mman/syscalls.list: Remove.
33354 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33356 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33357 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33358 * configure: Regenerated.
33359 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33360 $(libgcc_s_suffix).
33361 * config.make.in (libgcc_s_suffix): Remove variable.
33363 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33365 * sysdeps/unix/sysv/gethostname.c: Move to ...
33366 * sysdeps/posix/gethostname.c: ... here.
33368 * sysdeps/unix/execve.S: Remove file.
33370 * sysdeps/unix/_exit.S: Remove file.
33372 2012-04-23 Andreas Jaeger <aj@suse.de>
33375 * manual/Makefile: Remove make dist support, there's no
33376 need for a stand-alone documentation tar ball.
33377 (TEXI2DVI): Define always, it's not in Makeconfig.
33380 (edition): Removed.
33381 (glibc-doc-$(edition).tar): Removed
33385 (ETAGS): Remove, it's in Makeconfig.
33386 (move-if-change): Remove, it's in Makeconfig.
33388 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33391 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33392 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33393 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33394 (strtod_l, strtof_l, strtold_l): Remove __wur.
33395 It is not necessarily an error to ignore strtol's return value.
33396 One can reliably look at the stored endptr to decide whether
33397 the number had valid syntax.
33399 2012-04-21 Andreas Jaeger <aj@suse.de>
33402 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33404 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33406 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33407 * sysdeps/unix/sysv/Versions: Remove file.
33409 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33414 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33418 version from __vm86.
33420 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33422 * sysdeps/unix/common/lxstat.c: Remove file.
33423 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33425 * sysdeps/unix/sysv/Makefile: Remove file.
33427 * sysdeps/unix/sysv/direct.h: Remove file.
33429 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33430 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33431 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33432 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33433 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33434 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33435 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33437 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33439 * sysdeps/unix/xmknod.c: Remove file.
33440 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33442 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33444 * sysdeps/unix/sysv/i386/time.S: Remove file.
33446 * sysdeps/unix/fxstat.c: Remove file.
33447 * sysdeps/unix/xstat.c: Likewise.
33448 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33450 * sysdeps/unix/sysv/sigaction.c: Remove file.
33452 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33453 (sysdep_headers): Remove variable.
33454 [termio.h not in sysdep_headers] (generated): Likewise.
33455 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33456 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33457 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33458 * sysdeps/unix/sysv/tcflow.c: Likewise.
33459 * sysdeps/unix/sysv/tcflush.c: Likewise.
33460 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33461 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33462 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33463 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33464 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33466 * sysdeps/unix/siglist.c: Remove file.
33468 * sysdeps/unix/getppid.S: Remove file.
33470 * sysdeps/unix/mkdir.c: Remove file.
33471 * sysdeps/unix/rmdir.c: Likewise.
33473 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33475 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33477 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33478 errlist-compat value.
33480 2012-04-18 David S. Miller <davem@davemloft.net>
33482 * sysdeps/generic/memcopy.h (reg_char): Delete.
33483 * debug/strcat_chk.c: Use char, not reg_char.
33484 * debug/strcpy_chk.c: Likewise.
33485 * debug/strncat_chk.c: Likewise.
33486 * debug/strncpy_chk.c: Likewise.
33487 * string/memchr.c: Likewise.
33488 * string/memrchr.c: Likewise.
33489 * string/rawmemchr.c: Likewise.
33490 * string/strcat.c: Likewise.
33491 * string/strchr.c: Likewise.
33492 * string/strchrnul.c: Likewise.
33493 * string/strcmp.c: Likewise.
33494 * string/strcpy.c: Likewise.
33495 * string/strncat.c: Likewise.
33496 * string/strncmp.c: Likewise.
33497 * string/strncpy.c: Likewise.
33499 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33501 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33502 __builtin_memcopy is called when src and dest ranges are known to not
33505 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33508 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33509 fwd_align_merge macro call.
33510 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33511 bwd_align_merge macro call.
33512 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33514 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33517 bwd_align_merge macros.
33518 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33519 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33520 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33522 2012-04-18 David S. Miller <davem@davemloft.net>
33524 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33526 2012-04-18 Andreas Jaeger <aj@suse.de>
33529 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33530 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33534 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33535 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33537 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33538 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33539 Adjust for changed ldbl-128 files.
33541 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33542 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33543 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33545 2012-04-17 David S. Miller <davem@davemloft.net>
33547 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33549 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33551 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33552 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33553 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33554 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33555 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33556 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33558 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33561 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33562 * math/libm-test.inc: Add ilogb errno and exception tests.
33563 * math/w_ilogb.c: New file: ilogb wrapper.
33564 * math/w_ilogbf.c: New file: ilogbf wrapper.
33565 * math/w_ilogbl.c: New file: ilogbl wrapper.
33566 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33567 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33568 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33569 exception being thrown with 0.0 as argument.
33570 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33571 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33572 exception being thrown with 0.0 as argument.
33573 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33574 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33575 exception being thrown with 0.0 as argument.
33576 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33577 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33578 exception being thrown with 0.0 as argument.
33579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33580 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33581 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33582 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33583 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33584 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33585 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33586 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33587 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33589 2012-04-17 Petr Baudis <pasky@ucw.cz>
33591 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33594 2012-04-16 Marek Polacek <polacek@redhat.com>
33596 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33598 2012-04-16 Marek Polacek <polacek@redhat.com>
33600 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33601 operands of fdivp instruction.
33603 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33605 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33606 * elf/tst-auditmod3b.c: Likewise.
33607 * elf/tst-auditmod4b.c: Likewise.
33608 * elf/tst-auditmod5b.c: Likewise.
33609 * elf/tst-auditmod6b.c: Likewise.
33610 * elf/tst-auditmod6c.c: Likewise.
33611 * elf/tst-auditmod7b.c: Likewise.
33612 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33613 * sysdeps/x86_64/preconfigure.in: Likewise.
33614 * sysdeps/x86_64/preconfigure: Regenerated.
33616 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33618 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33621 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33623 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33624 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33626 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33629 * locale/iso-639.def: Fix gl language name. Spotted by
33632 2012-04-12 Roland McGrath <roland@hack.frob.com>
33635 * libio/libio.h (__io_write_fn): Update comment.
33637 2012-04-12 Petr Baudis <pasky@ucw.cz>
33640 * stdio.texi (Hook Functions): The user provided writer function
33641 is not allowed to return -1.
33643 2012-04-11 David S. Miller <davem@davemloft.net>
33645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33647 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33649 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33650 Add a leading slash to rtkaio.
33652 2012-04-11 Jim Meyering <meyering@redhat.com>
33655 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33656 It is not necessarily an error to ignore fwrite's return
33657 value. One can reliably use ferror to test for errors after
33660 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33662 * bits/types.h (__snseconds_t): New type.
33663 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33665 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33667 (__SNSECONDS_T_TYPE): Likewise.
33668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33669 (__SNSECONDS_T_TYPE): Likewise.
33670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33671 (__SNSECONDS_T_TYPE): Likewise.
33673 2012-04-10 Andreas Jaeger <aj@suse.de>
33676 * manual/time.texi (Processor Time): Return type of times is
33677 elapsed real time since an arbitrary point in the past.
33678 (CPU Time): Move CLK_TCK from here...
33679 (Processor Time): ...to here. Correct description.
33680 * manual/conf.texi (Constants for Sysconf): Correct description of
33683 2012-04-10 David S. Miller <davem@davemloft.net>
33686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33687 where the is a gap between DT_REL(A) and DT_JMPREL.
33689 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33691 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33692 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33693 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33695 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33697 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33698 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33699 (dl_main): Handle --inhibit-cache.
33700 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33702 * elf/dl-load.c (_dl_map_object): Use it.
33703 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33705 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33708 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33709 (__ieee754_powl): Saturate large exponents rather than testing for
33710 overflow of y*log2(x).
33711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33712 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33716 * math/s_ctan.c: Include <float.h>.
33717 (__ctan): Avoid internal overflow or cancellation in calculating
33719 * math/s_ctanf.c: Likewise.
33720 * math/s_ctanl.c: Likewise.
33721 * math/s_ctanh.c: Likewise.
33722 * math/s_ctanhf.c: Likewise.
33723 * math/s_ctanhl.c: Likewise.
33724 * math/libm-test.inc (ctan_test): Add more tests.
33725 (ctanh_test): Likewise.
33726 * sysdeps/i386/fpu/libm-test-ulps: Update.
33727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33729 2012-04-09 Andreas Jaeger <aj@suse.de>
33732 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33733 is an optional BSD extension.
33736 * manual/stdio.texi (Opening Streams): Document additional fopen
33739 2012-04-09 Roland McGrath <roland@hack.frob.com>
33741 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33742 %eax without telling the compiler.
33744 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33747 * manual/install.texi: Use sourceware.org.
33749 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33752 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33753 (__ieee754_pow): Generate overflow and underflow using huge*huge
33754 and tiny*tiny rather than just returning constant infinity or zero
33755 for large exponents.
33756 * math/libm-test.inc (pow_test): Require overflow exceptions for
33757 applicable cases of large exponents.
33760 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33761 (__ieee754_pow): Use iterative multiplication algorithm only for
33762 integer exponents with absolute value below 1024. Check for odd
33763 integer exponents when using algorithm for real exponents.
33764 * math/libm-test.inc (pow_test): Add more tests.
33765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33767 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33770 * math/libm-test.inc (exp_test): Do not allow overflow exception
33773 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33776 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33777 instead of __kernel_standard_f.
33779 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33781 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33782 * sysdeps/x86_64/memset_chk.S: Likewise.
33784 2012-04-08 Andreas Jaeger <aj@suse.de>
33787 * manual/startup.texi (Environment Access): Describe return value
33788 for putenv and setenv.
33791 * manual/filesys.texi (Directory Entries): Add description for
33795 * manual/filesys.texi (Directory Entries): Clarify that it's file
33796 system not operating system in the description of DT_UNKNOWN.
33799 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33801 2012-04-08 Stephen Compall <s11@member.fsf.org>
33804 * manual/llio.texi (Opening and Closing Files): Add cross
33805 reference to explain mode argument.
33807 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33809 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33810 * sysdeps/x86_64/memset_chk.S: Likewise.
33812 2012-04-07 David S. Miller <davem@davemloft.net>
33814 * elf/elf.h (R_SPARC_WDISP10): Define.
33815 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33817 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33818 R_SPARC_SIZE64 and R_SPARC_H34.
33820 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33823 conditions and remove no longer applicable assertion.
33825 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33827 * bits/byteswap.h: Include <features.h>.
33828 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33829 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33831 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33833 * bits/byteswap.h (__bswap_16): Removed.
33834 Include <bits/byteswap-16.h> to get __bswap_16.
33835 * sysdeps/i386/bits/byteswap.h: Likewise.
33836 * sysdeps/s390/bits/byteswap.h: Likewise.
33837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33838 * bits/byteswap-16.h: New file.
33839 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33840 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33841 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33842 * string/Makefile (headers): Add bits/byteswap-16.h.
33844 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33847 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33849 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33850 * nss/tst-nss-static.c: New.
33852 2012-04-06 Robert Millan <rmh@gnu.org>
33855 * manual/llio.texi (File Position Primitive): lseek
33856 refers to WHENCE when it really means OFFSET.
33858 2012-04-06 Andreas Jaeger <aj@suse.de>
33860 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33861 strncmp declarations.
33863 * abilist/libc.abilist: Add __poll and __ppoll.
33865 2012-04-05 David S. Miller <davem@davemloft.net>
33867 * scripts/check-local-headers.sh: Accept a host triplet in the
33868 path matched by the exclude regexp.
33870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33872 * sysdeps/powerpc/powerpc32/dl-machine.h
33873 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33874 * sysdeps/s390/s390-32/dl-machine.h
33875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33876 * sysdeps/sparc/sparc32/dl-machine.h
33877 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33878 * sysdeps/sparc/sparc64/dl-machine.h
33879 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33881 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33883 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33884 undefined symbol errors.
33886 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33889 2012-04-05 Michael Matz <matz@suse.de>
33892 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33894 2012-04-05 Andreas Jaeger <aj@suse.de>
33897 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33900 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33902 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33903 which ROUND is no valid rounding mode.
33905 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33907 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33909 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33911 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33913 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33914 an exception using FPU order intentionally.
33916 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33918 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33919 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33920 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33921 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33923 2012-04-05 Simon Josefsson <simon@josefsson.org>
33926 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33927 EINVAL when BUFLEN is too smal.
33929 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33932 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33933 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33935 2012-04-03 Andreas Jaeger <aj@suse.de>
33938 * manual/setjmp.texi (System V contexts): Fix sentence.
33941 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33942 New macro for this case.
33943 [!__GNUC__] (__bswap_64): New inline function for this case.
33944 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33945 * bits/byteswap.h: Likewise.
33946 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33947 ull, guard with __GLIBC_HAVE_LONG_LONG.
33949 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33950 __GLIBC_HAVE_LONG_LONG.
33952 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33953 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33955 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33958 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33959 inptr and inend, rather than using last_ch.
33961 2012-04-02 David S. Miller <davem@davemloft.net>
33963 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33964 * stdio-common/printf-parse.h (read_int): Change return type to
33965 'int', return -1 on INT_MAX overflow.
33966 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33967 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33968 overflows INT_MAX. Check for overflow of in-format-string precision
33969 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33970 SIZE_MAX not INT_MAX for integer overflow test.
33971 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33972 skip the construct in the format string but do not record anything.
33973 * stdio-common/bug22.c: Adjust to test both width/prevision
33974 INT_MAX overflow as well as total length INT_MAX overflow. Check
33975 explicitly for proper errno values.
33977 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33979 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33981 * string/test-strcmp.c [! WIDE]: Likewise.
33982 * time/tst-mktime2.c: Likewise for INT_MAX.
33983 * string/test-string.h: #include <sys/param.h> for MIN.
33985 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33986 * sysdeps/i386/init-first.c (init): Likewise.
33987 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33988 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33989 * sysdeps/sh/init-first.c (init): Likewise.
33991 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33993 * po/ru.po: Update from translation team.
33994 * po/vi.po: Likewise.
33996 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33998 * resolv/nss_dns/dns-host.c: Merge copyright years.
34000 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34003 Optimize memcpy with prefetch if
34004 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34005 src, dst pointers have unequal 16 byte alignments.
34007 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34010 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34011 from a CNAME entry and return the minimum ttl for the query.
34012 (gaih_getanswer_slice): Likewise.
34014 2012-03-30 Jeff Law <law@redhat.com>
34016 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34018 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34019 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34021 * resolv/nss_dns/dns-host.c: Update copyright year.
34023 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34025 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34026 requests to save a system call. Fix check that all bytes are sent.
34028 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34029 comments for sendmmsg.
34031 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34034 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34035 with only 1 character between 0x0041 and 0x01b0.
34036 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34037 * wcsmbs/tst-mbsnrtowcs.c: New file.
34039 2012-03-29 David S. Miller <davem@davemloft.net>
34041 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34042 small copies by hand.
34044 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34047 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34048 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34051 2012-03-28 David S. Miller <davem@davemloft.net>
34053 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34054 that branches into memcpy.
34055 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34058 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34061 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34062 implementation too.
34063 * sysdeps/sparc/mempcpy.S: New file.
34065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34066 the IFUNC routine in the libc case.
34067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34069 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34070 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34071 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34072 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34073 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34074 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34075 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34076 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34078 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34079 loop to 256 bytes instead of 64 bytes and fix test signedness.
34081 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34082 * sysdeps/sparc/sparc32/Makefile: rather than here...
34083 * sysdeps/sparc/sparc64/Makefile: and here.
34085 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34087 * malloc/mallocbug.c: Avoid warnings about unused variables.
34089 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34092 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34093 in the right place. Discard and retry query if response is
34094 larger than input buffer size.
34096 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34101 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34102 x for large integer exponent.
34103 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34104 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34105 sign of result as needed afterwards.
34106 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34107 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34108 result for underflowing pow the same as for overflow.
34109 (__kernel_standard_l): Handle powl overflow and underflow here
34110 rather than calling __kernel_standard.
34111 * math/libm-test.inc (pow_test): Add more tests.
34126 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34127 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34128 (__kernel_standard_l): New function.
34129 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34131 * math/w_acosl.c (__acosl): Likewise.
34132 * math/w_asinl.c (__asinl): Likewise.
34133 * math/w_atan2l.c (__atan2l): Likewise.
34134 * math/w_atanhl.c (__atanhl): Likewise.
34135 * math/w_coshl.c (__coshl): Likewise.
34136 * math/w_exp10l.c (__exp10l): Likewise.
34137 * math/w_exp2l.c (__exp2l): Likewise.
34138 * math/w_fmodl.c (__fmodl): Likewise.
34139 * math/w_hypotl.c (__hypotl): Likewise.
34140 * math/w_j0l.c (__j0l, __y0l): Likewise.
34141 * math/w_j1l.c (__j1l, __y1l): Likewise.
34142 * math/w_jnl.c (__jnl, __ynl): Likewise.
34143 * math/w_lgammal.c (__lgammal): Likewise.
34144 * math/w_log10l.c (__log10l): Likewise.
34145 * math/w_log2l.c (__log2l): Likewise.
34146 * math/w_logl.c (__logl): Likewise.
34147 * math/w_powl.c (__powl): Likewise.
34148 * math/w_remainderl.c (__remainderl): Likewise.
34149 * math/w_scalbl.c (sysv_scalbl): Likewise.
34150 * math/w_sinhl.c (__sinhl): Likewise.
34151 * math/w_sqrtl.c (__sqrtl): Likewise.
34152 * math/w_tgammal.c (__tgammal): Likewise.
34153 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34154 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34155 * math/libm-test.inc (acos_test): Add more tests.
34156 (acosh_test): Likewise.
34157 (asin_test): Likewise.
34158 (atanh_test): Likewise.
34159 (exp_test): Likewise.
34160 (exp10_test): Likewise.
34161 (exp2_test): Likewise.
34162 (expm1_test): Likewise.
34163 (lgamma_test): Likewise.
34164 (log_test): Likewise.
34165 (log10_test): Likewise.
34166 (log1p_test): Likewise.
34167 (log2_test): Likewise.
34168 (pow_test): Do not allow some spurious overflow exceptions.
34169 (sqrt_test): Add more tests.
34170 (tgamma_test): Likewise.
34171 (y0_test): Likewise.
34172 (y1_test): Likewise.
34173 (yn_test): Likewise.
34175 2012-03-27 Anton Blanchard <anton@samba.org>
34177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34179 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34180 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34183 2012-03-27 David S. Miller <davem@davemloft.net>
34185 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34187 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34188 have-as-vis3 check.
34190 2012-03-27 Andreas Jaeger <aj@suse.de>
34192 * sysdeps/x86_64/elf/configure.in: Moved to ...
34193 * sysdeps/x86_64/configure.in: ... here.
34194 * sysdeps/x86_64/elf/start.S: Moved to ...
34195 * sysdeps/x86_64/start.S: ... here.
34196 * sysdeps/x86_64/elf/configure: Delete.
34198 * sysdeps/x86_64/configure.in: Merge contents from
34199 sysdeps/i386/configure.in (without i686 check).
34201 * sysdeps/i386/elf/Versions: Merge into ...
34202 * sysdeps/i386/Versions: ... this.
34203 * sysdeps/i386/elf/Versions: Delete file.
34204 * sysdeps/i386/elf/start.S: Moved to ...
34205 * sysdeps/i386/start.S: ...here.
34206 * sysdeps/i386/elf/configure.in: Merge into...
34207 * sysdeps/i386/configure.in: ...here.
34208 * sysdeps/i386/elf/configure.in: Delete file.
34209 * sysdeps/i386/elf/configure: Delete file.
34211 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34212 * debug/backtracesyms.c: ... here.
34213 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34214 * debug/backtracesymsfd.c: ... here.
34215 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34216 * sysdeps/generic/ifunc-sel.h: ... here.
34218 * sysdeps/unix/i386/start.c: Delete file.
34219 * sysdeps/unix/sparc/start.c: Delete file.
34220 * sysdeps/unix/start.c: Delete file.
34222 * sysdeps/sh/elf/configure.in: Moved to ...
34223 * sysdeps/sh/configure.in: ... here.
34224 * sysdeps/sh/elf/start.S: Moved to ...
34225 * sysdeps/sh/start.S: ... here.
34226 * sysdeps/sh/elf/configure: Delete file.
34228 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34229 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34230 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34231 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34232 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34233 * sysdeps/powerpc/powerpc64/start.S: here.
34234 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34235 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34236 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34237 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34238 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34240 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34241 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34242 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34243 * sysdeps/powerpc/powerpc32/start.S: ... here.
34244 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34245 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34246 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34248 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34249 * sysdeps/powerpc/ifunc-sel.h: ... here.
34250 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34251 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34253 * sysdeps/sparc/elf/configure.in: Moved to ...
34254 * sysdeps/sparc/configure.in: ... here.
34255 * sysdeps/sparc/elf/configure: Delete file.
34256 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34257 * sysdeps/sparc/sparc32/start.S: ... here.
34258 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34259 * sysdeps/sparc/sparc64/start.S: ... here.
34260 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34261 * sysdeps/sparc/sparc32/Makefile: ... this.
34262 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34263 * sysdeps/sparc/sparc64/Makefile: ... this.
34265 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34266 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34267 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34268 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34269 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34270 * sysdeps/s390/s390-32/setjmp.S: ... here.
34271 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34272 * sysdeps/s390/s390-32/configure.in: ... here.
34273 * sysdeps/s390/s390-32/elf/configure: Delete file.
34274 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34275 * sysdeps/s390/s390-32/start.S: ... here.
34277 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34278 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34279 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34280 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34281 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34282 * sysdeps/s390/s390-64/setjmp.S: ... here.
34283 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34284 * sysdeps/s390/s390-64/configure.in: ... here
34285 * sysdeps/s390/s390-64/elf/configure: Delete file.
34286 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34287 * sysdeps/s390/s390-64/start.S: ... here.
34288 * sysdeps/s390/s390-64/elf/configure: Delete.
34290 * configure.in: Remove support for elf directories in sysdeps.
34292 * configure: Regenerated.
34293 * sysdeps/i386/configure: Regenerated.
34294 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34295 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34296 * sysdeps/s390/s390-32/configure: Regenerated.
34297 * sysdeps/s390/s390-64/configure: Regenerated.
34298 * sysdeps/sh/configure: Regenerated.
34299 * sysdeps/sparc/configure: Regenerated.
34300 * sysdeps/x86_64/configure: Regenerated.
34302 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34307 denormal result into account.
34309 2012-03-25 Roland McGrath <roland@hack.frob.com>
34311 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34312 Reported by Allan McRae <allan@archlinux.org>.
34314 2012-03-23 Jeff Law <law@redhat.com>
34316 * nss/getnssent.c (__nss_getent): Fix typo.
34318 2012-03-23 David S. Miller <davem@davemloft.net>
34320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34322 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34324 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34325 to pad to uint64_t for each field.
34326 (dl_tls_index): Replace unsigned long with uint64_t.
34328 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34329 Paul Pluzhnikov <ppluzhnikov@google.com>
34332 * grp/Makefile (otherlibs): Don't set it.
34333 * inet/Makefile (otherlibs): Likewise.
34334 * login/Makefile (otherlibs): Likewise.
34335 * nscd/Makefile (otherlibs): Likewise.
34336 * posix/Makefile (otherlibs): Likewise.
34337 * pwd/Makefile (otherlibs): Likewise.
34338 * rt/Makefile (otherlibs): Likewise.
34339 * sunrpc/Makefile (otherlibs): Likewise.
34340 * nss/Makefile (otherlibs): Likewise.
34341 Add libnss_files to routines and static-only-routines.
34342 ($(objpfx)getent): Remove rule.
34343 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34344 static-only-routines.
34346 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34349 * math/s_cexp.c: Include <float.h>.
34350 (__cexp): Handle exp result overflowing not necessarily
34351 overflowing both real and imaginary parts of result.
34352 * math/s_cexpf.c: Likewise.
34353 * math/s_cexpl.c: Likewise.
34354 * math/libm-test.inc (cexp_test): Add more tests.
34355 * sysdeps/i386/fpu/libm-test-ulps: Update.
34356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34358 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34360 * include/link.h (ELFW): New macro.
34361 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34362 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34364 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34366 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34369 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34371 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34373 (struct La_x32_retval): Likewise.
34375 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34377 * sysdeps/x86_64/preconfigure.in: New file.
34378 * sysdeps/x86_64/preconfigure: New generated file.
34380 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34383 * math/e_exp2l.c: Include <float.h>.
34384 (__ieee754_exp2l): Handle overflow and underflow cases
34385 separately. Only pass fractional part of argument to
34387 * math/libm-test.inc (exp2_test): Add more tests.
34389 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34390 negating x to take absolute value.
34391 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34393 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34394 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34396 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34397 computing low part if x was negated.
34398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34400 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34402 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34403 la_x32_gnu_pltexit.
34404 (pltexit): Cast int_retval to ptrdiff_t.
34405 * elf/tst-auditmod3b.c: Likewise.
34406 * elf/tst-auditmod4b.c: Likewise.
34407 * elf/tst-auditmod5b.c: Likewise.
34408 * elf/tst-auditmod6b.c: Likewise.
34409 * elf/tst-auditmod6c.c: Likewise.
34410 * elf/tst-auditmod7b.c: Likewise.
34412 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34413 and x32_gnu_pltexit.
34415 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34416 __ELF_NATIVE_CLASS.
34417 (La_x32_regs): New macro.
34418 (La_x32_retval): Likewise.
34419 (la_x32_gnu_pltenter): New function prototype.
34420 (la_x32_gnu_pltexit): Likewise.
34422 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34429 * configure.in (libc_cv_cc_nofma): Check for option to disable
34430 generation of FMA instructions.
34431 * configure: Regenerate.
34432 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34433 * sysdeps/ieee754/dbl-64/Makefile: New file.
34434 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34435 Remove brandred-fma4.
34436 (CFLAGS-brandred-fma4.c): Remove.
34437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34445 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34446 LLONG_MAX != LONG_MAX.
34447 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34448 (_fitoa_word): Likewise.
34449 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34450 LLONG_MAX != LONG_MAX.
34451 * stdio-common/_itowa.h: Include <_itoa.h>.
34452 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34453 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34454 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34455 only if not defined.
34456 (_ITOA_WORD_TYPE): Likewise.
34457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34458 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34460 2012-03-21 David S. Miller <davem@davemloft.net>
34462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34464 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34466 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34467 of x86_64 when setting libc_cv_slibdir, libdir and
34469 * sysdeps/unix/sysv/linux/configure: Regenerated.
34471 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34473 * manual/lang.texi (Old Varargs): Remove section.
34474 (How Variadic): Update menu.
34475 (va_start): Do not mention varargs.h.
34477 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34478 Joseph Myers <joseph@codesourcery.com>
34480 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34482 * configure: Regenerated.
34484 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34486 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34487 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34490 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34493 * Makefile (files-for-dist): Remove NOTES.
34494 (NOTES): Remove rule.
34495 * README: Don't refer to NOTES.
34496 * manual/creature.texi: Don't include macros.texi.
34497 * manual/intro.texi (creature.texi): Remove comment referring to
34500 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34501 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34502 * configure: Regenerated.
34503 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34504 LIBC_TRY_CC_OPTION.
34505 (libc_cv_as_i686): Likewise.
34506 (libc_cv_cc_avx): Likewise.
34507 (libc_cv_cc_sse2avx): Likewise.
34508 (libc_cv_cc_fma4): Likewise.
34509 (libc_cv_cc_novzeroupper): Likewise.
34510 * sysdeps/i386/configure: Regenerated.
34513 * sysdeps/i386/fpu/s_cexp.S: Remove.
34514 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34515 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34516 * math/libm-test.inc (cexp_test): Add more tests.
34517 * sysdeps/i386/fpu/libm-test-ulps: Update.
34518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34520 2012-03-21 Allan McRae <allan@archlinux.org>
34522 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34524 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34527 * math/w_exp2.c: Do not include <float.h>.
34528 (o_threshold, u_threshold): Remove.
34529 (__exp2): Calculate result before checking finiteness and calling
34531 * math/w_exp2f.c: Likewise.
34532 * math/w_exp2l.c: Likewise.
34533 * math/libm-test.inc (exp2_test): Require overflow exception for
34537 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34538 range of signed 64-bit integers before using fistpll. Remove
34539 checks for whether integers fit in mantissa bits.
34540 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34541 the range of signed 32-bit integers before using fistpl. Remove
34542 checks for whether integers fit in mantissa bits.
34543 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34544 (__ieee754_powl): Test for y outside the range of signed 64-bit
34545 integers before using fistpll. Reduce 64-bit values to 63-bit
34547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34548 divide-by-zero is raised for zero to large negative powers.
34549 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34550 (__ieee754_powl): Test for y outside the range of signed 64-bit
34551 integers before using fistpll. Reduce 64-bit values to 63-bit
34553 * math/libm-test.inc (pow_test): Add more tests.
34555 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34557 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34558 <stdio-common/_itoa.h>.
34559 * debug/segfault.c: Likewise.
34560 * elf/dl-cache.c: Likewise.
34561 * elf/dl-minimal.c: Likewise.
34562 * elf/dl-misc.c: Likewise.
34563 * elf/dl-sysdep.c: Likewise.
34564 * elf/dl-version.c: Likewise.
34565 * elf/rtld.c: Likewise.
34566 * hurd/hurdsock.c: Likewise.
34567 * hurd/lookup-retry.c: Likewise.
34568 * malloc/malloc.c: Likewise.
34569 * malloc/mtrace.c: Likewise.
34570 * nscd/nscd_getgr_r.c: Likewise.
34571 * nscd/nscd_getpw_r.c: Likewise.
34572 * nscd/nscd_getserv_r.c: Likewise.
34573 * posix/getopt_init.c: Likewise.
34574 * posix/wordexp.c: Likewise.
34575 * stdio-common/_itoa.c: Likewise.
34576 * stdio-common/printf_fphex.c: Likewise.
34577 * stdio-common/vfprintf.c: Likewise.
34578 * string/_strerror.c: Likewise.
34579 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34580 * sysdeps/i386/i686/hp-timing.h: Likewise.
34581 * sysdeps/mach/_strerror.c: Likewise.
34582 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34583 * sysdeps/mach/hurd/sethostid.c: Likewise.
34584 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34585 * sysdeps/mach/xpg-strerror.c: Likewise.
34586 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34587 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34588 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34589 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34590 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34591 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34592 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34593 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34594 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34595 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34596 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34597 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34598 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34599 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34600 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34601 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34602 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34603 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34604 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34605 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34606 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34608 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34610 * stdio-common/_itoa.h: Moved to ...
34611 * sysdeps/generic/_itoa.h: Here.
34613 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34615 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34616 instead of "_itoa.h" and "_itowa.h".
34617 * stdio-common/vfprintf.: Likewise.
34619 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34621 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34623 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34624 (__signbit): Likwise.
34625 (llrintf): Likwise.
34628 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34630 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34633 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34635 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34636 OVERFLOW_EXCEPTION_OK.
34637 * math/libm-test.inc ("Philosophy"): Update comment about
34639 (OVERFLOW_EXCEPTION): Define.
34640 (OVERFLOW_EXCEPTION_OK): Likewise.
34641 (INVALID_EXCEPTION_OK): Renumber.
34642 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34643 (IGNORE_ZERO_INF_SIGN): Likewise.
34644 (test_exceptions): Handle FE_OVERFLOW.
34645 (exp10_test): Expect overflow exceptions.
34646 (exp2_test): Likewise.
34647 (expm1_test): Likewise.
34648 (nextafter_test): Likewise.
34649 (pow_test): Likewise.
34650 (scalbn_test): Likewise.
34651 (scalbln_test): Likewise.
34653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34655 * sysdeps/x86_64/bits/atomic.h
34656 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34658 (atomic_exchange_acq): Likewise.
34659 (__arch_exchange_and_add_body): Likewise.
34660 (__arch_add_body): Likewise.
34661 (atomic_add_negative): Likewise.
34662 (atomic_add_zero): Likewise.
34664 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34666 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34667 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34671 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34672 Check __x86_64__ instead of __WORDSIZE.
34674 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34678 2012-03-19 David S. Miller <davem@davemloft.net>
34680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34682 * sysdeps/sparc/fpu/fenv_private.h: New file.
34683 * sysdeps/sparc/fpu/math_private.h: Use it.
34684 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34686 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34687 (libc_feholdexcept_setroundl): Remove.
34688 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34690 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34691 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34695 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34696 int64_t instead of long int.
34697 (INSERT_WORDS64): Likwise.
34699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34701 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34702 _Unwind_GetCFA return to _Unwind_Ptr first.
34704 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34707 * math/s_clog.c: Include <float.h>.
34708 (__clog): Scale large or subnormal inputs.
34709 * math/s_clogf.c: Likewise.
34710 * math/s_clogl.c: Likewise.
34711 * math/s_clog10.c: Include <float.h>.
34712 (M_LOG10_2): Define.
34713 (__clog10): Scale large or subnormal inputs.
34714 * math/s_clog10f.c: Likewise.
34715 * math/s_clog10l.c: Likewise.
34716 * math/libm-test.inc (clog_test): Add more tests.
34717 (clog10_test): Likewise.
34718 * sysdeps/i386/fpu/libm-test-ulps: Update.
34719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34722 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34724 * math/libm-test.inc (atan2_test): Add another test.
34726 * Makerules (common-objdir-compile): Remove.
34727 * sysdeps/unix/Makefile (config-generated): Do not add
34728 $(unix-generated) to variable.
34729 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34730 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34732 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34734 [generic bits/local_lim.h] (before-compile): Do not append to
34736 [generic bits/local_lim.h] (common-generated): Likewise.
34737 [generic sys/param.h] (before-compile): Do not append to variable.
34738 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34739 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34740 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34741 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34743 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34744 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34745 [generic sys/param.h] ($(addprefix
34746 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34747 [generic sys/param.h] (common-generated): Do not append to
34749 [generic sys/param.h] (sysdep_headers): Likewise.
34750 [generic bits/errno.h] (before-compile): Do not append to
34752 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34754 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34755 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34756 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34757 [generic bits/errno.h] (common-generated): Do not append to
34759 [generic bits/ioctls.h] (before-compile): Do not append to
34761 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34763 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34764 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34765 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34767 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34768 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34769 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34770 [generic bits/ioctls.h] (common-generated): Do not append to
34772 [generic sys/syscall.h] (syscall.h): Remove variable.
34773 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34775 [generic sys/syscall.h] (before-compile): Do not append to
34777 [generic sys/syscall.h] (common-generated): Likewise.
34778 * sysdeps/unix/errnos-tmpl.c: Remove file.
34779 * sysdeps/unix/errnos.awk: Likewise.
34780 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34781 * sysdeps/unix/ioctls.awk: Likewise.
34782 * sysdeps/unix/mk-local_lim.c: Likewise.
34783 * sysdeps/unix/snarf-ioctls: Likewise.
34785 2012-03-19 Richard Henderson <rth@twiddle.net>
34787 * sysdeps/i386/fpu/fenv_private.h: New file.
34788 * sysdeps/i386/fpu/math_private.h: Use it.
34789 (math_opt_barrier, math_force_eval): Remove.
34790 (libc_feholdexcept_setround_53bit): Remove.
34791 (libc_feupdateenv_53bit): Remove.
34792 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34793 (math_opt_barrier, math_force_eval): Remove.
34794 (libc_feholdexcept): Remove.
34795 (libc_feholdexcept_setround): Remove.
34796 (libc_fetestexcept, libc_fesetenv): Remove.
34797 (libc_feupdateenv_test): Remove.
34798 (libc_feupdateenv, libc_feholdsetround): Remove.
34799 (libc_feresetround): Remove.
34801 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34802 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34804 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34805 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34806 (libc_feupdateenv_testl): New.
34807 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34808 (libc_feupdateenv_testf): New.
34809 (libc_feupdateenv): Use libc_feupdateenv_test.
34810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34811 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34813 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34814 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34815 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34816 (libc_feresetround_noex): New.
34817 (libc_feresetround_noexf): New.
34818 (libc_feresetround_noexl): New.
34819 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34820 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34821 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34822 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34827 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34828 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34829 SET_RESTORE_ROUND_NOEX.
34830 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34831 SET_RESTORE_ROUND_NOEXF.
34832 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34833 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34834 (libc_feholdsetroundf): New.
34835 (libc_feresetround, libc_feresetroundf): New.
34837 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34838 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34839 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34841 * sysdeps/generic/math_private.h: Include <fenv.h>.
34842 (default_libc_feholdexcept): New.
34843 (default_libc_feholdexcept_setround): New.
34844 (default_libc_fesetenv, default_libc_feupdateenv): New.
34845 (libc_feholdexcept): Only define if undefined.
34846 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34847 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34848 (libc_feholdexcept_setroundl): Likewise.
34849 (libc_feholdexcept_setround_53bit): Likewise.
34850 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34851 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34852 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34853 (libc_feupdateenv_53bit): Likewise.
34854 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34855 (libc_feholdexcept): Convert from macro to inline function.
34856 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34857 (libc_fesetenv, libc_feupdateenv): Likewise.
34859 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34860 not previously defined.
34861 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34862 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34863 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34864 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34865 * sysdeps/ieee754/flt-32/math_private.h: New file.
34866 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34867 math_private.h below SET_FLOAT_WORD.
34868 (__isnan, __isinf_ns, __finite): Remove.
34869 (__isnanf, __isinf_nsf, __finitef): Remove.
34871 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34875 2012-03-17 David S. Miller <davem@davemloft.net>
34878 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34881 2012-03-16 David S. Miller <davem@davemloft.net>
34883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34889 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34890 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34891 sysdep_routines when subdir is sysvipc.
34892 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34893 __getshmlba helper.
34895 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34897 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34899 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34904 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34906 (__lround): Renamed to ...
34907 (__llround): This. Replace long int with long long int.
34908 Define lround functions as aliases of llround functions.
34909 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34911 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34913 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34914 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34915 adresses to uintptr_t. Replace "long int" and "unsigned long
34916 int" with "greg_t" on va_arg.
34918 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34920 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34921 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34923 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34924 Move e_machine check before EI_CLASS check. Handle x32
34925 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34926 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34927 SKIP_EM_IA_64 and include
34928 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34930 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34931 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34932 (add_system_dir): New macro.
34934 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34935 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34937 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34948 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34950 * math/w_j0f.c (j0f): Likewise.
34952 * math/w_j0l.c (__j0l): Likewise.
34954 * math/w_j1.c (j1): Likewise.
34956 * math/w_j1f.c (j1f): Likewise.
34958 * math/w_j1l.c (__j1l): Likewise.
34960 * math/w_jn.c (jn): Likewise.
34962 * math/w_jnf.c (jnf): Likewise.
34964 * math/w_jnl.c (__jnl): Likewise.
34966 * math/libm-test.inc (j0_test): Add more tests.
34967 (j1_test): Likewise.
34968 (jn_test): Likewise. Add trailing semicolon to existing test.
34969 (y0_test): Likewise.
34970 (y1_test): Likewise.
34971 * sysdeps/i386/fpu/libm-test-ulps: Update.
34972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34977 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34978 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34979 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34980 (__tanl): Set errno for infinite argument.
34981 * sysdeps/i386/fpu/mptan.c: Remove.
34982 * sysdeps/i386/fpu/s_tan.S: Likewise.
34983 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34984 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34985 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34986 * math/libm-test.inc (tan_test): Add more tests and enable more
34987 tests for double and long double.
34988 * sysdeps/i386/fpu/libm-test-ulps: Update.
34989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34991 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34993 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34994 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34996 2012-03-16 Roland McGrath <roland@hack.frob.com>
34998 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34999 * configure.in: Use it for both main tree and add-ons.
35000 * configure: Regenerated.
35002 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35004 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35006 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35008 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35012 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35013 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35014 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35016 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35018 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35020 != 0 for prec == 2.
35021 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35022 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35023 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35024 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35025 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35026 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35027 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35028 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35029 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35030 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35031 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35032 * math/libm-test.inc (cos_test): Add more tests and enable more
35033 tests for long double.
35034 (sin_test): Likewise.
35035 (sincos_test): Likewise.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35039 2012-03-16 David S. Miller <davem@davemloft.net>
35041 * sysdeps/sparc/fpu/math_private.h: New file.
35043 2012-03-15 David S. Miller <davem@davemloft.net>
35045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35059 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35060 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35062 * sysdeps/sparc/sparc-ifunc.h: New file.
35063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35108 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35110 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35114 2012-03-15 Andreas Jaeger <aj@suse.de>
35117 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35118 ieee754/flt-32 implementation for sin, cos and sincos.
35119 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35120 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35121 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35122 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35123 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35124 ieee754/flt-32 implementation for tan.
35126 * math/libm-test.inc (cos_test): Enable some large input tests for
35128 (sin_test): Likewise.
35129 (sincos_test): Likewise.
35130 (tan_test): Add tests for large input.
35132 * sysdeps/i386/fpu/libm-test-ulps: Update.
35134 2012-03-15 Andreas Jaeger <aj@suse.de>
35137 * math/libm-test.inc (cos_test): Add more test cases.
35138 (sin_test): Likewise.
35139 (sincos_test): Likewise.
35141 2012-03-15 Andreas Jaeger <aj@suse.de>
35144 * math/libm-test.inc (cos_test): Add a test case for large input
35146 (sin_test): Likewise.
35147 (sincos_test): Likewise.
35149 2012-03-15 Andreas Jaeger <aj@suse.de>
35150 Joseph Myers <joseph@codesourcery.com>
35153 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35154 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35155 * sysdeps/i386/fpu/branred.c: Likewise.
35156 * sysdeps/i386/fpu/dosincos.c: Likewise.
35157 * sysdeps/i386/fpu/mpa.c: Likewise.
35158 * sysdeps/i386/fpu/s_cos.S: Likewise.
35159 * sysdeps/i386/fpu/s_sin.S: Likewise.
35160 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35161 * sysdeps/i386/fpu/sincos32.c: Likewise.
35163 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35165 (libc_feupdateenv_53bit): Define.
35166 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35168 (libc_feupdateenv_53bit): Define.
35170 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35171 53 bit (without extend i386 double precision).
35173 * math/libm-test.inc (sincos_test): Add tests for large input.
35177 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35179 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35183 2012-03-15 David S. Miller <davem@davemloft.net>
35185 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35188 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35213 fmin/fmax sysdep routines.
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35216 2012-03-14 David S. Miller <davem@davemloft.net>
35218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35295 * sysdeps/sparc/configure.in: New file.
35296 * sysdeps/sparc/configure: Generate.
35297 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35298 * configure: Regenerate.
35299 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35300 * config.make.in (have-as-vis3): New.
35301 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35302 available use -Av9d instead of -Av9a.
35303 * sysdeps/sparc/sparc64/Makefile: Likewise.
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35320 fzeros/fnegs to load 0x80000000 into a float register instead of
35322 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35324 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35328 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35329 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35330 ($(inst_includedir)/bits/syscall.h): Remove rule.
35331 ($(objpfx)bits/syscall.d): Include instead of
35332 $(objpfx)syscall-list.d.
35333 (generated): Change syscall-list.h and syscall-list.d to
35334 bits/syscall.h and bits/syscall.d.
35336 2012-03-14 Roland McGrath <roland@hack.frob.com>
35339 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35341 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35344 * math/s_csqrt.c: Include <float.h>.
35345 (__csqrt): Scale large or subnormal inputs.
35346 * math/s_csqrtf.c: Likewise.
35347 * math/s_csqrtl.c: Likewise.
35348 * math/libm-test.inc (csqrt_test): Add more tests.
35349 * sysdeps/i386/fpu/libm-test-ulps: Update.
35350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35353 * math/libm-test.inc (hypot_test): Add more tests.
35355 2012-03-13 David S. Miller <davem@davemloft.net>
35358 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35359 double-precision for the calculation instead of scaling.
35361 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35364 manipulate bits before adding and subtracting TWO52[sx].
35365 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35366 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35368 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35370 2012-03-13 David S. Miller <davem@davemloft.net>
35372 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35373 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35375 rtld-global-offsets.h
35376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35378 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35381 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35383 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35384 'err' in the ifdef scope in which it is actually used.
35386 * nss/nss_db/db-init.c: Include string.h
35388 2012-03-12 David S. Miller <davem@davemloft.net>
35390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35391 masking out of the most significant byte of random value used.
35392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35393 Fix coding style in previous change.
35395 * sysdeps/unix/sysv/linux/kernel-features.h
35396 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35397 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35399 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35402 2012-03-11 David S. Miller <davem@davemloft.net>
35404 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35405 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35407 for 'resultvar' otherwise things get truncated on 64-bit.
35409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35410 Fix masking out of the most significant byte of random value used.
35412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35414 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35418 2012-03-09 David S. Miller <davem@davemloft.net>
35420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35421 variables with appropriate CPP guards.
35422 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35423 from the frame pointer, not the stack pointer. Correct layout
35424 comments. Fix test on resulting framesize and the management of
35425 the outregs buffer for pltexit. Preserve floating point return
35426 values across _dl_call_pltexit call.
35427 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35428 framesize and the management of the outregs buffer for pltexit.
35429 Preserve floating point return values across _dl_call_pltexit
35431 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35432 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35433 (la_sparc64_gnu_pltexit): New functions.
35434 (print_exit): Fix format string for return register value.
35436 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35438 * sunrpc/Makefile (others): Add rpcgen.
35439 ($(objpfx)rpcgen): Remove special build rule and dependency on
35441 * sunrpc/rpcgen.c: New file.
35443 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35446 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35447 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35448 * sysdeps/i386/crti.S: Likewise.
35449 * sysdeps/i386/crtn.S: Likewise.
35450 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35451 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35452 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35453 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35454 * sysdeps/sh/crti.S: Likewise.
35455 * sysdeps/sh/crtn.S: Likewise.
35456 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35459 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35461 * locale/programs/locfile-kw.gperf: Likewise.
35462 * locale/programs/charmap-kw.h: Regenerated.
35463 * locale/programs/locfile-kw.h: Likewise.
35466 * intl/plural.y: Replace FSF snail mail address with URL.
35467 * intl/plural.c: Regenerated.
35469 2012-03-09 Richard Henderson <rth@twiddle.net>
35471 * include/math_private.h: Remove file.
35472 * math/math_private.h: Move file ...
35473 * sysdeps/generic/math_private.h: ... here.
35475 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35476 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35477 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35479 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35480 and <math_private.h>.
35481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35517 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35518 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35519 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35521 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35522 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35523 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35524 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35526 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35527 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35528 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35529 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35530 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35531 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35532 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35533 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35534 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35535 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35536 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35538 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35539 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35540 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35542 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35544 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35545 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35546 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35547 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35548 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35549 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35551 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35552 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35553 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35554 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35569 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35572 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35573 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35574 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35575 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35577 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35578 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35579 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35580 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35582 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35583 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35584 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35586 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35590 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35591 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35592 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35593 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35594 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35595 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35596 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35597 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35598 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35599 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35600 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35601 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35602 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35604 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35605 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35608 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35609 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35610 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35611 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35612 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35614 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35615 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35616 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35617 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35619 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35620 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35622 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35623 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35624 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35625 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35626 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35627 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35628 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35629 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35630 * sysdeps/ieee754/k_standard.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35779 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35780 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35781 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35791 * sysdeps/ieee754/s_lib_version.c: Likewise.
35792 * sysdeps/ieee754/s_matherr.c: Likewise.
35793 * sysdeps/ieee754/s_signgam.c: Likewise.
35794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35796 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35797 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35798 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35799 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35800 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35801 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35802 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35803 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35804 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35805 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35806 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35807 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35808 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35811 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35812 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35813 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35816 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35818 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35819 * sunrpc/rpc_main.c: Likewise.
35820 * sunrpc/rpc_svcout.c: Likewise.
35822 2012-03-09 David S. Miller <davem@davemloft.net>
35824 * include/math_private.h: New file.
35826 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35828 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35829 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35830 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35831 from <bits/socket_type.h>.
35832 (enum __socket_type): Don't define here.
35833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35835 bits/socket_type.h.
35838 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35839 checking __USE_GNU.
35841 * Makerules ($(inst_includedir)/%.h): New rule.
35842 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35843 (install-others): Remove variable setting.
35844 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35846 2012-03-08 Richard Henderson <rth@twiddle.net>
35848 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35849 from macro to inline function; merge with the
35850 !__LIBC_INTERNAL_MATH_INLINES version.
35851 (__ieee754_sqrtf): Likewise.
35853 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35854 to inline function.
35855 (__rintf, __floor, __floorf): Likewise.
35857 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35858 macro to inline function.
35859 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35861 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35862 not <math/math_private.h>.
35864 2012-03-08 David S. Miller <davem@davemloft.net>
35866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35868 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35870 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35872 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35874 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35875 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35877 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35879 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35880 be defined individually, they must be defined as a block. Define
35881 S for printing a string instead of hidint the different by using a
35882 macro for adding the 'l'.
35883 * stdio-common/tst-fphex-wide.c: Adjust.
35885 2012-03-07 Marek Polacek <polacek@redhat.com>
35887 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35889 2012-03-08 Marek Polacek <polacek@redhat.com>
35892 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35893 * stdio-common/tst-fphex.c: Define a few macros to make the
35894 test reusable. Use them.
35895 * stdio-common/tst-fphex-wide.c: New file.
35897 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35900 * manual/macros.texi (gnusystems): New macro.
35901 (nongnusystems): Likewise.
35902 (gnulinuxhurdsystems): Likewise.
35903 (gnuhurdsystems): Likewise..
35904 (gnulinuxsystems): Likewise.
35905 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35906 variants of the GNU system, not "GNU system".
35907 * manual/conf.texi: Likewise.
35908 * manual/errno.texi: Likewise. Update example of errno macro
35910 * manual/filesys.texi: Likewise.
35911 (getumask): Document as specific to GNU/Hurd.
35912 * manual/install.texi: Likewise. Reword some references to
35914 * manual/intro.texi: Likewise.
35915 * manual/io.texi: Likewise.
35916 (File Name Portability): Detail which constraints are inapplicable
35917 to all GNU systems and which are only inapplicable to GNU/Hurd.
35918 * manual/job.texi: Likewise.
35919 * manual/llio.texi: Likewise.
35920 (O_NOCTTY): Document as present on GNU/Linux.
35921 * manual/maint.texi: Likewise.
35922 * manual/memory.texi: Likewise.
35923 * manual/pattern.texi: Likewise.
35924 * manual/pipe.texi: Likewise.
35925 * manual/process.texi: Likewise.
35926 * manual/resource.texi: Likewise.
35927 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35929 * manual/setjmp.texi: Likewise.
35930 * manual/signal.texi: Likewise.
35931 * manual/startup.texi: Likewise.
35932 * manual/stdio.texi: Likewise.
35933 * manual/terminal.texi: Likewise.
35934 (ONLCR): Document as POSIX.
35935 (OXTABS): Document availability on GNU/Linux as XTABS.
35936 (ONOEOT): Document availability separately from other bits.
35937 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35938 * manual/time.texi: Likewise.
35939 * manual/users.texi: Likewise.
35940 * INSTALL: Regenerated.
35941 * sysdeps/gnu/errlist.c: Regenerated.
35943 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35944 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35945 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35947 * configure: Regenerated.
35949 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35951 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35952 default includes instead of AC_HEADER_CHECK.
35953 * sysdeps/i386/configure: Regenerated.
35956 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35957 * math/s_cacoshf.c (__cacoshf): Likewise.
35958 * math/s_cacoshl.c (__cacoshl): Likewise.
35959 * math/s_casinh.c (__casinh): Set signs of result from argument.
35960 * math/s_casinhf.c (__casinhf): Likewise.
35961 * math/s_casinhl.c (__casinhl): Likewise.
35962 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35963 (casinh_test): Add more tests.
35964 * sysdeps/i386/fpu/libm-test-ulps: Update.
35965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35967 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35969 * po/zh_TW.po: Update from translation team.
35971 * login/Makefile (distribute): Remove variable.
35972 * catgets/Makefile: Likewise.
35973 * mach/Makefile: Likewise.
35974 * malloc/Makefile: Likewise.
35975 * misc/Makefile: Likewise.
35976 * iconv/Makefile: Likewise.
35977 * nscd/Makefile: Likewise.
35978 * hurd/Makefile: Likewise.
35979 * manual/Makefile: Likewise.
35980 * locale/Makefile: Likewise.
35981 * intl/Makefile: Likewise.
35982 * conform/Makefile: Likewise.
35983 * nss/Makefile: Likewise.
35984 * time/Makefile: Likewise.
35985 * soft-fp/Makefile: Likewise.
35986 * dirent/Makefile: Likewise.
35987 * gmon/Makefile: Likewise.
35988 * po/Makefile: Likewise.
35989 * rt/Makefile: Likewise.
35990 * socket/Makefile: Likewise.
35991 * math/Makefile: Likewise.
35992 * signal/Makefile: Likewise.
35993 * debug/Makefile: Likewise.
35994 * elf/Makefile: Likewise.
35995 * timezone/Makefile: Likewise.
35996 * stdlib/Makefile: Likewise.
35997 * iconvdata/Makefile: Likewise.
35998 * sunrpc/Makefile: Likewise.
35999 * io/Makefile: Likewise.
36000 * argp/Makefile: Likewise.
36001 * inet/Makefile: Likewise.
36002 * hesiod/Makefile: Likewise.
36003 * grp/Makefile: Likewise.
36004 * csu/Makefile: Likewise.
36005 * wctype/Makefile: Likewise.
36006 * crypt/Makefile: Likewise.
36007 * libio/Makefile: Likewise.
36008 * string/Makefile: Likewise.
36009 * nis/Makefile: Likewise.
36010 * resolv/Makefile: Likewise.
36011 * stdio-common/Makefile: Likewise.
36012 * wcsmbs/Makefile: Likewise.
36013 * dlfcn/Makefile: Likewise.
36014 * posix/Makefile: Likewise.
36017 * timezone/Makefile: Don't install timezone files, just the programs
36020 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36022 * nss/databases.def: Add missing gshadow entry.
36024 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36026 2012-03-06 Marek Polacek <polacek@redhat.com>
36029 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36030 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36031 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36032 * stdio-common/tst-long-dbl-fphex.c: New file.
36034 2012-03-06 David S. Miller <davem@davemloft.net>
36036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36037 (set_obp_int): New function.
36038 (get_obp_int): New function.
36039 (__get_clockfreq_via_dev_openprom): Likewise.
36040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36041 Avoid unused variable warnings on 'val' and use builtin_expect.
36042 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36044 (INLINE_CLONE_SYSCALL): Likewise.
36046 2012-03-05 David S. Miller <davem@davemloft.net>
36048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36050 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36054 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36055 only for |x| >= 40.
36056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36058 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36061 Replace gettimeofday with __vdso_gettimeofday.
36063 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36064 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36065 __vdso_clock_gettime and __vdso_getcpu.
36067 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36068 time with __vdso_time.
36070 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36072 * manual/lang.texi (size_t): Note types to which size_t may be
36073 equivalent with the GNU C Library, but do not describe when
36074 differences between them are significant.
36076 2012-03-05 Andreas Jaeger <aj@suse.de>
36078 * sysdeps/i386/fpu/libm-test-ulps: Update.
36080 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36083 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36084 (__ieee754_pow): Save and restore rounding mode and use
36085 round-to-nearest for main computations.
36086 * math/libm-test.inc (pow_test_tonearest): New function.
36087 (pow_test_towardzero): Likewise.
36088 (pow_test_downward): Likewise.
36089 (pow_test_upward): Likewise.
36090 (main): Call the new functions.
36091 * sysdeps/i386/fpu/libm-test-ulps: Update.
36092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36095 * math/libm-test.inc (cosh_test_tonearest): New function.
36096 (cosh_test_towardzero): Likewise.
36097 (cosh_test_downward): Likewise.
36098 (cosh_test_upward): Likewise.
36099 (sinh_test_tonearest): Likewise.
36100 (sinh_test_towardzero): Likewise.
36101 (sinh_test_downward): Likewise.
36102 (sinh_test_upward): Likewise.
36103 (main): Call the new functions.
36104 * sysdeps/i386/fpu/libm-test-ulps: Update.
36105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36107 2012-03-05 Tom de Vries <tom@codesourcery.com>
36109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36110 default stack guard is set in last bytes.
36111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36113 2012-03-05 Kees Cook <keescook@chromium.org>
36115 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36118 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36119 possibly allocate from heap instead of stack.
36120 * stdio-common/bug-vfprintf-nargs.c: New file.
36121 * stdio-common/Makefile (tests): Add nargs overflow test.
36123 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36127 2012-03-03 Marek Polacek <polacek@redhat.com>
36129 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36130 * math/math_private.h: Likewise.
36131 * stdlib/tst-strtod.c: Likewise.
36132 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36133 * sysdeps/x86_64/bits/atomic.h: Likewise.
36135 2012-03-02 David S. Miller <davem@davemloft.net>
36137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36141 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36142 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36143 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36144 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36146 2012-03-02 Roland McGrath <roland@hack.frob.com>
36149 * manual/examples/README: New file, says the example source files
36150 can be used under GPL>=2.
36151 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36152 line containing just "*/".
36153 * manual/examples/add.c: Add copyright header (GPL>=2).
36154 * manual/examples/argp-ex1.c: Likewise.
36155 * manual/examples/argp-ex2.c: Likewise.
36156 * manual/examples/argp-ex3.c: Likewise.
36157 * manual/examples/argp-ex4.c: Likewise.
36158 * manual/examples/atexit.c: Likewise.
36159 * manual/examples/db.c: Likewise.
36160 * manual/examples/dir.c: Likewise.
36161 * manual/examples/dir2.c: Likewise.
36162 * manual/examples/execinfo.c: Likewise.
36163 * manual/examples/filecli.c: Likewise.
36164 * manual/examples/filesrv.c: Likewise.
36165 * manual/examples/fmtmsgexpl.c: Likewise.
36166 * manual/examples/genpass.c: Likewise.
36167 * manual/examples/inetcli.c: Likewise.
36168 * manual/examples/inetsrv.c: Likewise.
36169 * manual/examples/isockad.c: Likewise.
36170 * manual/examples/longopt.c: Likewise.
36171 * manual/examples/memopen.c: Likewise.
36172 * manual/examples/memstrm.c: Likewise.
36173 * manual/examples/mkfsock.c: Likewise.
36174 * manual/examples/mkisock.c: Likewise.
36175 * manual/examples/mygetpass.c: Likewise.
36176 * manual/examples/pipe.c: Likewise.
36177 * manual/examples/popen.c: Likewise.
36178 * manual/examples/rprintf.c: Likewise.
36179 * manual/examples/search.c: Likewise.
36180 * manual/examples/select.c: Likewise.
36181 * manual/examples/setjmp.c: Likewise.
36182 * manual/examples/sigh1.c: Likewise.
36183 * manual/examples/sigusr.c: Likewise.
36184 * manual/examples/stpcpy.c: Likewise.
36185 * manual/examples/strdupa.c: Likewise.
36186 * manual/examples/strftim.c: Likewise.
36187 * manual/examples/strncat.c: Likewise.
36188 * manual/examples/subopt.c: Likewise.
36189 * manual/examples/swapcontext.c: Likewise.
36190 * manual/examples/termios.c: Likewise.
36191 * manual/examples/testopt.c: Likewise.
36192 * manual/examples/testpass.c: Likewise.
36193 * manual/examples/timeval_subtract.c: Likewise.
36196 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36198 * manual/timeval_subtract.c.texi: ... here, new file.
36200 2012-03-02 David S. Miller <davem@davemloft.net>
36202 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36204 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36207 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36208 (__sin): Save and restore rounding mode and use round-to-nearest
36209 for all computations.
36210 (__cos): Save and restore rounding mode and use round-to-nearest
36211 for all computations.
36212 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36214 (tan): Save and restore rounding mode and use round-to-nearest for
36216 * math/libm-test.inc (cos_test_tonearest): New function.
36217 (cos_test_towardzero): Likewise.
36218 (cos_test_downward): Likewise.
36219 (cos_test_upward): Likewise.
36220 (sin_test_tonearest): Likewise.
36221 (sin_test_towardzero): Likewise.
36222 (sin_test_downward): Likewise.
36223 (sin_test_upward): Likewise.
36224 (tan_test_tonearest): Likewise.
36225 (tan_test_towardzero): Likewise.
36226 (tan_test_downward): Likewise.
36227 (tan_test_upward): Likewise.
36228 (main): Call the new functions.
36229 * sysdeps/i386/fpu/libm-test-ulps: Update.
36230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36233 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36234 small n, then large n, before computing and testing k+n.
36235 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36240 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36241 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36244 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36245 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36248 * math/libm-test.inc (scalbn_test): Add more tests.
36249 (scalbln_test): Likewise.
36251 * manual/filesys.texi (mode_t): Describe constraints on size and
36252 signedness, not exact equivalence to a particular type.
36254 (ino64_t): Likewise.
36256 (nlink_t): Likewise.
36257 (blkcnt_t): Likewise.
36258 (blkcnt64_t): Likewise.
36259 * manual/llio.texi (off_t): Likewise.
36262 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36263 (__ieee754_exp): Save and restore rounding mode and use
36264 round-to-nearest for all computations.
36265 * math/libm-test.inc (exp_test_tonearest): New function.
36266 (exp_test_towardzero): Likewise.
36267 (exp_test_downward): Likewise.
36268 (exp_test_upward): Likewise.
36269 (main): Call the new functions.
36270 * sysdeps/i386/fpu/libm-test-ulps: Update.
36271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36273 2012-03-01 Chris Demetriou <cgd@google.com>
36275 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36276 have predictable order.
36278 2012-03-01 David S. Miller <davem@davemloft.net>
36280 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36282 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36287 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36288 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36289 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36299 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36300 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36301 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36303 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36304 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36305 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36306 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36307 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36310 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36311 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36312 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36313 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36316 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36317 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36319 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36320 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36321 * sysdeps/sparc/elf/configure: Regenerated.
36323 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36325 * configure.in (AS, LD): Require binutils 2.20 or later.
36326 * configure: Regenerated.
36327 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36328 as required minimum version.
36329 * INSTALL: Regenerated.
36333 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36334 before squaring exponent.
36335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36336 bottom long double and 27 bits of top long double before squaring
36338 * math/libm-test.inc (erfc_test): Add more tests.
36339 * sysdeps/i386/fpu/libm-test-ulps: Update.
36340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343 2012-03-01 Kai Tietz <ktietz@redhat.com>
36345 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36346 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36347 containing bit-fields.
36348 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36349 * soft-fp/single.h (_FP_UNION_S): Likewise.
36350 * soft-fp/double.h (_FP_UNION_D): Likewise.
36352 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36355 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36356 not include ../strcmp.S.
36357 [USE_AS_STRNCASECMP_L]: Likewise.
36358 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36359 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36360 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36361 (__strncasecmp_l_ia32): Define as alias to
36362 __strncasecmp_l_nonascii.
36365 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36366 * sysdeps/i386/fpu/libm-test-ulps: Update.
36367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36369 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36372 2012-02-29 Jeff Law <law@redhat.com>
36374 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36375 out of bounds read.
36377 2012-02-29 Marek Polacek <polacek@redhat.com>
36380 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36381 * elf/Makefile: Add rules to run tst-unused-dep.out.
36383 2012-02-28 David S. Miller <davem@davemloft.net>
36385 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36386 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36387 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36389 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36392 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36394 * math/libm-test.inc (llround_test): Move one test from
36395 lround_test. Use TEST_f_L in moved test.
36396 (lround_test): Move misplaced test to llround_test. Add testcase
36399 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36401 * sysdeps/x86_64/fpu/e_expf.S: New file.
36402 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36404 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36407 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36408 of remain_len that may cause incomplete multi-byte character and
36410 * posix/bug-regex33.c: New file.
36411 * posix/Makefile (tests): Add bug-regex33.
36413 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36415 * manual/macros.texi: New file.
36416 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36417 * manual/libc.texinfo: Include macros.texi.
36418 * manual/creatute.texi: Likewise.
36419 * manual/install.texi: Likewise.
36420 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36421 @glibcadj{} in references to the GNU C Library.
36422 * manual/charset.texi: Likewise.
36423 * manual/conf.texi: Likewise.
36424 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36425 when not using those macros.
36426 * manual/creature.texi: Likewise.
36427 * manual/crypt.texi: Likewise.
36428 * manual/errno.texi: Likewise.
36429 * manual/filesys.texi: Likewise.
36430 * manual/header.texi: Likewise.
36431 * manual/install.texi: Likewise.
36432 * manual/intro.texi: Likewise.
36433 * manual/io.texi: Likewise.
36434 * manual/job.texi: Likewise.
36435 * manual/lang.texi: Likewise.
36436 * manual/libc.texiinfo: Likewise.
36437 * manual/llio.texi: Likewise.
36438 * manual/locale.texi: Likewise.
36439 * manual/maint.texi: Likewise.
36440 * manual/math.texi: Likewise.
36441 * manual/memory.texi: Likewise.
36442 * manual/message.texi: Likewise.
36443 * manual/nss.texi: Likewise.
36444 * manual/pattern.texi: Likewise.
36445 * manual/process.texi: Likewise.
36446 * manual/resource.texi: Likewise.
36447 * manual/search.texi: Likewise.
36448 * manual/setjmp.texi: Likewise.
36449 * manual/signal.texi: Likewise.
36450 * manual/socket.texi: Likewise.
36451 * manual/startup.texi: Likewise.
36452 * manual/stdio.texi: Likewise.
36453 * manual/string.texi: Likewise.
36454 * manual/sysinfo.texi: Likewise.
36455 * manual/syslog.texi: Likewise.
36456 * manual/terminal.texi: Likewise.
36457 * manual/time.texi: Likewise.
36458 * manual/users.texi: Likewise.
36459 * INSTALL: Regenerated.
36460 * NOTES: Regenerated.
36461 * sysdeps/gnu/errlist.c: Regenerated.
36463 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36465 * include/dirent.h: Include <dirstream.h> before
36468 2012-02-28 David S. Miller <davem@davemloft.net>
36470 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36471 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36472 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36473 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36475 2012-02-27 David S. Miller <davem@davemloft.net>
36477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36479 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36480 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36483 frame pointer instead of stack pointer relative arg slot.
36484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36485 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36486 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36488 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36491 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36493 2012-02-27 David S. Miller <davem@davemloft.net>
36495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36499 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36500 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36501 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36502 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36504 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36506 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36507 later. Allow versions 5-9.
36508 * configure: Regenerated.
36509 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36510 required minimum version and 4.6 as recommended version. Do not
36511 mention bugs in GCC 2.7 and 2.8.
36512 * INSTALL: Regenerated.
36514 2012-02-27 David S. Miller <davem@davemloft.net>
36516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36520 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36521 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36522 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36523 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36525 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36526 manipulate bits before adding and subtracting TWO112[sx].
36527 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36529 2012-02-27 Roland McGrath <roland@hack.frob.com>
36532 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36533 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36534 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36535 being in POSIX, because they are in 1003.1-2008.
36537 * rt/tst-aio.c: Include <fcntl.h>.
36538 * rt/tst-aio7.c: Likewise.
36539 * rt/tst-aio64.c: Likewise.
36541 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36543 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36545 * manual/install.texi (--with-headers): Describe headers as
36546 interface headers, not private headers.
36547 (Specific advice for GNU/Linux systems): Describe use of headers
36548 from "make headers_install", not private headers from older
36550 * INSTALL: Regenerated.
36551 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36553 * sysdeps/unix/sysv/linux/configure: Regenerated.
36555 * manual/llio.texi (fclean): Remove documentation.
36557 * manual/Makefile (libc-texi-generated): New variable. Include
36559 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36560 $(libc-texi-generated), not duplicated list of files.
36561 (version.texi, stamp-version): New rules.
36562 (realclean): Remove $(libc-texi-generated), not individual files
36563 from that list. Do not remove dir-add.texinfo.
36564 * manual/libc.texinfo: Comment out uses of edition numbers and
36565 references to printed manual. Remove last-updated dates.
36566 (EDITION): Comment out.
36568 (VERSION, UPDATED): Remove.
36569 (version.texi): Include.
36571 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36573 * sysdeps/posix/spawni.c: Include <signal.h>.
36574 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36575 * sysdeps/pthread/aio_fsync.c: Likewise.
36577 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36579 * conform/Makefile (tests): Run only when not cross-compiling and
36580 when fast-check is not defined.
36582 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36583 * conform/data/limits.h-data: Fixes for POSIX2008.
36584 * conform/run-conformtest.sh: Run all tests.
36585 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36587 * include/bits/dlfcn.h: Likewise.
36588 * include/langinfo.h: Likewise.
36589 * include/monetary.h: Likewise.
36590 * include/sys/poll.h: Likewise.
36592 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36594 * posix/spawn.h: Define __need_sigset_t.
36595 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36596 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36597 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36598 to get sigevent_t only.
36599 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36600 only for __USE_GNU.
36601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36602 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36603 process_vm_writev only for __USE_GNU.
36604 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36606 * conform/Makefile: For now ignore errors from run-conformtest.
36607 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36608 POSIX to avoid namespace pollution. Don't prepend headers.
36609 * conform/data/aio.h-data: Fixes for POSIX testing.
36610 * conform/data/fcntl.h-data: Likewise.
36611 * conform/data/glob.h-data: Likewise.
36612 * conform/data/grp.h-data: Likewise.
36613 * conform/data/pthread.h-data: Likewise.
36614 * conform/data/pwd.h-data: Likewise.
36615 * conform/data/signal.h-data: Likewise.
36616 * conform/data/spawn.h-data: Likewise.
36617 * conform/data/stdio.h-data: Likewise.
36618 * conform/data/stdlib.h-data: Likewise.
36619 * conform/data/stropts.h-data: Likewise.
36620 * conform/data/sys/mman.h-data: Likewise.
36621 * conform/data/sys/stat.h-data: Likewise.
36622 * conform/data/sys/types.h-data: Likewise.
36623 * conform/data/sys/wait.h-data: Likewise.
36624 * conform/data/time.h-data: Likewise.
36625 * conform/data/unistd.h-data: Likewise.
36626 * conform/data/utime.h-data: Likewise.
36628 * io/sys/stat.h: fchmod was always in POSIX.
36629 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36630 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36631 * rt/aio.h: Define __need_timespec before including <time.h>.
36632 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36633 struct. Add forward declaration of pthread_attr_t and use it in
36635 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36636 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36637 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36638 always remove CLK_TCK definition.
36640 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36642 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36644 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36646 * conform/run-conformtest.sh: New file.
36647 * conform/Makefile: Run run-conformtest for tests.
36648 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36651 * conform/data/uchar.h-data: New file.
36652 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36653 * conform/data/arpa/inet.h-data: Likewise.
36654 * conform/data/assert.h-data: Likewise.
36655 * conform/data/complex.h-data: Likewise.
36656 * conform/data/cpio.h-data: Likewise.
36657 * conform/data/ctype.h-data: Likewise.
36658 * conform/data/dirent.h-data: Likewise.
36659 * conform/data/dlfcn.h-data: Likewise.
36660 * conform/data/errno.h-data: Likewise.
36661 * conform/data/fcntl.h-data: Likewise.
36662 * conform/data/float.h-data: Likewise.
36663 * conform/data/fmtmsg.h-data: Likewise.
36664 * conform/data/fnmatch.h-data: Likewise.
36665 * conform/data/ftw.h-data: Likewise.
36666 * conform/data/glob.h-data: Likewise.
36667 * conform/data/grp.h-data: Likewise.
36668 * conform/data/iconv.h-data: Likewise.
36669 * conform/data/inttypes.h-data: Likewise.
36670 * conform/data/langinfo.h-data: Likewise.
36671 * conform/data/libgen.h-data: Likewise.
36672 * conform/data/limits.h-data: Likewise.
36673 * conform/data/locale.h-data: Likewise.
36674 * conform/data/math.h-data: Likewise.
36675 * conform/data/monetary.h-data: Likewise.
36676 * conform/data/mqueue.h-data: Likewise.
36677 * conform/data/ndbm.h-data: Likewise.
36678 * conform/data/net/if.h-data: Likewise.
36679 * conform/data/netdb.h-data: Likewise.
36680 * conform/data/netinet/in.h-data: Likewise.
36681 * conform/data/nl_types.h-data: Likewise.
36682 * conform/data/poll.h-data: Likewise.
36683 * conform/data/pthread.h-data: Likewise.
36684 * conform/data/pwd.h-data: Likewise.
36685 * conform/data/regex.h-data: Likewise.
36686 * conform/data/sched.h-data: Likewise.
36687 * conform/data/search.h-data: Likewise.
36688 * conform/data/semaphore.h-data: Likewise.
36689 * conform/data/setjmp.h-data: Likewise.
36690 * conform/data/signal.h-data: Likewise.
36691 * conform/data/spawn.h-data: Likewise.
36692 * conform/data/stdarg.h-data: Likewise.
36693 * conform/data/stdio.h-data: Likewise.
36694 * conform/data/stdlib.h-data: Likewise.
36695 * conform/data/string.h-data: Likewise.
36696 * conform/data/strings.h-data: Likewise.
36697 * conform/data/stropts.h-data: Likewise.
36698 * conform/data/sys/ipc.h-data: Likewise.
36699 * conform/data/sys/mman.h-data: Likewise.
36700 * conform/data/sys/msg.h-data: Likewise.
36701 * conform/data/sys/resource.h-data: Likewise.
36702 * conform/data/sys/select.h-data: Likewise.
36703 * conform/data/sys/sem.h-data: Likewise.
36704 * conform/data/sys/shm.h-data: Likewise.
36705 * conform/data/sys/socket.h-data: Likewise.
36706 * conform/data/sys/stat.h-data: Likewise.
36707 * conform/data/sys/statvfs.h-data: Likewise.
36708 * conform/data/sys/time.h-data: Likewise.
36709 * conform/data/sys/timeb.h-data: Likewise.
36710 * conform/data/sys/times.h-data: Likewise.
36711 * conform/data/sys/types.h-data: Likewise.
36712 * conform/data/sys/uio.h-data: Likewise.
36713 * conform/data/sys/un.h-data: Likewise.
36714 * conform/data/sys/utsname.h-data: Likewise.
36715 * conform/data/sys/wait.h-data: Likewise.
36716 * conform/data/syslog.h-data: Likewise.
36717 * conform/data/tar.h-data: Likewise.
36718 * conform/data/termios.h-data: Likewise.
36719 * conform/data/utime.h-data: Likewise.
36720 * conform/data/utmpx.h-data: Likewise.
36721 * conform/data/varargs.h-data: Likewise.
36722 * conform/data/wchar.h-data: Likewise.
36723 * conform/data/wctype.h-data: Likewise.
36724 * conform/data/wordexp.h-data: Likewise.
36726 * include/stropts.h: New file.
36727 * include/uchar.h: New file.
36728 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36729 * include/assert.h: Likewise.
36730 * include/ctype.h: Likewise.
36731 * include/dirent.h: Likewise.
36732 * include/dlfcn.h: Likewise.
36733 * include/fcntl.h: Likewise.
36734 * include/fnmatch.h: Likewise.
36735 * include/glob.h: Likewise.
36736 * include/grp.h: Likewise.
36737 * include/libio.h: Likewise.
36738 * include/locale.h: Likewise.
36739 * include/math.h: Likewise.
36740 * include/net/if.h: Likewise.
36741 * include/netdb.h: Likewise.
36742 * include/netinet/in.h: Likewise.
36743 * include/pthread.h: Likewise.
36744 * include/pwd.h: Likewise.
36745 * include/regex.h: Likewise.
36746 * include/sched.h: Likewise.
36747 * include/search.h: Likewise.
36748 * include/setjmp.h: Likewise.
36749 * include/signal.h: Likewise.
36750 * include/stdio.h: Likewise.
36751 * include/stdlib.h: Likewise.
36752 * include/string.h: Likewise.
36753 * include/sys/cdefs.h: Likewise.
36754 * include/sys/mman.h: Likewise.
36755 * include/sys/msg.h: Likewise.
36756 * include/sys/resource.h: Likewise.
36757 * include/sys/select.h: Likewise.
36758 * include/sys/socket.h: Likewise.
36759 * include/sys/stat.h: Likewise.
36760 * include/sys/statvfs.h: Likewise.
36761 * include/sys/time.h: Likewise.
36762 * include/sys/times.h: Likewise.
36763 * include/sys/uio.h: Likewise.
36764 * include/sys/utsname.h: Likewise.
36765 * include/sys/wait.h: Likewise.
36766 * include/termios.h: Likewise.
36767 * include/time.h: Likewise.
36768 * include/ulimit.h: Likewise.
36769 * include/unistd.h: Likewise.
36770 * include/utime.h: Likewise.
36771 * include/wchar.h: Likewise.
36772 * include/wctype.h: Likewise.
36773 * include/wordexp.h: Likewise.
36775 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36777 * time/time.h: TIME_UTC must be a macro.
36778 Make timespec_get available for ISO C11 only as well.
36780 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36782 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36783 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36785 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36787 * configure.in: Use -o not -a in test for unsupported multi-arch.
36789 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36791 * manual/texinfo.tex: Update to version 2012-01-19.16.
36793 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36795 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36797 2012-02-24 Roland McGrath <roland@hack.frob.com>
36800 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36801 * manual/fdl-1.3.texi: New file.
36802 * manual/fdl-1.1.texi: File removed.
36805 * manual/libc.texinfo (FDL_VERSION): New @set.
36806 Use it for mention of FDL in cover text.
36807 (Documentation License): Use it in @include file name.
36809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36810 Roland McGrath <roland@hack.frob.com>
36813 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36814 (not LONG_LONG_MAX and LONG_LONG_MIN.
36815 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36816 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36818 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36820 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36824 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36825 manipulate bits before adding and subtracting TWO23[sx].
36826 * math/libm-test.inc (nearbyint_test): Add more tests.
36828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36831 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36832 bits before adding and subtracting TWO23[sx].
36833 * math/libm-test.inc (rint_test): Add more tests.
36834 (rint_test_tonearest): Likewise.
36835 (rint_test_towardzero): Likewise.
36836 (rint_test_downward): Likewise.
36837 (rint_test_upward: Likewise.
36839 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36842 * include/stdc-predef.h: New file. Extracted from features.h.
36843 * include/features.h: Include stdc-predef.h.
36844 * Makefile (headers): Add stdc-predef.h.
36845 * CONFORMANCE (Compiler limitations): Update.
36847 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36849 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36851 2012-02-21 David S. Miller <davem@davemloft.net>
36853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36854 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36856 2012-02-20 David S. Miller <davem@davemloft.net>
36858 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36859 using a normal save/restore sequence, rather than allocating a
36860 dummy stack frame just to store a frame pointer and restore.
36861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36863 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36865 * manual/install.texi: Fix stray word in line-wrapped comment.
36867 2012-02-20 David S. Miller <davem@davemloft.net>
36869 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36870 both binutils and gcc support GOTDATA.
36872 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36873 "rd %pc" in the PIC register setup sequences.
36875 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36876 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36877 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36878 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36879 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36881 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36884 (SYSCALL_ERROR_HANDLER): Likewise.
36885 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36887 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36888 (SYSCALL_ERROR_HANDLER): Likewise.
36890 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36891 (HAVE_GCC_GOTDATA): New.
36892 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36893 relocation support in both binutils and gcc.
36894 * sysdeps/sparc/elf/configure: Regenerate.
36896 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36897 * sysdeps/sparc/sparc32/elf/configure: Delete.
36898 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36899 * sysdeps/sparc/sparc64/elf/configure: Delete.
36900 * sysdeps/sparc/elf/configure.in: New file.
36901 * sysdeps/sparc/elf/configure: Generate.
36903 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36904 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36905 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36906 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36907 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36909 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36911 * manual/install.texi: Do not mention specific glibc version
36913 * manual/libc.texinfo (VERSION, UPDATED): Update.
36914 (@copying): Use @copyright{} and range of years.
36916 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36919 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36920 [crti.S not in sysdirs] (generated): Do not append.
36921 [crti.S not in sysdirs] (omit-deps): Likewise.
36922 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36923 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36924 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36925 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36926 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36928 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36929 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36930 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36931 * csu/defs.awk: Remove file.
36932 * sysdeps/generic/initfini.c: Likewise.
36933 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36935 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36938 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36940 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36941 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36942 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36943 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36945 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36947 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36948 (__EPOLL_PACKED): Define to empty if not defined by
36950 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36954 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36956 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36957 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36958 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36959 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36961 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36965 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36967 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36969 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36970 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36976 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36977 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36979 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36981 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36982 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36984 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36986 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36989 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36991 * math/w_acos.c: Use non-signaling floating-point comparisons.
36992 * math/w_acosf.c: Likewise.
36993 * math/w_acosh.c: Likewise.
36994 * math/w_acoshf.c: Likewise.
36995 * math/w_acoshl.c: Likewise.
36996 * math/w_acosl.c: Likewise.
36997 * math/w_asin.c: Likewise.
36998 * math/w_asinf.c: Likewise.
36999 * math/w_asinl.c: Likewise.
37000 * math/w_atanh.c: Likewise.
37001 * math/w_atanhf.c: Likewise.
37002 * math/w_atanhl.c: Likewise.
37003 * math/w_exp2.c: Likewise.
37004 * math/w_exp2f.c: Likewise.
37005 * math/w_exp2l.c: Likewise.
37006 * math/w_j0.c: Likewise.
37007 * math/w_j0f.c: Likewise.
37008 * math/w_j0l.c: Likewise.
37009 * math/w_j1.c: Likewise.
37010 * math/w_j1f.c: Likewise.
37011 * math/w_j1l.c: Likewise.
37012 * math/w_jn.c: Likewise.
37013 * math/w_jnf.c: Likewise.
37014 * math/w_log.c: Likewise.
37015 * math/w_log10.c: Likewise.
37016 * math/w_log10f.c: Likewise.
37017 * math/w_log10l.c: Likewise.
37018 * math/w_log2.c: Likewise.
37019 * math/w_log2f.c: Likewise.
37020 * math/w_log2l.c: Likewise.
37021 * math/w_logf.c: Likewise.
37022 * math/w_logl.c: Likewise.
37023 * math/w_sqrt.c: Likewise.
37024 * math/w_sqrtf.c: Likewise.
37025 * math/w_sqrtl.c: Likewise.
37026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37027 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37028 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37030 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37032 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37035 * manual/string.texi (strnlen): Use correct parameter name in
37036 equivalent expression.
37038 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37041 * manual/users.texi (seteuid): Consistently use neweuid for
37044 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37047 * manual/nss.texi (Services in the NSS configuration): Correct
37048 list of services in example configuration file.
37050 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37053 * manual/arith.texi: Remove statements about negative zero
37054 behaving identically to zero.
37056 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37059 * manual/install.texi: Do not document upgrading from libc5.
37061 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37064 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37066 2012-02-18 David S. Miller <davem@davemloft.net>
37068 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37069 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37070 %o7 across the call.
37071 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37074 SETUP_PIC_REG_LEAF.
37075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37076 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37077 * sysdeps/sparc/crtn.S: Likewise.
37079 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37081 * aout/Makefile: Remove.
37083 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37086 * manual/examples/argp-ex1.c (main): Format definition in GNU
37088 * manual/examples/argp-ex2.c (main): Likewise.
37089 * manual/examples/argp-ex3.c (main): Likewise.
37090 * manual/examples/argp-ex4.c (main): Likewise.
37091 * manual/examples/longopt.c (main): Use new-style prototype
37093 * manual/examples/strncat.c (main): Specify return type and use
37094 (void) for arguments.
37095 * manual/examples/subopt.c (main): Use char **argv argument.
37097 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37100 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37103 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37106 * manual/string.texi (strchr): Change when strchrnul is
37109 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37112 * manual/locale.texi (setlocale): Document LOCPATH.
37114 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37117 * manual/process.texi (execle): Move @dots{} before last argument.
37119 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37122 * manual/charset.texi (Generic Charset Conversion): Fix typo
37123 (LC_TYPE -> LC_CTYPE).
37125 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37128 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37129 (scalbnf): Likewise.
37130 (scalbnl): Likewise.
37131 (scalbln): Likewise.
37132 (scalblnf): Likewise.
37133 (scalblnl): Likewise.
37134 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37135 (vwarnx): Likewise.
37138 * manual/filesys.texi (telldir): Use braces around return type.
37139 * manual/llio.texi (mmap): Add space after comma.
37140 (mmap64): Likewise.
37141 * manual/math.texi (jn): Use @var{} on parameter names.
37147 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37149 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37151 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37152 (sched_get_priority_max): Likewise.
37153 * manual/signal.texi (sigvec): Add space after comma.
37154 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37156 (if_indextoname): Likewise.
37157 (if_freenameindex): Likewise.
37158 (sendto): Use ',' instead of '.' in prototype.
37159 * manual/startup.texi (syscall): Use @dots{} instead of literal
37161 * manual/stdio.texi (__fpending): Separate initial words of
37162 paragraph from @deftypefun line.
37163 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37165 (vsyslog): Use @var{} on parameter names.
37166 * manual/terminal.texi (stty): Use @var{} on parameter names.
37167 * manual/users.texi (getutmp): Use @var{} on parameter names.
37168 (getutmpx): Likewise.
37170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37173 * manual/stdio.texi (fopen): Fix typos in description of
37176 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37179 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37180 get clock_id definition.
37182 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37185 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37186 (madvise): Cast every argument to void on its own.
37188 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37191 * manual/startup.texi (Exit Status): Fix typo.
37193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37196 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37197 * manual/examples/argp-ex2.c: Likewise.
37198 * manual/examples/argp-ex3.c: Likewise.
37200 2012-02-16 Richard Henderson <rth@redhat.com>
37202 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37203 * sysdeps/s390/s390-32/initfini.c: Remove.
37204 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37205 * sysdeps/s390/s390-64/initfini.c: Remove.
37207 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37209 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37210 compiler output for sysdeps/generic/initfini.c.
37211 * sysdeps/sh/elf/initfini.c: Remove file.
37213 2012-02-16 David S. Miller <davem@davemloft.net>
37216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37218 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37219 * sysdeps/sparc/crti.S: New file.
37220 * sysdeps/sparc/crtn.S: New file.
37221 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37222 * sysdeps/sparc/sparc64/Makefile: Likewise.
37224 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37227 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37229 2012-02-15 Roland McGrath <roland@hack.frob.com>
37232 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37234 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37235 (write, read, close): Likewise.
37236 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37238 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37240 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37241 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37242 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37243 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37245 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37249 2012-02-14 Marek Polacek <polacek@redhat.com>
37251 * sysdeps/x86_64/crti.S: New file.
37252 * sysdeps/x86_64/crtn.S: New file.
37253 * sysdeps/x86_64/elf/initfini.c: Remove file.
37255 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37257 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37258 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37259 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37260 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37262 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37266 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37268 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37269 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37270 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37271 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37273 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37277 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37279 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37280 __feraiseexcept instead of feraiseexcept.
37282 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37283 nanosleep invocations.
37284 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37285 strings, and add error checking for a nanosleep invocations.
37287 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37289 Replace FSF snail mail address with URLs, as per GNU coding standards.
37290 Most of the snail mail addresses were wrong anyway, and omitting
37291 them makes the source code easier to maintain. Almost all of the
37292 changes are to license notices and to locale LC_IDENTIFICATION
37293 addresses, except for this one:
37294 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37295 not its snail mail address.
37297 2012-02-09 Richard Henderson <rth@twiddle.net>
37299 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37300 of kernel-features.h.
37302 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37304 2012-02-08 Marek Polacek <polacek@redhat.com>
37306 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37307 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37308 * sysdeps/gnu/_G_config.h: Likewise.
37309 * sysdeps/generic/_G_config.h: Likewise.
37311 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37313 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37317 * sysdeps/powerpc/powerpc32/crti.S: New file.
37318 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37319 * sysdeps/powerpc/powerpc64/crti.S: New file.
37320 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37322 * Makeconfig (have-initfini): Don't set.
37323 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37324 * configure.in (nopic_initfini): Don't substitute.
37325 * config.h.in (HAVE_INITFINI): Don't #undef.
37326 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37327 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37329 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37331 Support crti.S and crtn.S provided directly by architectures.
37332 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37333 [crti.S in sysdirs] (omit-deps): Likewise.
37334 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37335 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37336 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37337 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37338 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37339 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37340 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37341 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37342 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37343 compiler output for sysdeps/generic/initfini.c.
37344 * sysdeps/i386/elf/Makefile: Remove file.
37345 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37347 2012-02-07 Marek Polacek <polacek@redhat.com>
37349 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37350 * sysdeps/gnu/_G_config.h: Likewise.
37351 * sysdeps/mach/hurd/_G_config.h: Likewise.
37353 2012-02-07 Marek Polacek <polacek@redhat.com>
37355 * math/Makefile (tests): Add tst-CMPLX2.
37356 * math/tst-CMPLX2.c: New file.
37358 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37360 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37362 * math/libm-test.inc (jn_test): Add missing L suffix.
37364 2012-02-06 Marek Polacek <polacek@redhat.com>
37366 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37367 * sysdeps/i386/fpu/e_powf.S: Likewise.
37368 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37369 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37371 * sysdeps/i386/fpu/e_pow.S: Likewise.
37372 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37374 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37375 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37376 * sysdeps/i386/fpu/e_log2.S: Likewise.
37377 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37378 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37379 * sysdeps/i386/fpu/e_powl.S: Likewise.
37380 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37381 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37382 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37383 * sysdeps/i386/fpu/e_logl.S: Likewise.
37384 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37385 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37386 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37387 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37388 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37389 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37390 * sysdeps/i386/fpu/e_log.S: Likewise.
37391 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37392 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37393 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37394 * sysdeps/i386/fpu/e_logf.S: Likewise.
37395 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37397 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37398 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37399 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37400 * sysdeps/i386/fpu/e_log10.S: Likewise.
37401 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37402 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37403 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37404 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37405 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37406 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37407 * sysdeps/i386/asm-syntax.h: Likewise.
37408 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37410 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37411 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37412 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37413 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37414 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37415 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37416 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37417 * sysdeps/powerpc/sysdep.h: Likewise.
37418 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37419 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37421 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37424 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37426 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37428 * sysdeps/i386/sysdep.h: Include <features.h>.
37429 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37432 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37434 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37436 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37439 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37441 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37442 (SETUP_PIC_REG): Use GET_PC_THUNK.
37443 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37446 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37448 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37449 for non-PIC compilation.
37450 (SETUP_PIC_REG): Add .p2align directive.
37451 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37452 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37453 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37455 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37456 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37457 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37459 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37460 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37461 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37462 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37463 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37464 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37465 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37466 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37467 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37468 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37469 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37474 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37476 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37477 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37484 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37485 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37487 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37488 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37489 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37490 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37491 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37493 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37495 * math/tst-CMPLX.c: Include <stdio.h>.
37497 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37499 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37501 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37502 * sysdeps/sparc/bits/mathdef.h: Likewise.
37504 2012-01-31 Marek Polacek <polacek@redhat.com>
37506 * libio/libio.h: Don't define _PARAMS.
37507 * locale/programs/config.h: Don't define PARAMS.
37508 * stdlib/strtol_l.c: Likewise.
37509 (__strtol_l): Remove PARAMS from the prototype.
37511 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37513 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37514 names. Just use the correct names. Remove unnecessary wrapper
37516 * malloc/arena.c: Likewise.
37517 * malloc/hooks.c: Likewise.
37519 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37520 ARENA_TEST says not to. Simplify test for creation of a new arena.
37521 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37523 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37525 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37527 (update_get_addr): New function.
37528 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37529 GET_ADDR_MODULE parameter.
37531 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37533 * crypt/cert.c: Remove __STDC__ conditionals.
37534 * crypt/crypt-entry.c: Likewise.
37535 * crypt/crypt_util.c: Likewise.
37536 * libio/filedoalloc.c: Likewise.
37537 * libio/fileops.c: Likewise.
37538 * libio/genops.c: Likewise.
37539 * libio/iofclose.c: Likewise.
37540 * libio/iofdopen.c: Likewise.
37541 * libio/iofopen.c: Likewise.
37542 * libio/iofopen64.c: Likewise.
37543 * libio/iogetdelim.c: Likewise.
37544 * libio/iopopen.c: Likewise.
37545 * libio/obprintf.c: Likewise.
37546 * libio/oldfileops.c: Likewise.
37547 * libio/oldiofclose.c: Likewise.
37548 * libio/oldiofdopen.c: Likewise.
37549 * libio/oldiofopen.c: Likewise.
37550 * libio/oldiopopen.c: Likewise.
37551 * libio/wfiledoalloc.c: Likewise.
37552 * libio/wgenops.c: Likewise.
37553 * locale/programs/xmalloc.c: Likewise.
37554 * misc/syslog.c: Likewise.
37555 * stdio-common/xbug.c: Likewise.
37556 * string/memchr.c: Likewise.
37557 * string/memcmp.c: Likewise.
37558 * string/memrchr.c: Likewise.
37559 * string/rawmemchr.c: Likewise.
37560 * sysdeps/posix/getcwd.c: Likewise.
37561 * time/strftime_l.c: Likewise.
37563 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37565 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37566 * config.make.in (config-cflags-sse2avx): Define.
37567 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37570 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37572 * scripts/config.guess: Update from upstream config git repository.
37573 * scripts/config.sub: Likewise.
37575 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37577 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37579 (R_TILEPRO_*, R_TILEGX_*): New macros.
37581 * scripts/firstversions.awk: Fix bug in version range handling.
37583 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37585 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37587 * include/sys/epoll.h: New file.
37588 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37591 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37593 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37594 Avoid unnecessary __WORDSIZE == 64 test.
37595 (fmaxf): Use VEX format if possible.
37600 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37601 * math/math_private.h: Remove libc_fegetround* and
37603 * sysdeps/i386/configure.in: Check for -msse2avx.
37604 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37605 also if SSE2AVX is defined.
37606 Remove libc_fegetround* and libc_fesetround*.
37607 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37608 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37611 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37612 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37617 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37619 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37621 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37623 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37625 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37628 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37630 * Makeconfig (libm): Define.
37631 * elf/Makefile: Add rules to build and run tst-relsort1.
37632 * elf/tst-relsort1.c: New file.
37633 * elf/tst-relsort1mod1.c: New file.
37634 * elf/tst-relsort1mod2.c: New file.
37636 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37638 * math/s_ldexp.c: Remove __STDC__ conditionals.
37639 * math/s_ldexpf.c: Likewise.
37640 * math/s_ldexpl.c: Likewise.
37641 * math/s_nextafter.c: Likewise.
37642 * math/s_nexttowardf.c: Likewise.
37643 * math/s_significand.c: Likewise.
37644 * math/s_significandf.c: Likewise.
37645 * math/s_significandl.c: Likewise.
37646 * math/w_jnl.c: Likewise.
37647 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37648 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37649 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37650 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37651 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37666 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37667 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37669 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37671 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37674 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37675 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37677 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37678 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37679 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37680 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37685 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37687 * sysdeps/ieee754/k_standard.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37749 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37754 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37762 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37763 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37767 * sysdeps/ieee754/s_matherr.c: Likewise.
37768 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37769 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37773 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37775 * crypt/md5.h: Remove __STDC__ conditionals.
37776 * libio/libioP.h: Likewise.
37777 * locale/programs/config.h: Likewise.
37778 * sysdeps/generic/sysdep.h: Likewise.
37779 * sysdeps/i386/asm-syntax.h: Likewise.
37780 * sysdeps/s390/asm-syntax.h: Likewise.
37781 * sysdeps/unix/sysdep.h: Likewise.
37782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37785 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37787 * libio/libio.h: Remove __STDC__ conditionals.
37788 * malloc/obstack.h: Likewise.
37789 * math/complex.h: Likewise.
37790 * math/math.h: Likewise.
37791 * sysdeps/generic/_G_config.h: Likewise.
37792 * sysdeps/gnu/_G_config.h: Likewise.
37793 * sysdeps/mach/hurd/_G_config.h: Likewise.
37794 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37795 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37796 * sysdeps/sparc/bits/mathdef.h: Likewise.
37798 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37801 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37802 Clean up HAS_* macros.
37803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37804 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37814 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37816 * elf/tst-unique3.cc (gets): Remove declaration.
37817 * elf/tst-unique3lib.cc (gets): Likewise.
37818 * elf/tst-unique3lib2.cc (gets): Likewise.
37819 * elf/tst-unique4.cc (gets): Likewise.
37821 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37823 * include/stdio.h: Add C++ protection. Add gets declarations and
37825 * debug/tst-chk1.c: Don't declare gets here.
37826 * stdio-common/tst-gets.c: Likewise.
37828 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37830 * posix/glob: Remove directory.
37832 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37834 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37836 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37838 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37839 of the non-standard EPFNOSUPPORT.
37841 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37843 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37844 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37845 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37847 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37849 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37851 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37853 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37855 * nscd/grpcache.c (cache_addgr): Likewise.
37856 * nscd/hstcache.c (cache_addhst): Likewise.
37857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37858 * nscd/pwdcache.c (cache_addpw): Likewise.
37859 * nscd/servicescache.c (cache_addserv): Likewise.
37861 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37863 * malloc/malloc.c: Various cleanups.
37864 * malloc/hooks.c: Likewise.
37866 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37867 * stdlib/bug-fmtmsg1.c: New file.
37869 * stdlib/fmtmsg.c (init): Add missing unlock.
37870 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37872 2012-01-12 Marek Polacek <polacek@redhat.com>
37874 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37877 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37879 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37880 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37881 macro to ensure uniqueness of label name.
37882 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37883 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37885 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37887 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37889 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37890 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37894 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37896 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37898 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37899 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37900 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37902 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37904 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37905 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37906 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37909 * math/bits/math-finite.h: Add ldexp support.
37911 2012-01-10 Marek Polacek <polacek@redhat.com>
37913 * locale/programs/localedef.h (show_archive_content): Add noreturn
37916 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37918 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37920 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37922 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37924 * io/Makefile (headers): Add bits/poll2.h.
37926 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37929 typo #include statement.
37931 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37933 * include/sys/cdefs.h: Define __attribute_alloc_size.
37934 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37935 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37936 * elf/pldd.c: Likewise.
37937 * iconv/iconv_charmap.c: Likewise.
37938 * iconv/iconvconfig.c: Likewise.
37939 * iconv/strtab.c: Likewise.
37940 * locale/programs/locale.c: Likewise.
37941 * locale/programs/localedef.h: Likewise.
37942 * locale/programs/simple-hash.c: Likewise.
37943 * nscd/nscd.h: Likewise.
37944 * nss/makedb.c: Likewise.
37945 * sysdeps/generic/ldconfig.h: Likewise.
37946 * locale/programs/localedef.c: Remove xmalloc prototype.
37947 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37949 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37951 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37954 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37956 * math/Makefile (tests): Add tst-CMPLX.
37957 * math/tst-CMPLX.c: New file.
37959 * math/complex.h (CMPLXL): Fix typo.
37961 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37962 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37964 * debug/tst-chk1.c: Add poll and ppoll tests.
37965 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37966 * include/sys/poll.h: Add hidden proto for ppoll.
37967 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37968 * sysdeps/mach/hurd/ppoll.c: Likewise.
37969 * io/ppoll.c: Likewise.
37970 * debug/poll_chk.c: New file.
37971 * debug/ppoll_chk.c: New file.
37972 * include/bits/poll2.h: New file.
37973 * io/bits/poll2.h: New file.
37976 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37978 * configure.in: static is always set to yes. Remove.
37979 * config.make.in: Don't set build-static.
37980 * Makeconfig: Remove use of build-static.
37981 * dlfcn/Makefile: Likewise.
37982 * elf/Makefile: Likewise.
37983 * math/Makefile: Likewise.
37984 * misc/Makefile: Likewise.
37985 * nptl/Makefile: Likewise.
37986 * sysdeps/mach/hurd/Makefile: Likewise.
37988 * configure.in: PWD_P is not used anymore.
37989 * config.make.in: Remove PWD_P entry.
37991 * configure.in: Remove last remnants of RANLIB.
37992 No need to check for signed size_t anymore.
37993 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37995 Remove __builtin_expect test because we require at least gcc 3.4.
37996 * aclocal.m4: Likewise.
37998 * wcsmbs/mbrtoc16.c: Implement using towc function.
37999 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38000 * wcsmbs/wcsmbsload.c: Likewise.
38001 * iconv/gconv_simple.c: Likewise.
38002 * iconv/gconv_int.h: Likewise.
38003 * iconv/gconv_builtin.h: Likewise.
38004 * iconv/iconv_prog.c: Remove CHAR16 handling.
38006 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38008 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38010 * configure.in: Remove --with-elf and --enable-bounded options.
38011 Dont set base_machine for ia64. More non-ELF conditions removed.
38012 Remove testing and setting of leading underscore information.
38013 * config.make.in (build-bounded): Set to no.
38014 * config.h.in: Remove NO_UNDERSCORES entry.
38015 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38017 * csu/start.c: Remove !NO_UNDERSCORE code.
38018 * locale/localeinfo.h: Likewise.
38019 * sysdeps/generic/machine-gmon.h: Likewise.
38020 * sysdeps/generic/sysdep.h: Likewise.
38021 * sysdeps/i386/sysdep.h: Likewise.
38022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38023 * sysdeps/mach/sysdep.h: Likewise.
38024 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38026 * sysdeps/sh/sysdep.h: Likewise.
38027 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38028 * sysdeps/unix/i386/sysdep.S: Likewise.
38029 * sysdeps/unix/sparc/start.c: Likewise.
38030 * sysdeps/unix/sparc/sysdep.S: Likewise.
38031 * sysdeps/unix/sparc/sysdep.h: Likewise.
38032 * sysdeps/unix/start.c: Likewise.
38033 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38034 * sysdeps/x86_64/sysdep.h: Likewise.
38036 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38039 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38041 * argp/argp-fmtstream.h: Use const instead __const.
38042 * argp/argp.h: Likewise.
38043 * assert/assert.h: Likewise.
38044 * bits/fenv.h: Likewise.
38045 * bits/sched.h: Likewise.
38046 * bits/sigset.h: Likewise.
38047 * bits/sigthread.h: Likewise.
38048 * catgets/nl_types.h: Likewise.
38049 * conform/data/pthread.h-data: Likewise.
38050 * crypt/crypt-private.h: Likewise.
38051 * crypt/crypt.h: Likewise.
38052 * crypt/crypt_util.c: Likewise.
38053 * ctype/ctype.h: Likewise.
38054 * debug/execinfo.h: Likewise.
38055 * debug/mbsnrtowcs_chk.c: Likewise.
38056 * debug/mbsrtowcs_chk.c: Likewise.
38057 * debug/wcsnrtombs_chk.c: Likewise.
38058 * debug/wcsrtombs_chk.c: Likewise.
38059 * debug/wcstombs_chk.c: Likewise.
38060 * dirent/dirent.h: Likewise.
38061 * dlfcn/dlfcn.h: Likewise.
38062 * elf/neededtest4.c: Likewise.
38063 * grp/grp.h: Likewise.
38064 * gshadow/gshadow.h: Likewise.
38065 * iconv/gconv.h: Likewise.
38066 * iconv/gconv_int.h: Likewise.
38067 * iconv/gconv_simple.c: Likewise.
38068 * iconv/iconv.h: Likewise.
38069 * iconv/loop.c: Likewise.
38070 * iconv/skeleton.c: Likewise.
38071 * include/aio.h: Likewise.
38072 * include/aliases.h: Likewise.
38073 * include/argz.h: Likewise.
38074 * include/arpa/inet.h: Likewise.
38075 * include/assert.h: Likewise.
38076 * include/dirent.h: Likewise.
38077 * include/dlfcn.h: Likewise.
38078 * include/execinfo.h: Likewise.
38079 * include/fcntl.h: Likewise.
38080 * include/fenv.h: Likewise.
38081 * include/glob.h: Likewise.
38082 * include/grp.h: Likewise.
38083 * include/libintl.h: Likewise.
38084 * include/mntent.h: Likewise.
38085 * include/netdb.h: Likewise.
38086 * include/pwd.h: Likewise.
38087 * include/rpc/netdb.h: Likewise.
38088 * include/sched.h: Likewise.
38089 * include/search.h: Likewise.
38090 * include/shadow.h: Likewise.
38091 * include/signal.h: Likewise.
38092 * include/stdio.h: Likewise.
38093 * include/stdlib.h: Likewise.
38094 * include/string.h: Likewise.
38095 * include/sys/socket.h: Likewise.
38096 * include/sys/stat.h: Likewise.
38097 * include/sys/statfs.h: Likewise.
38098 * include/sys/statvfs.h: Likewise.
38099 * include/sys/syslog.h: Likewise.
38100 * include/sys/time.h: Likewise.
38101 * include/sys/uio.h: Likewise.
38102 * include/time.h: Likewise.
38103 * include/unistd.h: Likewise.
38104 * include/utmp.h: Likewise.
38105 * include/wchar.h: Likewise.
38106 * include/wctype.h: Likewise.
38107 * inet/aliases.h: Likewise.
38108 * inet/arpa/inet.h: Likewise.
38109 * inet/netinet/ether.h: Likewise.
38110 * inet/netinet/in.h: Likewise.
38111 * intl/libintl.h: Likewise.
38112 * io/bits/fcntl2.h: Likewise.
38113 * io/fcntl.h: Likewise.
38114 * io/ftw.h: Likewise.
38115 * io/sys/poll.h: Likewise.
38116 * io/sys/stat.h: Likewise.
38117 * io/sys/statfs.h: Likewise.
38118 * io/sys/statvfs.h: Likewise.
38119 * io/utime.h: Likewise.
38120 * libio/bits/stdio.h: Likewise.
38121 * libio/bits/stdio2.h: Likewise.
38122 * libio/libio.h: Likewise.
38123 * libio/libioP.h: Likewise.
38124 * libio/stdio.h: Likewise.
38125 * locale/lc-ctype.c: Likewise.
38126 * locale/locale.h: Likewise.
38127 * login/utmp.h: Likewise.
38128 * malloc/arena.c: Likewise.
38129 * malloc/malloc.c: Likewise.
38130 * malloc/malloc.h: Likewise.
38131 * malloc/mcheck.c: Likewise.
38132 * malloc/mtrace.c: Likewise.
38133 * math/bits/mathcalls.h: Likewise.
38134 * math/fenv.h: Likewise.
38135 * math/math_private.h: Likewise.
38136 * misc/bits/error.h: Likewise.
38137 * misc/bits/syslog.h: Likewise.
38138 * misc/err.h: Likewise.
38139 * misc/error.h: Likewise.
38140 * misc/fstab.h: Likewise.
38141 * misc/mntent.h: Likewise.
38142 * misc/regexp.h: Likewise.
38143 * misc/search.h: Likewise.
38144 * misc/sgtty.h: Likewise.
38145 * misc/sys/mman.h: Likewise.
38146 * misc/sys/syslog.h: Likewise.
38147 * misc/sys/uio.h: Likewise.
38148 * misc/sys/xattr.h: Likewise.
38149 * misc/ttyent.h: Likewise.
38150 * nis/rpcsvc/ypclnt.h: Likewise.
38151 * nss/nss.h: Likewise.
38152 * posix/bits/unistd.h: Likewise.
38153 * posix/fnmatch.h: Likewise.
38154 * posix/glob.h: Likewise.
38155 * posix/sched.h: Likewise.
38156 * posix/spawn.h: Likewise.
38157 * posix/sys/wait.h: Likewise.
38158 * posix/unistd.h: Likewise.
38159 * posix/wordexp.h: Likewise.
38160 * pwd/pwd.h: Likewise.
38161 * resolv/netdb.h: Likewise.
38162 * resource/sys/resource.h: Likewise.
38163 * rt/aio.h: Likewise.
38164 * rt/bits/mqueue2.h: Likewise.
38165 * rt/mqueue.h: Likewise.
38166 * shadow/shadow.h: Likewise.
38167 * signal/signal.h: Likewise.
38168 * socket/send.c: Likewise.
38169 * socket/sendto.c: Likewise.
38170 * socket/sys/socket.h: Likewise.
38171 * stdio-common/printf.h: Likewise.
38172 * stdlib/bits/stdlib.h: Likewise.
38173 * stdlib/fmtmsg.h: Likewise.
38174 * stdlib/monetary.h: Likewise.
38175 * stdlib/stdlib.h: Likewise.
38176 * stdlib/ucontext.h: Likewise.
38177 * streams/stropts.h: Likewise.
38178 * string/argz.h: Likewise.
38179 * string/bits/string2.h: Likewise.
38180 * string/string.h: Likewise.
38181 * string/strings.h: Likewise.
38182 * sunrpc/rpc/auth.h: Likewise.
38183 * sunrpc/rpc/auth_des.h: Likewise.
38184 * sunrpc/rpc/clnt.h: Likewise.
38185 * sunrpc/rpc/netdb.h: Likewise.
38186 * sunrpc/rpc/pmap_clnt.h: Likewise.
38187 * sunrpc/rpc/xdr.h: Likewise.
38188 * sysdeps/generic/inttypes.h: Likewise.
38189 * sysdeps/generic/net/if.h: Likewise.
38190 * sysdeps/generic/sys/swap.h: Likewise.
38191 * sysdeps/gnu/net/if.h: Likewise.
38192 * sysdeps/gnu/utmpx.h: Likewise.
38193 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38194 * sysdeps/i386/i486/bits/string.h: Likewise.
38195 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38196 * sysdeps/s390/bits/string.h: Likewise.
38197 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38198 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38199 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38200 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38201 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38202 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38203 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38204 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38205 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38206 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38207 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38208 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38209 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38210 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38211 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38212 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38213 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38215 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38216 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38218 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38219 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38220 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38221 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38222 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38223 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38224 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38225 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38226 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38227 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38228 * sysvipc/sys/ipc.h: Likewise.
38229 * sysvipc/sys/msg.h: Likewise.
38230 * sysvipc/sys/sem.h: Likewise.
38231 * sysvipc/sys/shm.h: Likewise.
38232 * termios/termios.h: Likewise.
38233 * time/sys/time.h: Likewise.
38234 * time/time.h: Likewise.
38235 * wcsmbs/bits/wchar2.h: Likewise.
38236 * wcsmbs/uchar.h: Likewise.
38237 * wcsmbs/wchar.h: Likewise.
38238 * wctype/wctype.h: Likewise.
38241 * Makeconfig: Remove all but ELF support including AIX support.
38242 * Makerules: Likewise.
38243 * config.h.in: Likewise.
38244 * config.make.in: Likewise.
38245 * configure: Likewise.
38246 * configure.in: Likewise.
38247 * csu/Makefile: Likewise.
38248 * csu/version.c: Likewise.
38249 * debug/Makefile: Likewise.
38250 * dlfcn/Makefile: Likewise.
38251 * elf/Makefile: Likewise.
38252 * extra-lib.mk: Likewise.
38253 * iconv/Makefile: Likewise.
38254 * include/libc-symbols.h: Likewise.
38255 * include/shlib-compat.h: Likewise.
38256 * resolv/Makefile: Likewise.
38257 * resolv/res_libc.c: Likewise.
38258 * rt/Makefile: Likewise.
38259 * sysdeps/i386/asm-syntax.h: Likewise.
38260 * sysdeps/i386/sysdep.h: Likewise.
38261 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38262 * sysdeps/mach/sysdep.h: Likewise.
38263 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38264 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38265 * sysdeps/s390/asm-syntax.h: Likewise.
38266 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38267 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38268 * sysdeps/sh/sysdep.h: Likewise.
38269 * sysdeps/unix/sparc/sysdep.h: Likewise.
38270 * sysdeps/wordsize-32/divdi3.c: Likewise.
38271 * sysdeps/x86_64/sysdep.h: Likewise.
38273 * argp/Versions: Remove _argp_unlock_xxx.
38276 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38277 * abilist/libBrokenLocale.abilist: Likewise.
38278 * abilist/libanl.abilist: Likewise.
38279 * abilist/libc.abilist: Likewise.
38280 * abilist/libcrypt.abilist: Likewise.
38281 * abilist/libdl.abilist: Likewise.
38282 * abilist/libm.abilist: Likewise.
38283 * abilist/libnsl.abilist: Likewise.
38284 * abilist/libpthread.abilist: Likewise.
38285 * abilist/libresolv.abilist: Likewise.
38286 * abilist/librt.abilist: Likewise.
38287 * abilist/libthread_db.abilist: Likewise.
38288 * abilist/libutil.abilist: Likewise.
38289 * abilist/libnss_db.abilist: New file.
38291 * scripts/abilist.awk: Add support for indirect functions.
38293 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38295 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38297 * shlib-versions: Remove entries for ports architectures.
38299 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38301 * elf/stackguard-macros.h: Remove support for IA-64.
38302 * elf/tst-auditmod1.c: Likewise.
38303 * sysdeps/generic/ldsodefs.h: Likewise.
38305 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38306 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38310 * configure.in: Remove --enable-omitfp support.
38312 * config.make.in: Likewise.
38313 * Makeconfig: Likewise.
38314 * manual/install.texi: Likewise.
38316 In case anyone cares, the IA-64 architecture could move to ports.
38317 * sysdeps/ia64/*: Removed.
38318 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38319 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38322 * configure.in: Remove entries for unsupported architectures.
38325 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38326 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38328 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38329 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38330 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38331 fall back to using wcrtomb.
38332 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38333 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38335 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38336 * wcsmbs/tst-c16c32-1.c: New file.
38338 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38341 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38343 * elf/tst-unique3.cc: Add explicit declaration of gets.
38344 * elf/tst-unique3lib.cc: Likewise.
38345 * elf/tst-unique3lib2.cc: Likewise.
38346 * elf/tst-unique4.cc: Likewise.
38348 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38350 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38353 * assert/assert.h (static_assert): Don't define for C++.
38354 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38355 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38357 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38359 * iconv/loop.c (single loop): Fix assertion in storing of
38362 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38364 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38366 * posix/getconf.c: Update copyright year.
38367 * nss/getent.c: Likewise.
38368 * nss/makedb.c: Likewise.
38369 * iconv/iconvconfig.c: Likewise.
38370 * iconv/iconv_prog.c: Likewise.
38371 * elf/ldconfig.c: Likewise.
38372 * elf/pldd.c: Likewise.
38373 * elf/sotruss.ksh: Likewise.
38374 * catgets/gencat.c: Likewise.
38375 * csu/version.c: Likewise.
38376 * elf/ldd.bash.in: Likewise.
38377 * elf/sprof.c (print_version): Likewise.
38378 * locale/programs/locale.c: Likewise.
38379 * locale/programs/localedef.c: Likewise.
38380 * login/programs/pt_chown.c: Likewise.
38381 * nscd/nscd.c (print_version): Likewise.
38382 * debug/xtrace.sh: Likewise.
38383 * malloc/memusage.sh: Likewise.
38384 * malloc/mtrace.pl: Likewise.
38385 * debug/catchsegv.sh: Likewise.
38387 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38389 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38392 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38395 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38396 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38398 * iconv/gconv_int.h: Likewise.
38399 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38400 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38401 from libc for GLIBC_2.16.
38402 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38403 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38404 * wcsmbs/uchar.h: Really define mbstate_t.
38405 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38406 * wcsmbs/c16rtomb.c: New file.
38407 * wcsmbs/mbrtoc16.c: New file.
38408 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38409 for C/POSIX locale.
38410 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38411 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38413 * wcsmbs/wchar.h: Add missing __restrict.
38415 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38418 * time/Makefile (routines): Add timespec_get.
38419 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38420 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38421 timespec for ISO C11.
38422 * time/timespec_get.c: New file.
38423 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38424 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38427 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38428 * stdlib/stdlib.h: Declare aligned_alloc.
38429 * Versions.def: Add GLIBC_2.16 for libc.
38430 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38433 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38436 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38440 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38443 * assert/assert.h (static_assert): Define.
38445 * version.h: Update for 2.16 development version.
38448 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38451 * version.h (RELEASE): Bump for 2.15 release.
38452 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38454 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38455 Patch by Marek Polacek <mpolacek@redhat.com>.
38457 * bits/byteswap.h: Protect long long constants with __extension__.
38458 * sysdeps/i386/bits/byteswap.h: Likewise.
38459 * sysdeps/ia64/bits/byteswap.h: Likewise.
38460 * sysdeps/s390/bits/byteswap.h: Likewise.
38461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38463 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38467 destination buffer.
38468 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38470 2011-12-23 Marek Polacek <polacek@redhat.com>
38472 * elf/dl-addr.c (determine_info): Add inline keyword.
38473 * elf/tst-auditmod4b.c (check_avx): Likewise.
38474 * elf/tst-auditmod6b.c (check_avx): Likewise.
38475 * elf/tst-auditmod6c.c (check_avx): Likewise.
38476 * elf/tst-auditmod7b.c (check_avx): Likewise.
38478 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38480 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38483 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38486 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38487 processing for last bytes.
38489 2011-08-06 Bruno Haible <bruno@clisp.org>
38492 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38493 U+0385, not to U+1FEE.
38496 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38497 entry for U+00A5 U+0301.
38499 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38502 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38503 buffer for the output is too small.
38505 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38509 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38510 SSE flags if possible.
38512 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38516 processing for last bytes.
38518 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38520 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38521 (syscall-list-default-options, syscall-list-default-condition)
38522 (syscall-list-includes): Define.
38523 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38524 list of ABIs and options and #if conditions for each ABI. Do not
38525 handle common syscalls between ABIs specially.
38526 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38528 (syscall-list-variants, syscall-list-32bit-options)
38529 (syscall-list-32bit-condition, syscall-list-64bit-options)
38530 (syscall-list-64bit-condition): Define.
38531 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38532 (syscall-list-variants, syscall-list-32bit-options)
38533 (syscall-list-32bit-condition, syscall-list-64bit-options)
38534 (syscall-list-64bit-condition): Define.
38535 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38537 (syscall-list-variants, syscall-list-32bit-options)
38538 (syscall-list-32bit-condition, syscall-list-64bit-options)
38539 (syscall-list-64bit-condition): Define.
38540 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38542 (syscall-list-variants, syscall-list-32bit-options)
38543 (syscall-list-32bit-condition, syscall-list-64bit-options)
38544 (syscall-list-64bit-condition): Define.
38546 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38548 * locale/iso-639.def: Add brx entry.
38551 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38552 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38554 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38555 __feraiseexcept_renamed.
38557 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38560 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38561 EPOLLET with unsigned values.
38562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38565 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38566 to large cancellation.
38567 * math/s_cacoshf.c: Likewise.
38568 * math/s_cacoshl.c: Likewise.
38570 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38574 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38575 * math/s_cacoshf.c: Likewise.
38576 * math/s_cacoshl.c: Likewise.
38578 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38581 * iconv/gconv.h: Define __GCONV_SWAP.
38582 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38583 * iconvdata/utf-16.c: Likewise.
38584 * iconvdata/utf-32.c: Likewise.
38586 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38589 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38590 numerator after shifting it by one limb.
38592 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38594 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38595 under [__USE_EXTERN_INLINES].
38597 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38600 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38602 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38604 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38605 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38607 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38608 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38609 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38610 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38611 for strncasecmp/strncasecmp_l compilation.
38612 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38613 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38615 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38618 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38621 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38624 * time/tzfile.c (__tzfile_read): Check values from file header.
38626 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38628 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38629 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38630 * powerpc/powerpc32/dl-start.S: Likewise.
38631 * powerpc/powerpc32/elf/start.S: Likewise.
38632 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38633 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38634 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38635 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38636 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38637 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38638 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38639 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38640 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38641 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38642 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38643 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38644 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38645 * powerpc/powerpc32/memset.S: Likewise.
38646 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38647 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38648 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38649 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38650 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38651 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38652 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38653 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38654 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38655 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38656 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38657 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38658 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38660 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38662 * math/libm-test.inc: Added more nearbyint tests.
38663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38668 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38670 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38673 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38675 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38676 Add wcscpy-ssse3 wcscpy-c.
38677 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38678 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38679 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38680 * sysdeps/x86_64/wcschr.S: New file.
38681 * sysdeps/x86_64/wcsrchr.S: New file.
38682 * string/test-strcmp.c: Remove checking of wcscmp function for
38684 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38685 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38686 wcsrchr-sse2 wcsrchr-c.
38687 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38688 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38689 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38690 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38691 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38692 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38693 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38694 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38695 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38696 * wcsmbc/wcschr.c (WCSCHR): New macro.
38698 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38700 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38701 * wcsmbs/test-wcsrchr.c: New file.
38702 * string/test-strrchr.c: Add wcsrchr support.
38704 * wcsmbs/test-wcscpy.c: New file.
38705 * string/test-strcpy.c: Add wcscpy support.
38708 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38710 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38713 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38716 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38718 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38721 Minor optimizations.
38723 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38724 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38725 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38727 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38729 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38730 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38731 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38732 for gcc to avoid warnings.
38733 * inet/Makefile (tests): Add tst-checks.
38734 * inet/tst-checks.c: New file.
38736 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38739 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38742 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38743 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38745 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38747 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38749 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38752 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38754 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38756 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38757 conditional on GCC version.
38758 (__arch_compare_and_exchange_val_8_acq)
38759 (__arch_compare_and_exchange_val_16_acq)
38760 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38761 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38762 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38764 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38766 * sysdeps/sh/backtrace.c: New file.
38768 2011-12-02 Andreas Schwab <schwab@redhat.com>
38770 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38773 2011-12-01 Andreas Schwab <schwab@redhat.com>
38775 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38776 falling back to utime.
38778 2011-11-30 Andreas Schwab <schwab@redhat.com>
38780 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38781 expectations for float.
38783 2011-11-29 Andreas Schwab <schwab@redhat.com>
38785 * locale/weight.h (findidx): Add parameter len.
38786 * locale/weightwc.h (findidx): Likewise.
38787 * posix/fnmatch_loop.c (FCT): Adjust caller.
38788 * posix/regcomp.c (build_equiv_class): Likewise.
38789 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38790 * posix/regexec.c (check_node_accept_bytes): Likewise.
38791 * string/strcoll_l.c (STRCOLL): Likewise.
38792 * string/strxfrm_l.c (STRXFRM): Likewise.
38794 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38796 * Makefile.in: Remove CVSOPT handling.
38797 * configure.in: Remove use of AC_REVISION.
38798 * iconvdata/Makefile (distribute): No need to filter out CVS.
38799 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38802 2011-11-16 Andreas Schwab <schwab@redhat.com>
38804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38805 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38806 [USE_AS_STRNCASECMP_L]: Likewise.
38807 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38808 NO_TLS_DIRECT_SEG_REFS.
38809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38810 Fix argument offsets for non-PIC.
38811 [USE_AS_STRNCASECMP_L]: Likewise.
38812 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38813 NO_TLS_DIRECT_SEG_REFS.
38815 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38817 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38819 * locale/loadlocale.c (_nl_load_locale): Likewise.
38821 2011-11-15 Andreas Schwab <schwab@redhat.com>
38823 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38824 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38825 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38826 (SYSCALL_GETTIME): Set errno on error.
38828 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38829 count references to noai6ai_cached.
38831 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38833 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38835 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38836 FD_CLOEXEC for /proc/self/maps.
38838 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38839 FD_CLOEXEC for /proc/meminfo.
38841 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38844 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38845 FD_CLOEXEC for given file.
38847 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38849 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38850 FD_CLOEXEC for /etc/hosts.
38851 (_gethtent): Likewise.
38853 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38855 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38856 cancellation and set FD_CLOEXEC for /etc/netgroup.
38858 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38859 reading /etc/publickey.
38861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38862 allow cancellation when reading /etc/group.
38864 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38866 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38868 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38869 when using data file.
38871 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38873 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38874 (write_nis_obj): Use "c" and "e" in fopen.
38876 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38878 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38880 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38882 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38884 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38887 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38889 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38891 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38893 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38894 file parsing and set FD_CLOEXEC.
38896 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38898 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38900 2011-11-14 Andreas Schwab <schwab@redhat.com>
38902 * malloc/arena.c (arena_get2): Don't call reused_arena when
38903 _int_new_arena failed.
38905 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38907 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38908 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38909 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38910 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38912 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38913 to compile strcasecmp and strncasecmp.
38914 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38915 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38919 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38921 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38922 locale-defines.sym to gen-as-const-headers.
38923 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38924 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38926 to compile strcasecmp and strncasecmp.
38927 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38928 strcasecmp_l and strncasecmp_l.
38929 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38930 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38931 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38932 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38933 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38934 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38935 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38936 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38937 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38938 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38939 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38941 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38943 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38944 result of SYSDEP_GETTIME_CPU to retval.
38945 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38946 parameter list to macro. Remove trailing semicolon. Adjust users.
38948 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38951 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38955 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38956 from unused variable.
38958 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38960 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38963 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38966 * sunrpc/rpc_prot.c (rejected): Fix case value.
38968 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38969 unsigned long long int to avoid warnings in shift.
38971 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38973 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38976 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38977 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38978 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38980 * nis/nis_table.c (nis_list): Use variable of correct type for
38981 result of __follow_path call.
38983 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38985 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38986 of math functions ceil, trunc, floor, round, and sqrt, when
38987 avaliable on the platform.
38988 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38990 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38991 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38992 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38994 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38996 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38999 2011-11-11 Roland McGrath <roland@hack.frob.com>
39001 * include/unistd.h: Fix __readlink return type.
39002 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39004 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39006 * stdlib/ucontext.h: Undo last change for makecontext.
39008 2011-11-11 Andreas Schwab <schwab@redhat.com>
39010 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39012 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39013 * setjmp/setjmp.h: Mark functions as non-leaf.
39014 * setjmp/bits/setjmp2.h: Likewise.
39015 * stdlib/ucontext.h: Likewise.
39017 2011-11-10 Andreas Schwab <schwab@redhat.com>
39019 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39020 (reused_arena): Don't check arena limit.
39021 (arena_get2): Atomically check arena limit.
39023 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39025 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39026 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39031 2011-11-07 Andreas Schwab <schwab@redhat.com>
39033 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39034 handler when locking.
39036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39037 Fix size of allocated buffer.
39039 2011-11-04 Andreas Schwab <schwab@redhat.com>
39042 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39043 declarations for long double functions.
39044 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39046 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39048 2011-11-03 Andreas Schwab <schwab@redhat.com>
39050 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39053 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39056 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39058 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39060 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39062 * include/alloca.h (stackinfo_alloca_round): Define.
39063 (extend_alloca): Use it.
39064 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39065 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39068 * scripts/check-local-headers.sh: Ignore libaudit.h.
39070 * nscd/Makefile (extra-objs): Make recursively expanded.
39072 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39074 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39075 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39077 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39078 * posix/tst-rfc3484-2.c: Likewise.
39079 * posix/tst-rfc3484-3.c: Likewise.
39081 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39083 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39085 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39086 process_vm_writev from libc using GLIBC_2.15 version.
39088 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39090 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39092 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39095 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39098 * nss/getent.c (initgroups_keys): Show error message in case no group
39101 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39102 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39103 __bump_nl_timestamp.
39104 * nscd/connections (nscd_init): When host database is served open
39105 netlink socket and request notification about configuration changes.
39106 (main_loop_poll): Track netlink file descriptor and bump timestamp
39107 in case data becomes available.
39108 (main_loop_epoll): Likewise.
39109 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39110 (database_pers_head): Add extra_data fileds.
39111 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39112 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39113 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39116 in6ai data, call __free_in6ai.
39117 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39118 Add -DHAVE_NETLINK.
39119 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39120 interface information. Reuse previous data if netlink timestamp
39122 (__bump_nl_timestamp): New function.
39123 (__free_in6ai): New function.
39125 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39127 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39128 close_not_cancel_no_status here.
39129 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39131 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39134 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39137 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39138 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39139 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39141 2011-07-03 Andreas Jaeger <aj@suse.de>
39144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39145 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39146 * math/libm-test.inc (sin_test): Add test case.
39148 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39151 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39152 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39154 * elf/chroot_canon.c (chroot_canon): Cleanups.
39156 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39159 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39160 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39162 * string/test-strchr.c: Make usable for strchrnul testing.
39163 * string/test-strchrnul.c: New file.
39164 * string/Makefile (strop-tests): Add strchrnul.
39166 * po/it.po: Update from translation team.
39167 * po/es.po: Likewise.
39169 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39171 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39172 the three constants needed as parameters. Drop the others.
39173 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39174 __m128i_strloadu_tolower.
39175 Create and initialize variable zero and use it in all the places
39176 where _mm_setzero_si128 was used.
39178 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39179 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39180 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39181 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39183 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39184 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39185 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39186 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39187 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39188 __mpranred, __mptan.
39189 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39190 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39191 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39192 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39193 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39194 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39195 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39196 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39197 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39199 2011-10-28 Andreas Schwab <schwab@redhat.com>
39201 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39202 redefine if SHARED.
39203 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39206 wide char related routines to wcsmbs subdir.
39208 2011-10-27 Andreas Schwab <schwab@redhat.com>
39211 * misc/sys/cdefs.h (__THROWNL): Define.
39212 * posix/unistd.h: Use __THREADNL instead of __THREAD
39213 for memory synchronization functions.
39215 2011-10-26 Roland McGrath <roland@hack.frob.com>
39218 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39220 * manual/stdio.texi (Obstack Streams): Node removed.
39222 2011-10-26 Andreas Schwab <schwab@redhat.com>
39224 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39225 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39226 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39228 * math/math_private.h (math_force_eval): Allow non-addressable
39230 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39232 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39234 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39235 file is not needed.
39237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39239 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39240 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39244 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39246 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39247 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39248 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39249 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39250 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39251 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39252 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39253 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39254 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39255 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39256 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39257 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39258 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39259 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39260 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39261 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39262 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39263 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39264 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39266 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39267 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39270 place. Use VEX encoding when compiling for AVX.
39272 2011-10-25 Andreas Schwab <schwab@redhat.com>
39274 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39275 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39277 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39279 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39281 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39282 useless if() expression.
39283 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39292 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39299 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39301 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39303 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39305 2011-10-25 Andreas Schwab <schwab@redhat.com>
39307 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39309 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39311 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39313 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39314 .text section. Avoid duplicate constants.
39315 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39319 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39325 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39327 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39330 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39331 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39332 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39333 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39334 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39336 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39337 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39338 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39339 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39340 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39341 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39342 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39343 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39344 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39345 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39346 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39348 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39349 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39350 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39351 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39353 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39354 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39355 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39357 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39358 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39359 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39361 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39363 * sysdeps/x86_64/dla.h: Move to ...
39364 * sysdeps/x86_64/fpu/dla.h: ...here.
39365 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39366 situations. Use __builtin_fma only for gcc 4.6 and up.
39368 * config.make.in: Add have-mfma4 entry.
39369 * configure.in: Substitute libc_cv_cc_fma4.
39370 * math/Makefile (dbl-only-routines): Add sincostab.
39371 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39372 Use __sincostab not sincos.
39373 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39380 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39381 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39382 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39383 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39385 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39386 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39388 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39389 define aliases when function name is a macro.
39390 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39391 sysdeps/ieee754/dbl-64/sincos.tbl.
39392 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39393 fma4-enabled routines.
39394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39398 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39399 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39400 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39403 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39404 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39406 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39407 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39409 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39410 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39411 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39412 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39414 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39415 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39416 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39418 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39419 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39421 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39422 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39423 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39425 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39427 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39436 2011-10-24 Andreas Schwab <schwab@redhat.com>
39438 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39440 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39444 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39448 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39449 Remove unused variable magic_bits.
39450 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39452 * string/strnlen.c: Define and use STRNLEN macro.
39453 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39454 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39456 * wcsmbs/wcslen.c: Define and use WCSLEN.
39457 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39458 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39459 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39460 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39461 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39462 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39463 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39465 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39468 strnlen-sse2-no-bsf.
39469 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39471 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39472 Add strnlen support.
39473 (USE_AS_STRNLEN): New macro.
39474 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39475 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39476 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39477 * sysdeps/x86_64/wcslen.S: New file.
39479 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39482 XMM-moves are used for copying on small sizes.
39484 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39486 * wcsmbs/Makefile (strop-tests): Add wcschr.
39487 * wcsmbs/test-wcschr.c: New file.
39488 * string/test-strchr.c: Update.
39489 Add wcschr support.
39492 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39494 * wcsmbs/Makefile (strop-tests): Add wcslen.
39495 * wcsmbs/test-wcslen.c: New file.
39496 * string/test-strlen.c: Update.
39497 Add wcslen support.
39500 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39502 * po/it.po: Update from translation team.
39504 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39506 * sysdeps/x86_64/wcscmp.S: Update.
39507 Fix wrong comparison semantics.
39508 wcscmp shall use signed comparison not unsigned.
39509 Don't use substraction to avoid overflow bug.
39510 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39511 * wcsmbc/wcscmp.c: Likewise.
39512 * string/test-strcmp.c: Likewise.
39513 Add new tests to check cases with negative values.
39515 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39517 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39518 * sysdeps/x86_64/dla.h: ...here. New file.
39519 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39529 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39532 __ynl_finite aliases.
39534 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39538 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39540 [DLA_FMA] (EMULV): Use DLA_FMA.
39541 [DLA_FMA] (MUL12): Use EMULV.
39542 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39543 that are not needed.
39544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39552 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39554 * math/s_nan.c: Undef __nan.
39555 * math/s_nanf.c: Undef __nanf.
39556 * math/s_nanl.c: Undef __nanl.
39557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39560 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39562 * math/s_catan.c: Add branch predictions.
39563 * math/s_catanf.c: Likewise.
39564 * math/s_catanh.c: Likewise.
39565 * math/s_catanhf.c: Likewise.
39566 * math/s_catanhl.c: Likewise.
39567 * math/s_catanl.c: Likewise.
39568 * math/s_cexp.c: Likewise.
39569 * math/s_cexpf.c: Likewise.
39570 * math/s_cexpl.c: Likewise.
39571 * math/s_clog.c: Likewise.
39572 * math/s_clog10.c: Likewise.
39573 * math/s_clog10f.c: Likewise.
39574 * math/s_clog10l.c: Likewise.
39575 * math/s_clogf.c: Likewise.
39576 * math/s_clogl.c: Likewise.
39577 * math/s_csqrt.c: Likewise.
39578 * math/s_csqrtf.c: Likewise.
39579 * math/s_csqrtl.c: Likewise.
39580 * math/s_ctanf.c: Likewise.
39581 * math/s_ctanh.c: Likewise.
39582 * math/s_ctanhf.c: Likewise.
39583 * math/s_ctanhl.c: Likewise.
39584 * math/s_ctanl.c: Likewise.
39586 * math/math_private.h: Define __nan, __nanf, __nanl.
39587 * math/s_cacosh.c: Include <math_private.h>.
39588 * math/s_cacoshl.c: Likewise.
39589 * math/s_casinh.c: Likewise.
39590 * math/s_casinhf.c: Likewise.
39591 * math/s_casinhl.c: Likewise.
39592 * math/s_ccos.c: Rely entire on ccosh.
39593 * math/s_ccosf.c: Rely entire on ccoshf.
39594 * math/s_ccosl.c: Rely entirely on ccoshl.
39595 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39596 Remove tests for FE_INVALID.
39597 * math/s_ccoshf.c: Likewise.
39598 * math/s_ccoshl.c: Likewise.
39599 * math/s_csin.c: Likewise.
39600 * math/s_csinf.c: Likewise.
39601 * math/s_csinh.c Likewise.
39602 * math/s_csinhf.c: Likewise.
39603 * math/s_csinhl.c: Likewise.
39604 * math/s_csinl.c: Likewise.
39605 * math/s_ctan.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39607 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39608 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39610 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39613 compilation problems.
39615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39618 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39620 * sysdeps/i386/configure.in: Test for -mfma4 option.
39621 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39622 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39623 COMMON_CPUID_INDEX_80000001.
39624 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39625 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39626 use it if FMA3 is not supported.
39627 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39629 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39630 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39632 2011-10-20 Andreas Schwab <schwab@redhat.com>
39635 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39636 it would create a cycle with a link time dependency.
39638 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39640 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39642 * string/Makefile (strop-tests): Add rawmemchr.
39643 * string/test-rawmemchr.c: New file.
39645 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39647 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39648 when compiling str{,n}casecmp and when AVX is available. Hook up
39649 new optimized code in initializers.
39651 2011-10-19 Andreas Schwab <schwab@redhat.com>
39653 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39654 __feraiseexcept instead of feraiseexcept.
39656 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39658 * math/math_private.h: Define defaults for libc_fetestexcept and
39660 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39661 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39662 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39663 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39664 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39665 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39666 libc_fetestexcept and libc_feupdateenv.
39668 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39669 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39670 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39671 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39672 libc_feholdexcept_setround.
39674 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39675 Add s_nearbyint-c and s_nearbyintf-c.
39676 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39677 nearbyintf inlines.
39678 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39679 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39680 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39681 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39683 * math/math_private.h: Define defaults for libc_fegetround,
39684 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39685 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39686 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39687 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39688 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39689 standard functions.
39690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39691 Remove comments and hacks for old compiler versions.
39692 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39693 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39694 libc_feholdexceptl.
39696 2011-10-18 Andreas Schwab <schwab@redhat.com>
39698 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39699 (__feraiseexcept_renamed): Add __NTH.
39700 (feraiseexcept): Add __NTH. Rename local variables to fix
39701 namespace violations.
39703 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39705 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39707 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39709 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39710 recently added interfaces.
39711 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39713 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39714 about macro parameter expansion.
39716 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39717 __NO_MATH_INLINES is defined. Cleanups.
39719 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39720 and __floorf is target has SSE4.1.
39721 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39722 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39723 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39724 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39726 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39728 (floorf): Likewise.
39730 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39732 2011-10-17 Andreas Schwab <schwab@redhat.com>
39734 * misc/sys/cdefs.h: Fix last change.
39736 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39739 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39741 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39743 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39749 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39750 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39751 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39752 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39753 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39754 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39755 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39756 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39757 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39758 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39759 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39760 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39761 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39762 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39763 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39764 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39766 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39767 ceil, ceilf, floor, floorf.
39769 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39770 Perform IRELATIVE relocations last.
39772 * elf/do-rel.h: Add another parameter nrelative, replacing the
39773 local variable with the same name. Change name of the function
39774 to end in Rel or Rela (uppercase).
39775 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39776 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39777 elf_dynamic_do_##reloc function.
39779 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39781 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39782 is sufficient, at least on modern CPUs.
39784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39786 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39787 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39789 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39791 * math/bits/math-finite.h: Add entries for exp.
39792 * math/e_expl.c: Add __*_finite alias.
39793 * sysdeps/i386/fpu/e_exp.S: Likewise.
39794 * sysdeps/i386/fpu/e_expf.S: Likewise.
39795 * sysdeps/i386/fpu/e_expl.c: Likewise.
39796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39797 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39800 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39801 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39802 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39804 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39805 is sufficient, at least on modern CPUs.
39807 * ctype/ctype-info.c (__ctype_init): Define.
39808 * include/ctype.h (__ctype_init): Declare.
39809 (__ctype_b_loc): The variable is always initialized.
39810 (__ctype_toupper_loc): Likewise.
39811 (__ctype_tolower_loc): Likewise.
39812 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39813 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39815 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39817 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39819 * configure.in: Also look in $cxxmachine/include for C++ system
39822 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39824 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39825 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39826 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39827 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39829 (USE_AS_WMEMCMP): New macro.
39831 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39832 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39833 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39834 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39836 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39837 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39838 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39839 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39840 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39841 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39842 (USE_AS_WMEMCMP): New macro.
39843 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39844 * sysdeps/string/test-memcmp.c: Update.
39845 Fix simple_wmemcmp.
39847 * wcsmbs/wmemcmp.c: Update.
39848 (WMEMCMP): New macro.
39851 2011-10-12 Andreas Jaeger <aj@suse.de>
39854 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39856 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39858 * libio/iofwide.c (do_length): Avoid warning.
39860 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39862 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39864 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39866 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39867 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39868 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39869 * sysdeps/i386/i686/fpu/e_log.S: New file.
39870 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39871 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39873 * ctype/ctype.h: Add support for inlined isXXX functions when
39874 compiling C++ code.
39876 2011-10-14 Andreas Schwab <schwab@redhat.com>
39878 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39880 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39882 2011-10-13 Roland McGrath <roland@hack.frob.com>
39885 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39887 2011-10-13 Andreas Schwab <schwab@redhat.com>
39889 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39890 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39893 * sysdeps/x86_64/memrchr.S: Check for zero size.
39895 * string/stratcliff.c: Add memrchr tests.
39897 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39900 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39901 rawmemchr-sse2 rawmemchr-sse2-bsf.
39902 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39903 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39904 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39905 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39906 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39907 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39908 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39909 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39910 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39911 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39912 * string/memrchr.c (MEMRCHR): New macro.
39914 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39916 Add integration with gcc's -ffinite-math-only and optimize wrapper
39918 * Versions.def: Define GLIBC_2.15 version for libm.
39919 * math/Makefile (headers): Add bits/math-finite.h.
39920 * math/bits/math-finite.h: New file.
39921 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39922 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39923 * math/e_acoshl.c: Add __*_finite alias.
39924 * math/e_acosl.c: Likewise.
39925 * math/e_asinl.c: Likewise.
39926 * math/e_atan2l.c: Likewise.
39927 * math/e_atanhl.c: Likewise.
39928 * math/e_coshl.c: Likewise.
39929 * math/e_exp10.c: Likewise.
39930 * math/e_exp10f.c: Likewise.
39931 * math/e_exp10l.c: Likewise.
39932 * math/e_exp2l.c: Likewise.
39933 * math/e_fmodl.c: Likewise.
39934 * math/e_gammal_r.c: Likewise.
39935 * math/e_hypotl.c: Likewise.
39936 * math/e_j0l.c: Likewise.
39937 * math/e_j1l.c: Likewise.
39938 * math/e_jnl.c: Likewise.
39939 * math/e_lgammal_r.c: Likewise.
39940 * math/e_log10l.c: Likewise.
39941 * math/e_log2l.c: Likewise.
39942 * math/e_logl.c: Likewise.
39943 * math/e_powl.c: Likewise.
39944 * math/e_sinhl.c: Likewise.
39945 * math/e_sqrtl.c: Likewise.
39946 * math/e_scalb.c: Completely rewritten and optimized.
39947 * math/e_scalbf.c: Likewise.
39948 * math/e_scalbl.c: Likewise.
39949 * math/w_acos.c: Likewise.
39950 * math/w_acosf.c: Likewise.
39951 * math/w_acosl.c: Likewise.
39952 * math/w_acosh.c: Likewise.
39953 * math/w_acoshf.c: Likewise.
39954 * math/w_acoshl.c: Likewise.
39955 * math/w_asin.c: Likewise.
39956 * math/w_asinf.c: Likewise.
39957 * math/w_asinl.c: Likewise.
39958 * math/w_atan2.c: Likewise.
39959 * math/w_atan2f.c: Likewise.
39960 * math/w_atan2l.c: Likewise.
39961 * math/w_atanh.c: Likewise.
39962 * math/w_atanhf.c: Likewise.
39963 * math/w_atanhl.c: Likewise.
39964 * math/w_exp10.c: Likewise.
39965 * math/w_exp10f.c: Likewise.
39966 * math/w_exp10l.c: Likewise.
39967 * math/w_fmod.c: Likewise.
39968 * math/w_fmodf.c: Likewise.
39969 * math/w_fmodl.c: Likewise.
39970 * math/w_j0.c: Likewise.
39971 * math/w_j0f.c: Likewise.
39972 * math/w_j0l.c: Likewise.
39973 * math/w_j1.c: Likewise.
39974 * math/w_j1f.c: Likewise.
39975 * math/w_j1l.c: Likewise.
39976 * math/w_jn.c: Likewise.
39977 * math/w_jnf.c: Likewise.
39978 * math/w_log.c: Likewise.
39979 * math/w_logf.c: Likewise.
39980 * math/w_logl.c: Likewise.
39981 * math/w_log10.c: Likewise.
39982 * math/w_log10f.c: Likewise.
39983 * math/w_log10l.c: Likewise.
39984 * math/w_log2.c: Likewise.
39985 * math/w_log2f.c: Likewise.
39986 * math/w_log2l.c: Likewise.
39987 * math/w_pow.c: Likewise.
39988 * math/w_powf.c: Likewise.
39989 * math/w_powl.c: Likewise.
39990 * math/w_remainder.c: Likewise.
39991 * math/w_remainderf.c: Likewise.
39992 * math/w_remainderl.c: Likewise.
39993 * math/w_scalb.c: Likewise.
39994 * math/w_scalbf.c: Likewise.
39995 * math/w_scalbl.c: Likewise.
39996 * math/w_sqrt.c: Likewise.
39997 * math/w_sqrtf.c: Likewise.
39998 * math/w_sqrtl.c: Likewise.
39999 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40000 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40002 * math/math_private.h: Declare __kernel_standard_f.
40003 * math/w_cosh.c: Remove cruft and optimize a bit.
40004 * math/w_coshf.c: Likewise.
40005 * math/w_coshl.c: Likewise.
40006 * math/w_exp2.c: Likewise.
40007 * math/w_exp2f.c: Likewise.
40008 * math/w_exp2l.c: Likewise.
40009 * math/w_hypot.c: Likewise.
40010 * math/w_hypotf.c: Likewise.
40011 * math/w_hypotl.c: Likewise.
40012 * math/w_lgamma.c: Likewise.
40013 * math/w_lgamma_r.c: Likewise.
40014 * math/w_lgammaf.c: Likewise.
40015 * math/w_lgammaf_r.c: Likewise.
40016 * math/w_lgammal.c: Likewise.
40017 * math/w_lgammal_r.c: Likewise.
40018 * math/w_sinh.c: Likewise.
40019 * math/w_sinhf.c: Likewise.
40020 * math/w_sinhl.c: Likewise.
40021 * math/w_tgamma.c: Likewise.
40022 * math/w_tgammaf.c: Likewise.
40023 * math/w_tgammal.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40025 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40026 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40027 Minor optimizations. Pretty printing. Remove cruft.
40028 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40029 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40030 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40031 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40032 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40033 * sysdeps/i386/fpu/e_asin.S: Likewise.
40034 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40035 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40036 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40037 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40038 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40039 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40040 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40041 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40042 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40043 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40044 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40045 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40046 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40047 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40048 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40049 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40050 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40051 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40052 * sysdeps/i386/fpu/e_log.S: Likewise.
40053 * sysdeps/i386/fpu/e_log10.S: Likewise.
40054 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40055 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40056 * sysdeps/i386/fpu/e_log2.S: Likewise.
40057 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40058 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40059 * sysdeps/i386/fpu/e_logf.S: Likewise.
40060 * sysdeps/i386/fpu/e_logl.S: Likewise.
40061 * sysdeps/i386/fpu/e_pow.S: Likewise.
40062 * sysdeps/i386/fpu/e_powf.S: Likewise.
40063 * sysdeps/i386/fpu/e_powl.S: Likewise.
40064 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40065 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40066 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40067 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40069 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40070 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40071 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40072 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40094 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40095 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40096 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40098 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40099 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40100 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40102 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40104 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40107 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40108 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40109 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40111 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40113 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40158 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40159 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40161 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40164 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40165 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40166 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40167 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40168 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40169 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40170 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40171 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40172 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40173 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40174 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40175 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40176 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40177 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40178 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40179 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40180 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40181 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40182 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40183 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40184 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40185 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40186 (__isnanf): Likewise.
40187 (__isinf_ns): Likewise.
40188 (__isinf_nsf): Likewise.
40189 (__finite): Likewise.
40190 (__finitef): Likewise.
40191 (__ieee754_sqrt): Define as macro.
40192 (__ieee754_sqrtf): Define as macro.
40193 (__ieee754_sqrtl): Define as macro.
40194 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40196 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40197 __FINITE_MATH_ONLY__ consistent.
40198 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40200 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40202 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40205 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40207 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40209 * po/ja.po: Update from translation team.
40211 2011-10-08 Roland McGrath <roland@hack.frob.com>
40213 * locale/programs/locarchive.c (prepare_address_space): New function.
40214 (create_archive, enlarge_archive, open_archive): Use it.
40216 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40217 inside [SHARED], where it is used.
40219 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40221 * nss/getent.c (netgroup_keys): Remove unused variable.
40222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40224 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40226 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40227 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40230 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40231 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40232 * math/Makefile (libm-calls): Add s_isinf_ns.
40233 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40234 * math/multc3.c: Likewise.
40235 * math/s_casin.c: Likewise.
40236 * math/s_casinf.c: Likewise.
40237 * math/s_casinl.c: Likewise.
40238 * math/s_ccos.c: Likewise.
40239 * math/s_ccosf.c: Likewise.
40240 * math/s_ccosl.c: Likewise.
40241 * math/s_ctan.c: Likewise.
40242 * math/s_ctanf.c: Likewise.
40243 * math/s_ctanh.c: Likewise.
40244 * math/s_ctanhf.c: Likewise.
40245 * math/s_ctanhl.c: Likewise.
40246 * math/s_ctanl.c: Likewise.
40247 * math/w_fmod.c: Likewise.
40248 * math/w_fmodf.c: Likewise.
40249 * math/w_fmodl.c: Likewise.
40250 * math/w_remainder.c: Likewise.
40251 * math/w_remainderf.c: Likewise.
40252 * math/w_remainderl.c: Likewise.
40253 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40254 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40255 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40257 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40258 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40259 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40260 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40262 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40264 * stdio-common/printf_fphex.c: Likewise.
40265 * stdio-common/printf_size.c: Likewise.
40267 * math/e_exp10.c: Include math_private.h using <...> not "...".
40268 * math/e_exp10f.c: Likewise.
40269 * math/e_exp10l.c: Likewise.
40270 * math/e_exp2l.c: Likewise.
40271 * math/e_j0l.c: Likewise.
40272 * math/e_j1l.c: Likewise.
40273 * math/e_jnl.c: Likewise.
40274 * math/e_lgammal_r.c: Likewise.
40275 * math/e_rem_pio2l.c: Likewise.
40276 * math/e_scalb.c: Likewise.
40277 * math/e_scalbf.c: Likewise.
40278 * math/e_scalbl.c: Likewise.
40279 * math/k_cosl.c: Likewise.
40280 * math/k_sinl.c: Likewise.
40281 * math/k_tanl.c: Likewise.
40282 * math/s_cacoshf.c: Likewise.
40283 * math/s_catan.c: Likewise.
40284 * math/s_catanf.c: Likewise.
40285 * math/s_catanh.c: Likewise.
40286 * math/s_catanhf.c: Likewise.
40287 * math/s_catanhl.c: Likewise.
40288 * math/s_catanl.c: Likewise.
40289 * math/s_ccosh.c: Likewise.
40290 * math/s_ccoshf.c: Likewise.
40291 * math/s_ccoshl.c: Likewise.
40292 * math/s_cexp.c: Likewise.
40293 * math/s_cexpf.c: Likewise.
40294 * math/s_cexpl.c: Likewise.
40295 * math/s_clog.c: Likewise.
40296 * math/s_clog10.c: Likewise.
40297 * math/s_clog10f.c: Likewise.
40298 * math/s_clog10l.c: Likewise.
40299 * math/s_clogf.c: Likewise.
40300 * math/s_clogl.c: Likewise.
40301 * math/s_csin.c: Likewise.
40302 * math/s_csinf.c: Likewise.
40303 * math/s_csinh.c: Likewise.
40304 * math/s_csinhf.c: Likewise.
40305 * math/s_csinhl.c: Likewise.
40306 * math/s_csinl.c: Likewise.
40307 * math/s_csqrt.c: Likewise.
40308 * math/s_csqrtf.c: Likewise.
40309 * math/s_csqrtl.c: Likewise.
40310 * math/s_ctan.c: Likewise.
40311 * math/s_ctanf.c: Likewise.
40312 * math/s_ctanh.c: Likewise.
40313 * math/s_ctanhf.c: Likewise.
40314 * math/s_ctanhl.c: Likewise.
40315 * math/s_ctanl.c: Likewise.
40316 * math/s_ldexp.c: Likewise.
40317 * math/s_ldexpf.c: Likewise.
40318 * math/s_ldexpl.c: Likewise.
40319 * math/s_significand.c: Likewise.
40320 * math/s_significandf.c: Likewise.
40321 * math/s_significandl.c: Likewise.
40322 * math/w_acos.c: Likewise.
40323 * math/w_acosf.c: Likewise.
40324 * math/w_acosh.c: Likewise.
40325 * math/w_acoshf.c: Likewise.
40326 * math/w_acoshl.c: Likewise.
40327 * math/w_acosl.c: Likewise.
40328 * math/w_asin.c: Likewise.
40329 * math/w_asinf.c: Likewise.
40330 * math/w_asinl.c: Likewise.
40331 * math/w_atan2.c: Likewise.
40332 * math/w_atan2f.c: Likewise.
40333 * math/w_atan2l.c: Likewise.
40334 * math/w_atanh.c: Likewise.
40335 * math/w_atanhf.c: Likewise.
40336 * math/w_atanhl.c: Likewise.
40337 * math/w_cosh.c: Likewise.
40338 * math/w_coshf.c: Likewise.
40339 * math/w_coshl.c: Likewise.
40340 * math/w_dremf.c: Likewise.
40341 * math/w_exp10.c: Likewise.
40342 * math/w_exp10f.c: Likewise.
40343 * math/w_exp10l.c: Likewise.
40344 * math/w_exp2.c: Likewise.
40345 * math/w_exp2f.c: Likewise.
40346 * math/w_fmod.c: Likewise.
40347 * math/w_fmodf.c: Likewise.
40348 * math/w_fmodl.c: Likewise.
40349 * math/w_hypot.c: Likewise.
40350 * math/w_hypotf.c: Likewise.
40351 * math/w_hypotl.c: Likewise.
40352 * math/w_j0.c: Likewise.
40353 * math/w_j0f.c: Likewise.
40354 * math/w_j0l.c: Likewise.
40355 * math/w_j1.c: Likewise.
40356 * math/w_j1f.c: Likewise.
40357 * math/w_j1l.c: Likewise.
40358 * math/w_jn.c: Likewise.
40359 * math/w_jnf.c: Likewise.
40360 * math/w_jnl.c: Likewise.
40361 * math/w_lgamma.c: Likewise.
40362 * math/w_lgamma_r.c: Likewise.
40363 * math/w_lgammaf.c: Likewise.
40364 * math/w_lgammaf_r.c: Likewise.
40365 * math/w_lgammal.c: Likewise.
40366 * math/w_lgammal_r.c: Likewise.
40367 * math/w_log.c: Likewise.
40368 * math/w_log10.c: Likewise.
40369 * math/w_log10f.c: Likewise.
40370 * math/w_log10l.c: Likewise.
40371 * math/w_log2.c: Likewise.
40372 * math/w_log2f.c: Likewise.
40373 * math/w_log2l.c: Likewise.
40374 * math/w_logf.c: Likewise.
40375 * math/w_logl.c: Likewise.
40376 * math/w_pow.c: Likewise.
40377 * math/w_powf.c: Likewise.
40378 * math/w_powl.c: Likewise.
40379 * math/w_remainder.c: Likewise.
40380 * math/w_remainderf.c: Likewise.
40381 * math/w_remainderl.c: Likewise.
40382 * math/w_scalb.c: Likewise.
40383 * math/w_scalbf.c: Likewise.
40384 * math/w_scalbl.c: Likewise.
40385 * math/w_sinh.c: Likewise.
40386 * math/w_sinhf.c: Likewise.
40387 * math/w_sinhl.c: Likewise.
40388 * math/w_sqrt.c: Likewise.
40389 * math/w_sqrtf.c: Likewise.
40390 * math/w_sqrtl.c: Likewise.
40391 * math/w_tgamma.c: Likewise.
40392 * math/w_tgammaf.c: Likewise.
40393 * math/w_tgammal.c: Likewise.
40395 * po/ja.po: Update from translation team.
40397 2011-09-29 Andreas Jaeger <aj@suse.de>
40400 * sunrpc/netname.c (netname2host): Fix logic.
40404 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40406 * math/w_remainder.c (__remainder): Likewise.
40407 * math/w_remainderf.c (__remainderf): Likewise.
40408 * math/libm-test.inc (remainder_test): Add test cases.
40410 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40412 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40415 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40417 * string/test-memcmp.c: Avoid unncessary #defines.
40418 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40420 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40422 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40423 Use new sse2 version for core i3 - i7 as it's faster
40424 than sse42 version.
40425 (bit_Prefer_PMINUB_for_stringop): New.
40426 * sysdeps/x86_64/rawmemchr.S: Update.
40427 Replace with faster SSE2 version.
40428 * sysdeps/x86_64/memrchr.S: New file.
40429 * sysdeps/x86_64/memchr.S: Update.
40430 Replace with faster SSE2 version.
40432 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40434 * elf/dl-load.c (lose): Add cast to avoid warning.
40436 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40438 * po/ca.po: Update from translation team.
40440 * inet/getnetgrent_r.c: Hook up nscd.
40441 * nscd/Makefile (routines): Add nscd_netgroup.
40442 (nscd-modules): Add netgroupcache.
40443 (CFLAGS-netgroupcache.c): Define.
40444 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40445 (cache_search): Add const to second parameter.
40446 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40448 (dbs): Add netgrdb entry.
40449 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40450 (verify_persistent_db): Handle netgrdb.
40451 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40452 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40454 (netgroup_response_header): Define.
40455 (innetgroup_response_header): Define.
40456 (datahead): Add netgroup_response_header and innetgroup_response_header
40458 * nscd/nscd.conf: Add entries for netgroup cache.
40459 * nscd/nscd.h (dbtype): Add netgrdb.
40460 (_PATH_NSCD_NETGROUP_DB): Define.
40461 (netgroup_iov_disabled): Declare.
40462 (xmalloc, xcalloc, xrealloc): Move declarations here.
40463 (cache_search): Adjust prototype.
40464 Add netgroup-related prototypes.
40465 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40466 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40467 (__nscd_innetgr): Declare.
40468 * nscd/selinux.c (perms): Use access_vector_t as element type and
40469 add netgroup-related initializers.
40470 * nscd/netgroupcache.c: New file.
40471 * nscd/nscd_netgroup.c: New file.
40472 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40473 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40474 For four parameters use innetgr.
40475 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40476 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40477 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40478 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40480 * nscd/connections.c (register_traced_file): Don't register file
40481 for disabled databases.
40483 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40485 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40487 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40488 from tree and freeing node.
40490 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40492 * nss/nsswitch.c (__nss_database_lookup): Handle
40493 nss_parse_service_list out of memory case.
40495 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40497 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40498 out of memory case.
40500 2011-10-04 Andreas Schwab <schwab@redhat.com>
40502 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40503 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40505 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40506 elf_machine_rela, elf_machine_lazy_rel.
40507 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40508 (ELF_DYNAMIC_DO_REL): Likewise.
40509 (ELF_DYNAMIC_DO_RELA): Likewise.
40510 (ELF_DYNAMIC_RELOCATE): Likewise.
40511 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40512 to ELF_DYNAMIC_DO_REL.
40513 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40514 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40515 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40518 skip_ifunc, don't call ifunc function if non-zero.
40519 (elf_machine_rela): Likewise.
40520 (elf_machine_lazy_rel): Likewise.
40521 (elf_machine_lazy_rela): Likewise.
40522 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40523 (elf_machine_lazy_rel): Likewise.
40524 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40526 (elf_machine_lazy_rel): Likewise.
40527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40529 (elf_machine_lazy_rel): Likewise.
40530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40531 (elf_machine_lazy_rel): Likewise.
40532 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40533 (elf_machine_lazy_rel): Likewise.
40534 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40535 (elf_machine_lazy_rel): Likewise.
40536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40537 (elf_machine_lazy_rel): Likewise.
40538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40539 (elf_machine_lazy_rel): Likewise.
40540 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40541 (elf_machine_lazy_rel): Likewise.
40543 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40545 * nss/nss_files/files-init.c (_nss_files_init): Use static
40546 initialization for all the *_traced_file variables.
40548 2011-09-28 Andreas Schwab <schwab@redhat.com>
40550 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40552 2011-09-27 Roland McGrath <roland@hack.frob.com>
40555 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40557 2011-09-27 Andreas Schwab <schwab@redhat.com>
40559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40560 Reread the line before reparsing it.
40562 2011-09-26 Andreas Schwab <schwab@redhat.com>
40564 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40566 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40567 Maxim Kuvyrkov <maxim@codesourcery.com>
40568 Joseph Myers <joseph@codesourcery.com>
40570 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40571 if needed for __stack_chk_guard.
40573 2011-09-19 Roland McGrath <roland@hack.frob.com>
40575 * sysdeps/posix/spawni.c (script_execute): Always define it.
40576 It will be optimized away if unused.
40577 (maybe_script_execute): New function.
40578 (__spawni): Call it.
40580 * Makerules: Don't include tls.make.
40581 (config-tls): Always set to thread.
40582 * tls.make.c: File removed.
40584 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40586 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40587 * config.make.in (CPPFLAGS-config): New substituted variable.
40589 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40591 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40594 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40595 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40597 2011-09-15 Roland McGrath <roland@hack.frob.com>
40599 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40600 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40602 (CALL_FAIL): Likewise.
40603 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40604 (CALL_FAIL): Macro removed.
40605 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40607 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40609 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40610 for __FINITE_MATH_ONLY__ == 1.
40612 2011-09-15 Andreas Schwab <schwab@redhat.com>
40614 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40615 __ieee754_sqrt instead of sqrt.
40616 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40617 __ieee754_sqrtf instead of sqrtf.
40618 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40619 __floorf instead of floorf.
40620 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40621 __floorf, __truncf instead of floorf, truncf.
40623 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40625 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40627 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40628 __extern_always_inline.
40629 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40632 2011-09-14 Andreas Schwab <schwab@redhat.com>
40634 * elf/rtld.c (dl_main): Also relocate in dependency order when
40635 doing symbol dependency testing.
40637 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40640 Always define `refsym'.
40642 2011-09-13 Andreas Schwab <schwab@redhat.com>
40644 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40645 (__FD_ELT): Renamed from __FDELT.
40646 * misc/bits/select2.h (__FD_ELT): Likewise.
40647 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40648 __FD_MASK instead of __FDELT, __FDMASK.
40649 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40651 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40654 * elf/Makefile (gen-ldd): Fix pattern.
40656 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40657 (init_tls): Likewise.
40659 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40663 2011-09-12 Andreas Schwab <schwab@redhat.com>
40665 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40666 `struct cmsghdr *' instead of `void *'.
40667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40670 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40672 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40674 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40675 ldd_rewrite_script.
40677 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40679 * configure.in: Remove --with-tls option.
40680 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40681 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40682 out in case it is missing.
40683 * sysdeps/ia64/elf/configure.in: Likewise.
40684 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40685 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40686 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40687 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40688 * sysdeps/sh/elf/configure.in: Likewise.
40689 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40690 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40691 * sysdeps/x86_64/elf/configure.in: Likewise.
40692 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40693 * sysdeps/mach/hurd/tls.h: Likewise.
40696 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40699 * configure.in: Fix use of AC_INIT.
40701 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40703 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40705 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40707 * malloc/hooks.c: Likewise.
40710 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40711 variables statically.
40712 (narenas): Initialize.
40713 (list_lock): Initialize.
40714 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40715 initializtion of main_arena and list_lock. Small cleanups.
40716 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40717 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40718 Add initializers to main_arena and mp_.
40719 (malloc_state): Remove pagesize member. Change all users to use
40722 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40723 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40724 is always initialized.
40726 * malloc/malloc.c: Removed unused configurations and dead code.
40727 * malloc/arena.c: Likewise.
40728 * malloc/hooks.c: Likewise.
40729 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40731 * include/tls.h: Removed. USE___THREAD must always be defined.
40732 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40733 * elf/dl-libc.c: Likewise.
40734 * elf/dl-tsd.c: Likewise.
40735 * include/errno.h: Likewise.
40736 * include/netdb.h: Likewise.
40737 * include/resolv.h: Likewise.
40738 * inet/herrno-loc.c: Likewise.
40739 * inet/herrno.c: Likewise.
40740 * malloc/arena.c: Likewise.
40741 * malloc/hooks.c: Likewise.
40742 * malloc/malloc.c: Likewise.
40743 * resolv/res-state.c: Likewise.
40744 * resolv/res_libc.c: Likewise.
40745 * sysdeps/i386/dl-machine.h: Likewise.
40746 * sysdeps/ia64/dl-machine.h: Likewise.
40747 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40748 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40749 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40750 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40751 * sysdeps/sh/dl-machine.h: Likewise.
40752 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40753 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40754 * sysdeps/unix/i386/sysdep.S: Likewise.
40755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40756 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40761 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40765 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40766 * sysdeps/x86_64/dl-machine.h: Likewise.
40767 * tls.make.c: Likewise.
40769 * configure.in: Remove --with-__thread option. Make tests for
40770 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40771 tls_model attribute fail if no support is available. Remove
40773 * Makeconfig: Adjust for dropped configure option. All features are
40775 * Makerules: Likewise.
40776 * Versions.def: Likewise.
40777 * argp/argp-fmtstream.c: Likewise.
40778 * argp/argp-fmtstream.h: Likewise.
40779 * argp/argp-help.c: Likewise.
40780 * assert/assert.c: Likewise.
40781 * config.h.in: Likewise.
40782 * config.make.in: Likewise.
40783 * configure: Likewise.
40784 * configure.in: Likewise.
40785 * csu/Versions: Likewise.
40786 * csu/init.c: Likewise.
40787 * elf/tst-audit2.c: Likewise.
40788 * elf/tst-tls10.c: Likewise.
40789 * elf/tst-tls10.h: Likewise.
40790 * elf/tst-tls11.c: Likewise.
40791 * elf/tst-tls12.c: Likewise.
40792 * elf/tst-tls14.c: Likewise.
40793 * elf/tst-tlsmod11.c: Likewise.
40794 * elf/tst-tlsmod12.c: Likewise.
40795 * elf/tst-tlsmod13.c: Likewise.
40796 * elf/tst-tlsmod13a.c: Likewise.
40797 * elf/tst-tlsmod14a.c: Likewise.
40798 * elf/tst-tlsmod15b.c: Likewise.
40799 * elf/tst-tlsmod16a.c: Likewise.
40800 * elf/tst-tlsmod16b.c: Likewise.
40801 * elf/tst-tlsmod7.c: Likewise.
40802 * elf/tst-tlsmod8.c: Likewise.
40803 * elf/tst-tlsmod9.c: Likewise.
40804 * gmon/gmon.c: Likewise.
40805 * grp/fgetgrent_r.c: Likewise.
40806 * grp/putgrent.c: Likewise.
40807 * hurd/fopenport.c: Likewise.
40808 * include/libc-symbols.h: Likewise.
40809 * include/tls.h: Likewise.
40810 * intl/gettextP.h: Likewise.
40811 * intl/loadinfo.h: Likewise.
40812 * locale/global-locale.c: Likewise.
40813 * locale/localeinfo.h: Likewise.
40814 * mach/devstream.c: Likewise.
40815 * malloc/arena.c: Likewise.
40816 * malloc/set-freeres.c: Likewise.
40817 * misc/err.c: Likewise.
40818 * misc/getttyent.c: Likewise.
40819 * misc/mntent_r.c: Likewise.
40820 * posix/getopt.c: Likewise.
40821 * posix/wordexp.c: Likewise.
40822 * pwd/fgetpwent_r.c: Likewise.
40823 * resolv/Versions: Likewise.
40824 * resolv/res_hconf.c: Likewise.
40825 * shadow/fgetspent_r.c: Likewise.
40826 * shadow/putspent.c: Likewise.
40827 * stdio-common/printf_fphex.c: Likewise.
40828 * stdio-common/tmpfile.c: Likewise.
40829 * stdlib/abort.c: Likewise.
40830 * stdlib/fmtmsg.c: Likewise.
40831 * sunrpc/auth_unix.c: Likewise.
40832 * sunrpc/clnt_perr.c: Likewise.
40833 * sunrpc/clnt_tcp.c: Likewise.
40834 * sunrpc/clnt_udp.c: Likewise.
40835 * sunrpc/clnt_unix.c: Likewise.
40836 * sunrpc/openchild.c: Likewise.
40837 * sunrpc/svc_simple.c: Likewise.
40838 * sunrpc/svc_tcp.c: Likewise.
40839 * sunrpc/svc_udp.c: Likewise.
40840 * sunrpc/svc_unix.c: Likewise.
40841 * sunrpc/xdr.c: Likewise.
40842 * sunrpc/xdr_array.c: Likewise.
40843 * sunrpc/xdr_rec.c: Likewise.
40844 * sunrpc/xdr_ref.c: Likewise.
40845 * sunrpc/xdr_stdio.c: Likewise.
40847 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40849 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40851 2011-07-03 Andreas Jaeger <aj@suse.de>
40853 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40854 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40855 regenerate with gen-libm-tests.pl.
40857 2010-05-12 Petr Baudis <pasky@suse.cz>
40860 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40861 around j0() zero points by switching to j1().
40862 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40867 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40869 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40871 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40874 Patch in part by Pavel Roskin <proski@gnu.org>.
40877 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40879 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40880 Free memory block if necessary.
40883 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40884 be NULL. Don't lock in this case.
40886 2011-09-09 Roland McGrath <roland@hack.frob.com>
40888 * elf/elf.h (ELFOSABI_GNU): New macro.
40889 (ELFOSABI_LINUX): Define to that.
40891 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40893 * string/strncat.c (strncat): Undef the symbol in case it has been
40894 defined in bits/string.h.
40896 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40898 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40900 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40903 2011-08-17 Andreas Jaeger <aj@suse.de>
40905 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40907 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40908 Ian Lance Taylor <iant@google.com>
40910 * math/libm-test.inc (lround_test): New testcase.
40911 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40913 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40915 * Makefile: Remove support for automatic cvs check-ins.
40916 * Makerules: Likewise.
40917 * config.make.in: Likewise.
40918 * configure.in: Likewise.
40919 * intl/Makefile: Likewise.
40920 * locale/Makefile: Likewise.
40921 * po/Makefile: Likewise.
40922 * posix/Makefile: Likewise.
40923 * sysdeps/gnu/Makefile: Likewise.
40924 * sysdeps/mach/hurd/Makefile: Likewise.
40925 * sysdeps/sparc/sparc32/Makefile: Likewise.
40928 * posix/Makefile (bug-regex32-ENV): Define.
40929 Patch by John Stanley <jpsinthemix@verizon.net>.
40931 * misc/Makefile (headers): Add bits/select2.h.
40932 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40933 * misc/bits/select2.h: New file.
40934 * include/bits/select2.h: New file.
40935 * debug/Makefile (routines): Add fdelt_chk.
40936 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40937 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40939 * debug/fdelt_chk.c: New file.
40941 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40942 * wcsmbs/test-wmemcmp.c: Likewise.
40943 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40944 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40946 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40948 * string/Makefile (strop-tests): Add memcmp.
40949 * string/test-wmemcmp.c: New file.
40950 * string/test-memcmp.c: Add wmemcmp support.
40952 2011-09-08 Roland McGrath <roland@hack.frob.com>
40955 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40958 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40959 garbage value in a __mach_port_mod_refs call in the cases of the
40960 task-self and thread-self ports.
40962 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40964 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40966 2011-09-08 Andreas Schwab <schwab@redhat.com>
40968 * elf/dl-load.c (lose): Check for non-null L.
40970 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40972 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40974 * elf/dl-libc.c (dlerror_run): Pass back error code from
40978 * elf/dl-load.c (lose): Free l_origin if it is valid.
40980 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40983 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40984 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40986 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40987 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40989 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40991 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40992 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40993 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40994 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40995 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40996 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40997 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40998 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40999 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41000 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41002 2011-08-15 Alan Modra <amodra@gmail.com>
41005 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41006 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41007 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41008 ppc_mcount to static-only-routines.
41009 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41011 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41012 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41014 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41016 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41017 for finite and infinity parameters.
41019 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41022 and add nop instructions for throughput optimization.
41023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41025 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41027 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41028 aligned copy for power7 with vector-scalar instructions.
41029 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41031 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41036 2011-09-07 Andreas Schwab <schwab@redhat.com>
41039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41042 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41044 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41045 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41046 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41047 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41050 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41053 Forgot to demangle the pointer.
41055 * sysdeps/i386/sysdep.h: Define atom_text_section.
41056 * sysdeps/x86_64/sysdep.h: Likewise.
41057 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41058 section with atom_text_section.
41059 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41061 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41063 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41066 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41067 already be defined. Change to take two parameters and don't assign
41068 result to variable. Adjust all users.
41069 Define INTERNAL_GETTIME if not already defined.
41070 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41073 HAVE_CLOCK_GETTIME_VSYSCALL.
41074 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41076 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41077 gettimeofday vsyscall, just use time.
41079 2011-09-06 Andreas Schwab <schwab@redhat.com>
41081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41084 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41086 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41090 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41091 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41092 syscall if possible.
41094 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41096 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41097 e_ident. Don't pass to find_mapsXX.
41098 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41100 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41103 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41104 * sysdeps/x86_64/multiarch/strchr.S: Update.
41105 Check bit_slow_BSF bit.
41106 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41107 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41108 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41110 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41113 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41115 (tryshell): Define.
41116 (__spawni): Change last parameter to be flag. Test
41117 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41118 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41119 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41120 * posix/spawni.c: Likewise.
41121 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41122 * posix/spawnp.c: Likewise. Change normal version to use
41123 SPAWN_XFLAGS_USE_PATH.
41124 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41125 SPAWN_XFLAGS_TRY_SHELL.
41128 * posix/glob.h: Remove gcc 1.x support.
41131 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41133 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41136 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41138 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41139 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41140 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41142 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41143 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41145 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41147 * sysdeps/x86_64/wcscmp.S: New file.
41149 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41150 wcscmp-c wcscmp-sse2
41151 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41152 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41153 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41154 * wcsmbs/wcscmp.c: Allow renaming.
41156 2011-09-05 David S. Miller <davem@davemloft.net>
41158 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41159 stack slot, rather than the struct return pointer slot.
41160 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41161 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41163 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41165 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41167 * po/ja.po: Update from translation team.
41170 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41171 kernel in 64-bit binaries.
41173 2011-09-01 David S. Miller <davem@davemloft.net>
41175 * elf/elf.h (HWCAP_SPARC_*): Move to..
41176 * sysdeps/sparc/sysdep.h: this new file and add new values.
41177 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41178 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41179 _DL_HWCAP_COUNT to 24.
41180 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41182 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41183 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41184 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41186 instead of magic constants.
41187 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41189 2011-08-31 David S. Miller <davem@davemloft.net>
41191 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41193 Reimplement to do errno handling inline.
41194 (SYSCALL_ERROR_HANDLER): New macro.
41195 (__SYSCALL_STRING): Do not do errno handling in asm.
41196 (__CLONE_SYSCALL_STRING): Delete.
41197 (__INTERNAL_SYSCALL_STRING): Delete.
41198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41199 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41200 (PSEUDO): Reimplement to do errno handling inline.
41201 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41202 (SYSCALL_ERROR_HANDLER): New macro.
41203 (__SYSCALL_STRING): Do not do errno handling in asm.
41204 (__CLONE_SYSCALL_STRING): Delete.
41205 (__INTERNAL_SYSCALL_STRING): Delete.
41206 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41207 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41209 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41210 (inline_syscall*): Add 'err' argument.
41211 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41212 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41213 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41214 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41216 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41217 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41219 2011-08-30 Andreas Schwab <schwab@redhat.com>
41221 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41223 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41225 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41228 2011-08-24 David S. Miller <davem@davemloft.net>
41230 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41232 2011-08-24 Andreas Schwab <schwab@redhat.com>
41234 * elf/Makefile: Add rules to build and run unload8 test.
41235 * elf/unload8.c: New file.
41236 * elf/unload8mod1.c: New file.
41237 * elf/unload8mod1x.c: New file.
41238 * elf/unload8mod2.c: New file.
41239 * elf/unload8mod3.c: New file.
41241 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41244 2011-08-23 David S. Miller <davem@davemloft.net>
41246 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41247 subtract stack bias.
41248 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41249 %sp not %fp in calculations.
41250 (_JMPBUF_UNWINDS_ADJ): Likewise.
41252 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41253 (aio_suspend): Call it to force an exception region around the
41254 AIO_MISC_WAIT() invocation.
41256 2011-08-23 Andreas Schwab <schwab@redhat.com>
41258 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41261 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41263 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41265 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41266 and <dl-machine.h>.
41267 (Elf64_FuncDesc): Remove.
41269 2011-08-22 David S. Miller <davem@davemloft.net>
41271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41272 sigaltstack check, add missing cfi directives.
41273 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41274 missing cfi directives, and sigaltstack handling.
41276 2011-08-16 Andreas Schwab <schwab@redhat.com>
41279 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41280 object is seen twice.
41281 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41283 * elf/Makefile (distribute): Add tst-initorder2.c.
41284 (tests): Add tst-initorder2.
41285 (modules-names): Add tst-initorder2a tst-initorder2b
41286 tst-initorder2c tst-initorder2d. Add rules to build them.
41287 ($(objpfx)tst-initorder2.out): New rule.
41288 * elf/tst-initorder2.c: New file.
41289 * elf/tst-initorder2.exp: New file.
41291 2011-08-22 Andreas Schwab <schwab@redhat.com>
41293 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41295 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41296 dependencies back to end of function.
41298 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41299 $(elfobjdir)/ld.so.
41301 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41304 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41306 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41307 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41308 of __vdso_gettimeofday.
41309 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41310 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41312 (_libc_vdso_platform_setup): Remove initialization of
41313 __vdso_gettimeofday and __vdso_time.
41315 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41317 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41318 and fgetc_unlocked.
41319 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41322 * elf/dl-open.c (add_to_global): Report additions to the global scope
41323 for LD_DEBUG=scopes.
41324 (dl_open_worker): Also print scope of newly loaded dependencies.
41325 (_dl_show_scope): Indicate if there is no scope.
41328 * stdio-common/Makefile (tests): Add bug24.
41329 * stdio-common/bug24.c: New file.
41331 2011-08-19 Andreas Jaeger <aj@suse.de>
41334 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41335 non-existant file when using close-on-exec mode.
41337 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41340 the very first instruction.
41342 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41343 the CFI state in the end.
41344 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41345 inclusion of dl-trampoline.h.
41346 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41348 2011-08-19 Andreas Schwab <schwab@redhat.com>
41350 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41351 expectations for long double.
41353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41354 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41356 2011-08-14 David S. Miller <davem@davemloft.net>
41358 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41359 artificual limit depends upon the system page size.
41361 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41363 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41364 * resolv/Makefile: Define CFLAGS-libresolv.
41366 2011-08-17 Andreas Schwab <schwab@redhat.com>
41368 * nss/makedb.c (compute_tables): Make variables used in nested
41371 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41373 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41374 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41375 if buffer was too small.
41377 * elf/pldd.c (main): Attach to all threads in the process.
41378 Rewrite /proc handling to use *at functions.
41380 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41382 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41383 specifies first scope to show.
41384 (dl_open_worker): Update callers. Move printing scope of new
41385 object to before the relocation.
41386 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41387 * sysdeps/generic/ldsodefs.h: Update declaration.
41389 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41390 string for the scope number.
41392 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41394 * nscd/servicescache.c (cache_addserv): Make sure written is always
41397 2011-08-14 Roland McGrath <roland@hack.frob.com>
41399 * sysdeps/i386/i486/bits/atomic.h
41400 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41401 statement expression, so as to suppress "set but not used" warning.
41402 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41404 * string/strncat.c (STRNCAT): Use prototype definition.
41406 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41407 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41409 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41410 (localedef-modules): Add localedef.
41411 (locale-modules): Add locale.
41413 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41414 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41415 to avoid a warning.
41417 2011-08-14 David S. Miller <davem@davemloft.net>
41419 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41420 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41422 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41424 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41425 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41426 * elf/rtld.c (dl_main): Set l_name of vDSO.
41427 Call _dl_show_scope when DL_DEBUG_SCOPES.
41428 (process_dl_debug): Recognize scopes flag and also set it for all.
41429 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41430 Declare _dl_show_scope.
41432 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41433 (do_dlopen): Pass caller_dlopen to dl_open.
41434 (__libc_dlopen_mode): Initialize caller_dlopen.
41436 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41437 of libc. Make tolower call locale-independent. Optimize a bit by
41438 using isdigit instead of isalnum.
41439 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41441 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41443 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41444 was a dependency or dynamically loaded.
41446 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41448 * intl/l10nflist.c: Allow architecture-specific pop function.
41449 * sysdeps/x86_64/l10nflist.c: New file.
41451 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41454 2011-08-10 Andreas Schwab <schwab@redhat.com>
41456 * include/dirent.h: Add libc_hidden_proto for scandirat and
41457 scandirat64. Don't declare __scandirat64.
41458 * dirent/scandirat.c: Add libc_hidden_def.
41459 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41460 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41462 2011-08-10 David S. Miller <davem@davemloft.net>
41464 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41466 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41470 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41472 * Versions.def [libc]: Add GLIBC_2.15.
41473 * dirent/Makefile (routines): Add scandirat and scandirat64.
41474 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41476 * dirent/dirent.h: Declare scandirat and scandirat64.
41477 * dirent/scandirat.c: New file.
41478 * dirent/scandirat64.c: New file.
41479 * sysdeps/wordsize-64/scandirat.c: New file.
41480 * sysdeps/wordsize-64/scandirat64.c: New file.
41481 * dirent/opendir.c: Define opendirat.
41482 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41484 * dirent/scandir64.c: Adjust for scandir.c change.
41485 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41486 __scandirat64, and __scandir_cancel_handler.
41487 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41488 additional parameter and use openat instead of open (outside of ld.so).
41489 Add new __opendir as wrapper around __opendirat.
41490 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41491 here without requiring old scandirat implementation.
41493 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41495 * dirent/scandir.c (cancel_handler): Renamed to
41496 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41497 defined. Adjust users.
41498 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41499 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41501 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41503 * string/test-string.h (IMPL): Use __STRING to expand name and then
41506 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41509 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41511 * string/Makefile: Update.
41512 (strop-tests): Append strncat.
41513 * string/test-wcscmp.c: New file.
41514 New comprehensive test for wcscmp.
41515 * string/test-strcmp.c: Update.
41516 (WIDE): New define.
41518 2011-07-22 Andreas Schwab <schwab@redhat.com>
41520 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41523 2011-07-26 Andreas Schwab <schwab@redhat.com>
41525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41526 encoding to ACE if AI_IDN.
41528 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41531 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41533 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41536 Fix overflow bug in strncat.
41537 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41539 * string/test-strncat.c: Update.
41540 Add new tests for checking overflow bugs.
41542 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41545 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41546 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41547 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41549 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41550 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41551 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41552 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41555 (USE_AS_STRCAT): Define.
41556 Add strcat and strncat support.
41557 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41559 2011-07-25 Andreas Schwab <schwab@redhat.com>
41561 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41562 __n bigger than INT_MAX+1.
41563 (__strncmp_g): Likewise.
41565 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41567 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41568 * libio/stido.h: Likewise.
41570 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41575 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41578 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41582 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41587 (_dl_x86_64_save_sse): Likewise.
41589 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41591 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41593 (_dl_x86_64_save_sse): Likewise.
41595 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41597 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41599 2011-07-21 Andreas Schwab <schwab@redhat.com>
41601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41603 (_dl_x86_64_save_sse): Use correct AVX check.
41605 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41608 bug in strncpy/strncat.
41609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41611 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41613 * string/tester.c (test_strcat): Add tests for different alignments
41614 of source and destination.
41615 (test_strncat): Likewise.
41617 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41620 * posix/glob.c (glob): Check passed in values before using them in
41621 expressions to avoid some overflows.
41622 (glob_in_dir): Likewise.
41625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41626 check for AVX enablement so that we don't crash with old kernels and
41628 * elf/tst-audit4.c: Add same checks here.
41629 * elf/tst-audit6.c: Likewise.
41631 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41633 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41635 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41637 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41639 * po/cs.po: Update from translation team.
41640 * po/bg.po: Likewise.
41642 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41644 * misc/sys/cdefs.h: Add support for const attribute.
41645 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41646 to gnu_dev_{major,minor,makedev} functions.
41648 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41650 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41652 2011-07-20 Andreas Schwab <schwab@redhat.com>
41654 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41657 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41659 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41660 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41661 register in order to avoid conflicts with the soft frame pointer
41662 being held in r11 when necessary.
41663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41664 (INTERNAL_VSYSCALL_NCS): Likewise.
41666 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41668 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41669 * elf/dl-fini.c (_dl_fini): Adjust caller.
41670 * elf/dl-close.c (_dl_close_worker): Likewise.
41671 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41673 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41675 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41676 "aux_cache->nlibs < 0".
41678 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41679 in the reload-count case.
41681 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41684 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41685 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41686 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41687 * sysdeps/x86_64/multiarch/strcat.S: New file.
41688 * sysdeps/x86_64/multiarch/strncat.S: New file.
41689 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41690 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41691 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41692 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41694 (USE_AS_STRCAT): Define.
41695 Add strcat and strncat support.
41696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41697 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41698 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41699 * string/strncat.c: Update.
41700 (USE_AS_STRNCAT): Define.
41701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41702 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41704 * sysdeps/x86_64/multiarch/init-arch.h
41705 (bit_Prefer_PMINUB_for_stringop): New.
41706 (index_Prefer_PMINUB_for_stringop): Likewise.
41707 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41708 bit_Prefer_PMINUB_for_stringop.
41710 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41712 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41714 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41715 of casting of buffer.
41716 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41717 buffer32 and buffer64.
41718 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41719 writes instead of casting of buffer.
41720 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41722 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41725 2011-07-19 Andreas Schwab <schwab@redhat.com>
41727 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41729 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41731 * nscd/nscd.c (termination_handler): Don't do anything for a database
41732 if it has not yet been initialized.
41734 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41736 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41738 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41740 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41742 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41744 * po/nl.po: Update from translation team.
41745 * po/sv.po: Likewise.
41747 2011-07-16 Roland McGrath <roland@hack.frob.com>
41749 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41750 now disallowed by GCC.
41752 * configure.in (use-default-link): Default to yes if a test -shared
41753 link meets our qualifications.
41754 * configure: Regenerated.
41756 * config.make.in (output-format): New variable.
41757 * configure.in: Check for ld --print-output-format support.
41758 * configure: Regenerated.
41759 * Makerules ($(common-objpfx)format.lds)
41760 [$(output-format) != unknown]: Just use $(output-format),
41761 instead of the linker-script munging.
41763 2011-07-14 Roland McGrath <roland@hack.frob.com>
41765 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41766 of $(common-objpfx)shlib.lds.
41767 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41769 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41770 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41772 * configure.in (-z relro check): Adjust test code to add a large
41773 writable data section after it.
41774 * configure: Regenerated.
41776 2011-07-11 Roland McGrath <roland@hack.frob.com>
41778 * configure.in (-z relro check): Fix test code to make the variable
41780 * configure: Regenerated.
41782 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41784 * nscd/nscd.h (struct traced_file): Define.
41785 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41786 elements. Add traced_files.
41787 (inotify_fd): Declare.
41788 (register_traced_file): Declare.
41789 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41790 (inotify_fd): Export.
41791 (resolv_conf_descr): Remove.
41792 (nscd_init): Move inotify descriptor creation to main.
41793 Don't register files for notification here.
41794 (register_traced_file): New function.
41795 (invalidate_cache): Don't use reset_res to determine whether to call
41796 res_init, go through the list of registered files.
41797 (main_loop_poll): The inotify descriptors are now stored in the
41798 structures for the traced files.
41799 (main_loop_epoll): Likewise
41800 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41801 to __nss_disable_nscd.
41802 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41803 for a database anymore. Check the records for all the registered
41805 * nss/Makefile (libnss_files-routines): Add files-init.
41806 (libnss_db-routines): Add db-init.
41807 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41808 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41809 * nss/nss_db/db-init.c: New file.
41810 * nss/nss_files/files-init.c: New file.
41811 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41812 __nss_lookup_function.
41813 (__nss_lookup_function): Call nss_load_library.
41814 (nss_load_all_libraries): New function.
41815 (__nss_disable_nscd): Take parameter with callback function for files
41816 to register. Set is_nscd. Load all the DSOs for the NSS modules
41817 used for the cached services.
41818 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41819 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41820 options for features to all the files in nscd.
41822 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41824 2011-07-10 Roland McGrath <roland@hack.frob.com>
41826 * csu/elf-init.c (__libc_csu_init): Comment typo.
41828 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41830 * po/pl.po: Update from translation team.
41831 * po/ja.po: Likewise.
41832 * po/ru.po: Likewise.
41833 * po/ko.po: Likewise.
41834 * po/fr.po: Likewise.
41836 2011-07-09 Roland McGrath <roland@hack.frob.com>
41838 * configure.in (.ctors/.dtors header and trailer check):
41839 Use an empirical test on a built program.
41840 * configure: Regenerated.
41842 * configure.in (-z relro check): Use an empirical test on a built DSO.
41843 Detect, but do not require, on ia64.
41844 * configure: Regenerated.
41846 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41847 Update tests that use readelf to use $READELF instead.
41848 * configure: Regenerated.
41850 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41852 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41853 if the result is not used.
41855 2011-07-05 Andreas Jaeger <aj@suse.de>
41858 * stdlib/tst-strtod.c: Add testcase.
41860 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41862 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41863 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41864 The latter has a higher limit. Take additional parameter to pass to
41866 (__pathconf): Pass file to __statfs_link_max.
41867 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41869 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41873 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41877 (__statfs_filesize_max): Likewise.
41878 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41880 2011-07-05 Andreas Jaeger <aj@suse.de>
41882 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41884 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41886 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41888 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41891 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41893 * Makefile (strop-tests): Add strncat.
41894 * string/test-strncat.c: New file.
41896 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41898 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41900 2011-06-21 Andreas Jaeger <aj@suse.de>
41902 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41903 Copy rule from iconvdata/Makefile.
41905 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41908 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41909 but no long options are defined, just return 'W'.
41911 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41914 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41916 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41918 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41920 (innetgr): Likewise.
41922 2011-07-05 Roland McGrath <roland@hack.frob.com>
41924 * config.make.in (install_root): Default to $(DESTDIR).
41926 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41930 2011-07-02 Roland McGrath <roland@hack.frob.com>
41932 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41934 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41935 containing directory rather than embedding absolute directory names.
41937 * scripts/check-local-headers.sh: Rewritten using awk.
41938 Match by word, not by line. Print error messages for matches.
41939 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41941 * Makerules [shlib-lds-flags empty]:
41942 ($(common-objpfx)libc_pic.opts): New target.
41943 ($(common-objpfx)libc_pic.os.clean): New target.
41944 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41946 * config.make.in (OBJCOPY): New variable.
41947 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41948 * configure: Regenerated.
41950 * config.make.in (use-default-link): New variable.
41951 * configure.in (use_default_link): Grok --with-default-link to set it.
41952 * configure: Regenerated.
41953 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41954 (shlib-lds, shlib-lds-flags): Define to empty.
41956 * Makerules (shlib-lds): New variable.
41957 (shlib-lds-flags): New variable.
41958 (build-shlib, build-moduile, build-module-asneeded): Use it.
41959 ($(common-objpfx)libc.so): Use $(shlib-lds).
41960 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41961 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41963 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41964 DT_FLAGS/DT_FLAGS_1 with zero flags.
41966 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41967 linker script munging.
41969 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41971 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41973 * crypt/sha512.c (sha512_process_block): Perform total addition using
41974 128-bit if possible.
41975 (__sha512_finish_ctx): Likewise.
41976 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41978 * crypt/sha256.c (SWAP64): Define.
41979 (sha256_process_block): Perform total addition using 64-bit if
41981 (__sha256_finish_ctx): Likewise.
41983 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41985 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41986 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41987 * nscd/hstcache.c (cache_addhst): Likewise.
41988 * nscd/grpcache.c (cache_addgr): Likewise.
41989 * nscd/aicache.c (addhstaiX): Likewise
41990 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41992 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41994 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41996 * nscd/hstcache.c (cache_addhst): Likewise.
41997 * nscd/grpcache.c (cache_addgr): Likewise.
41998 * nscd/aicache.c (addhstaiX): Likewise
42000 2011-07-01 Andreas Schwab <schwab@redhat.com>
42002 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42003 domain only when needed.
42005 2011-06-30 Andreas Schwab <schwab@redhat.com>
42007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42008 is always restored.
42010 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42012 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42013 are re-adding the entry.
42014 * nscd/servicescache.c (cache_addserv): Likewise.
42016 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42018 * sysdeps/generic/dl-irel.h: fix protection against multiple
42020 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42022 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42025 * malloc/memusage.sh: Fix quoting in message.
42026 * debug/xtrace.sh: Likewise.
42028 * configure.in: Remove support for --experimental-malloc option, make
42030 * config.make.in: Likewise.
42031 * malloc/Makefile: Likewise.
42033 2011-06-27 Andreas Schwab <schwab@redhat.com>
42035 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42036 two-byte characters.
42038 2011-06-27 Roland McGrath <roland@hack.frob.com>
42040 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42041 AC_CACHE_CHECK invocation.
42042 * configure: Regenerated.
42044 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42046 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42049 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42050 bit from old_res_options.
42052 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42054 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42055 value type for setfct.
42057 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42060 __gettimeofday instead of gettimeofday.
42062 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42064 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42066 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42068 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42070 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42073 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42076 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42077 strcpy-sse2-unaligned strncpy-sse2-unaligned
42078 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42079 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42080 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42081 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42082 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42085 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42086 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42087 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42088 (STRCPY): Support SSE2 and SSSE3 versions.
42090 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42094 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42095 kernels which artificially limit size of requests.
42097 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42100 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42101 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42102 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42103 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42104 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42105 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42106 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42109 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42110 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42111 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42112 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42113 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42115 Enable unaligned load optimization for Intel Core i3, i5 and i7
42117 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42119 (index_Fast_Unaligned_Load): Define.
42120 (HAS_FAST_UNALIGNED_LOAD): Define.
42122 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42124 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42126 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42130 until it is clear that the information is realy needed.
42131 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42133 2011-06-22 Andreas Schwab <schwab@redhat.com>
42135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42137 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42140 /sys/devices/system/cpu/online if it is usable.
42142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42143 reading the information from the /proc filesystem to once a second.
42145 2011-06-21 Andreas Jaeger <aj@suse.de>
42147 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42148 NULL after inclusion of kernel headers.
42150 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42152 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42153 calls to internal_setent.
42156 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42157 addresses using gethostbyname4_r ignore IPv4 addresses.
42159 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42160 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42162 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42164 2011-06-20 David S. Miller <davem@davemloft.net>
42166 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42168 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42170 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42171 (elf_irel): Use it.
42172 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42173 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42174 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42175 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42176 * sysdeps/x86_64/dl-irel.h: Likewise.
42178 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42179 * elf/dl-sym.c: Likewise.
42181 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42183 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42184 need to dereference resplen2.
42186 2011-06-14 Andreas Schwab <schwab@redhat.com>
42188 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42190 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42192 * Makeconfig: Define vardbdir and inst_vardbdir.
42193 * nss/Makefile: Add rules to install db-Makefile.
42195 * nss/nss_db/db-XXX.c: Cleanup.
42197 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42198 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42200 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42201 * nss/makedb.c: Implement -g option to specify that value strings
42202 are generated and should not be added to table iterated over for
42204 * nss/nss_db/db-initgroups.c: New file.
42206 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42209 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42210 (internal_getgrouplist): Adjust to name change.
42211 Update use_initgroups_entry if this is not the first call.
42212 * nss/databases.def: Add initgroups entry.
42214 * nss/makedb.c (compute_tables): Check result of multiple hash table
42215 sizes to minimize maximum chain length.
42217 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42219 * Versions.def: Add entry for libnss_db.
42220 * shlib-versions: Likewise.
42221 * nss/Makefile: Add rules to build libnss_db.
42222 * nss/Versions: Add libnss_db information. Organize libnss_files
42224 * nss/db-Makefile: Add gshadow support. Change rules for the new
42225 makedb progra. Some minor improvements to generate smaller files.
42226 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42228 * nss/makedb.c: ...here.
42229 Improve database format to be smaller and require less memory at
42231 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42233 * nss/nss_db/db-netgrp.c: Likewise.
42234 * nss/nss_db/db-open.c: Likewise.
42235 * nss/nss_files/flies-XXX.x: Adjust comments.
42236 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42237 * nss/nss_files/files-grp.c: Likewise.
42238 * nss/nss_files/files-hosts.c: Likewise.
42239 * nss/nss_files/files-network.c: Likewise.
42240 * nss/nss_files/files-proto.c: Likewise.
42241 * nss/nss_files/files-pwd.c: Likewise.
42242 * nss/nss_files/files-rpc.c: Likewise.
42243 * nss/nss_files/files-service.c: Likewise.
42244 * nss/nss_files/files-sgrp.c: Likewise.
42245 * nss/nss_files/files-spwd.c: Likewise.
42246 * nss/nss_db/db-alias.c: Removed.
42247 * nss/nss_db/dummy-db.h: Removed.
42249 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42251 * nss/makedb.c: Rewritten to not use database library.
42252 * nss/Makefile: Update to build new makedb program.
42254 2011-06-14 Andreas Jaeger <aj@suse.de>
42256 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42257 memset declaration.
42259 2011-06-10 Andreas Schwab <schwab@redhat.com>
42261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42264 2011-06-10 Roland McGrath <roland@hack.frob.com>
42266 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42267 * elf/Makefile ($(objpfx)ld.so): Likewise.
42269 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42270 Don't list ld.so twice in dependencies.
42272 * posix/bug-regex31.c: Include <stdlib.h>.
42274 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42276 * nis/nss_compat/compat-spwd.c
42277 (getspent_next_nss_netgr): Remove unused variable.
42278 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42280 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42281 nonmembers" output to use the right array.
42283 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42285 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42287 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42288 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42289 * catgets/gencat.c (read_input_file): Likewise.
42290 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42292 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42293 variable definition inside #if's controlling its use.
42295 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42297 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42299 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42301 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42304 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42306 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42307 * configure: Regenerated.
42309 * Makerules: Revert last change.
42310 * elf/Makefile: Likewise.
42312 2011-06-09 Roland McGrath <roland@hack.frob.com>
42314 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42315 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42316 (reloc-link): Likewise.
42318 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42320 * elf/Makefile: Add rules to build pldd.
42321 * elf/pldd.c: New file.
42322 * elf/pldd-xx.c: New file.
42324 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42326 * version.h: Update for 2.15 development version.
42328 2011-06-07 David S. Miller <davem@davemloft.net>
42330 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42333 elf_machine_lazy_rel): Likewise.
42334 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42336 elf_machine_lazy_rel): Likewise.
42337 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42338 dl_hwcap via passed in argument.
42339 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42342 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42344 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42346 2011-06-06 Roland McGrath <roland@hack.frob.com>
42349 * manual/fdl-1.1.texi: New file, verbatim from:
42350 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42351 * manual/lgpl-2.1.texi: New file, verbatim from:
42352 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42353 * manual/Makefile (licenses): New variable, list those new file names.
42355 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42357 * manual/fdl.texi: File removed.
42358 * manual/lesser.texi: File removed.
42359 * manual/libc.texinfo (Copying, Documentation License):
42360 Use new @include file names, put @appendix directive before @include.
42362 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42365 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42366 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42367 (mq_open): Add __NTH.
42369 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42372 Assume Intel Core i3/i5/i7 processor if AVX is available.
42374 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42379 2011-05-31 Andreas Schwab <schwab@redhat.com>
42381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42382 memory. Use alloca_account. Fix memory leak when retrying.
42384 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42386 * version.h (RELEASE): Bump for 2.14 release.
42387 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42389 * config.make.in (RANLIB): Remove entry.
42391 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42393 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42394 (libc.pot): Work around missing support for .ksh extension in xgettext.
42397 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42398 if both request failed.
42399 (send_dg): In case of server errors clear resplen or *resplen2.
42402 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42403 when there are multiple maps.
42404 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42405 (_dl_fini): Remove test here.
42407 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42409 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42412 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42413 bit from old_res_options.
42414 (gaih_inet): Likewise.
42417 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42420 * resolv/res_init.c (res_setoptions): Make the code more compact.
42423 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42427 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42429 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42432 * malloc/malloc.h: Declare malloc hook variables as volatile.
42434 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42438 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42439 raise in the comment.
42440 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42441 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42442 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42444 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42447 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42448 grow the buffers more if it already has to be sufficient.
42449 (build_wcs_upper_buffer): Likewise.
42450 * posix/regexec.c (check_matching): Likewise.
42451 (clean_state_log_if_needed): Likewise.
42452 (extend_buffers): Don't enlarge buffers beyond size of the input
42454 Patches mostly by Emil Wojak <emil@wojak.eu>.
42455 * posix/bug-regex32.c: New file.
42456 * posix/Makefile (tests): Add bug-regex32.
42458 * locale/findlocale.c (_nl_find_locale): Return right away if
42459 _nl_explode_name failed.
42460 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42462 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42464 * debug/xtrace.sh: Unify messages.
42465 * malloc/memusage.sh: Likewise.
42468 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42469 time symbol from vDSO. Substitute with vsyscall if not available.
42470 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42473 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42474 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42475 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42476 Add sendmmsg and internal_sendmmsg.
42477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42478 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42479 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42481 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42482 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42483 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42485 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42488 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42489 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42495 * iconvdata/Makefile (tests): Add bug-iconv9.
42496 * iconvdata/bug-iconv9.c: New file.
42498 2011-05-27 Andreas Schwab <schwab@redhat.com>
42501 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42503 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42506 (struct user_regs_struct): Change intcs field back to cs.
42508 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42510 * po/ja.po: Update from translation team.
42512 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42515 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42516 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42518 2011-05-20 Andreas Schwab <schwab@redhat.com>
42520 * stdlib/longlong.h: Update from GCC.
42522 2011-05-23 Andreas Schwab <schwab@redhat.com>
42524 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42526 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42527 Add parameter name.
42528 (__sysconf): Pass it down.
42530 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42533 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42535 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42536 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42537 add in in __libc_use_alloca calls. Adjust callers.
42538 (glob): Use malloc in some situations.
42540 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42541 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42544 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42546 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42547 and CLOCK_BOOTTIME_ALARM.
42550 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42553 * string/_strerror.c (__strerror_r): Print negative errors as signed
42557 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42558 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42559 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42561 * configure.in: Fix typo in redirection and correct removal of test
42562 files in two cases.
42565 * locale/setlocale.c (new_composite_name): Fix test to check for
42566 identical name of all categories.
42569 * libio/filedoalloc.c (local_isatty): New function.
42570 (_IO_file_doallocate): Use local_isatty.
42571 * stdio-common/perror.c (perror): In case a new stream is used
42572 forward the stream error.
42573 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42576 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42581 * include/alloca.h (extend_alloca_account): Define.
42584 * posix/regex.h: Fix comments with documentation of user-accessible
42585 fields after compilation and describe correct free'ing of pattern
42586 after re_compile_pattern.
42587 Patch by Reuben Thomas <rrt@sc3d.org>.
42589 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42591 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42592 and -mno-altivec to prevent the compiler from using Altivec and/or
42593 VSX instructions when the corresponding registers are not available.
42595 2011-05-19 Andreas Schwab <schwab@redhat.com>
42597 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42599 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42601 * libio/freopen.c (freopen): Use __dup2, not dup2.
42602 * libio/freopen64.c (freopen64): Likewise.
42604 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42607 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42608 * math/Makefile (tests): Add test-powl.
42609 (CFLAGS-test-powl.c): Define.
42610 * math/test-powl.c: New file.
42612 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42614 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42616 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42619 * iconvdata/gb18030.c: Update to GB18020-2005.
42621 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42623 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42624 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42625 Patch by Aharon Robbins <arnold@skeeve.com>.
42628 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42632 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42633 through underflows.
42636 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42637 point to strings before performing equality test for error_one_per_line
42641 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42645 (struct user_fpregs_struct): Avoid __uint*_t types.
42648 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42649 symbol info. Use it instead of calling _dl_addr locally.
42650 (lock_and_info): New function.
42651 (tr_freehook): Call lock_and_info and pass symbol info as additional
42652 parameter to tr_where.
42653 (tr_mallochook): Likewise.
42654 (tr_reallochook): Likewise.
42655 (tr_memalignhook): Likewise.
42657 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42658 used and couldn't be at all thread-safe.
42660 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42662 * libio/freopen.c (freopen): Don't close old file descriptor
42663 before the new one is opened. Instead dup the new file descriptor
42664 to the old one after the new stream is created.
42665 * libio/freopen64.c (freopen64): Likewise.
42666 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42667 * libio/fileops.c (_IO_new_file_close_it): Handle new
42668 _IO_FLAGS2_NOCLOSE flag.
42669 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42670 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42671 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42672 _IO_FLAGS2_NOCLOSE flag.
42673 * include/unistd.h: Add hidden_proto for dup3.
42674 Define __have_dup3.
42675 * io/dup3.c: Define hidden symbol.
42676 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42679 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42680 when an incomplete long option is used.
42681 * posix/tst-getopt_long1.c: New file.
42682 * posix/Makefile (tests): Add tst-getopt_long1.
42685 * scripts/config.guess: Update from autoconf-2.68.
42686 * scripts/config.sub: Likewise.
42689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42691 (has_cpuclock): ...this. New function.
42692 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42693 macro here based on has_cpuclock code.
42696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42697 First byte (not low byte) is now always NUL.
42698 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42701 Use non-cancelable interfaces.
42704 * locale/iso-639.def: Add entry for Sorani.
42707 * include/stdlib.h: Move include protection to the right place.
42708 Define abort_msg_s. Declare __abort_msg with it.
42709 * stdlib/abort.c (__abort_msg): Adjust type.
42710 * assert/assert.c (__assert_fail_base): New function. Majority
42711 of code from __assert_fail. Allocate memory for __abort_msg with
42713 (__assert_fail): Now call __assert_fail_base.
42714 * assert/assert-perr.c: Remove bulk of implementation. Use
42715 __assert_fail_base.
42716 * include/assert.hL Declare __assert_fail_base.
42717 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42719 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42721 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42725 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42726 until all modules are registered in the DTV.
42727 * elf/Makefile: Add rules to build and run tst-tls19.
42728 * elf/tst-tls19.c: New file.
42729 * elf/tst-tls19mod1.c: New file.
42730 * elf/tst-tls19mod2.c: New file.
42731 * elf/tst-tls19mod3.c: New file.
42732 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42735 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42739 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42740 two-byte sequence errors.
42741 * iconvdata/Makefile (tests): Add bug-iconv8.
42742 * iconvdata/bug-iconv8.c: New file.
42745 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42748 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42751 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42752 (dummy_getcfa): New function.
42753 (init): Get _Unwind_GetCFA address, use dummy if not found.
42754 (backtrace_helper): In recursion check, also check whether CFA changes.
42755 (__backtrace): Completely initialize arg.
42757 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42758 storing incomplete byte sequence in state object. Avoid testing for
42759 guaranteed too small input if we know there is enough data available.
42761 2011-05-11 Andreas Schwab <schwab@redhat.com>
42763 * Makeconfig (+link-pie): Indent.
42764 * Rules (binaries-pie): Define if $(have-fpie) and
42766 (binaries-shared): Also filter out $(binaries-pie).
42767 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42768 * nscd/Makefile (others-pie): Add nscd.
42769 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42770 ($(objpfx)nscd): Remove command override.
42771 * login/Makefile (others-pie): Add pt_chown.
42772 ($(objpfx)pt_chown): Remove command override.
42773 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42774 remove command overrides.
42776 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42778 * libio/tst_putwc.c: Fix error messages.
42781 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42782 currently writing and seek to current position when not.
42783 * libio/Makefile (tests): Add bug-fclose1.
42784 * libio/bug-fclose1.c: New file.
42786 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42789 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42790 don't set DF_1_NODELETE here.
42791 (do_lookup_x): When entering new entry test for copy relocation
42792 and if necessary set DF_1_NODELETE flag.
42793 * elf/tst-unique4.cc: New file.
42794 * elf/tst-unique4.h: New file.
42795 * elf/tst-unique4lib.cc: New file.
42796 * elf/Makefile: Add rules to build and run tst-unique4.
42797 Patch by Piotr Bury <pbury@goahead.com>.
42799 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42802 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42805 * misc/mntent_r.c (addmntent): Flush the stream after the output
42808 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42809 (is_trusted_path_normalize): Skip initial colon. Append slash
42810 to empty buffer. Duplicate is_trusted_path code but allow
42811 constructed patch to be prefix.
42812 (is_dst): Allow $ORIGIN followed by /.
42813 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42814 Correct testing of result of is_trusted_path_normalize
42815 (decompose_rpath): Fix warning.
42817 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42820 * grp/initgroups.c (internal_getgrouplist): When we found the service
42821 list through the initgroups entry in nsswitch.conf do not always
42822 continue on a successful lookup. Don't always use the
42823 __nss_group_database value if it is set.
42824 * nss/nsswitch.conf (initgroups): Change action for successful db
42825 lookup to continue for compatibility.
42827 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42830 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42832 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42834 * iconvdata/tst-tables.sh: Likewise.
42835 * iconvdata/cp770.c: New file.
42836 * iconvdata/cp771.c: New file.
42837 * iconvdata/cp772.c: New file.
42838 * iconvdata/cp773.c: New file.
42839 * iconvdata/cp774.c: New file.
42840 * iconvdata/testdata/CP770: New file.
42841 * iconvdata/testdata/CP770..UTF8: New file.
42842 * iconvdata/testdata/CP771: New file.
42843 * iconvdata/testdata/CP771..UTF8: New file.
42844 * iconvdata/testdata/CP772: New file.
42845 * iconvdata/testdata/CP772..UTF8: New file.
42846 * iconvdata/testdata/CP773: New file.
42847 * iconvdata/testdata/CP773..UTF8: New file.
42848 * iconvdata/testdata/CP774: New file.
42849 * iconvdata/testdata/CP774..UTF8: New file.
42851 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42853 * iconvdata/gen-8bit-gap.sh: Likewise.
42854 * iconvdata/gen-8bit.sh: Likewise.
42856 * locale/iso-639.def: Add ary entry.
42859 * locale/C-translit.h.in: Add U20A1 transliteration.
42862 * locale/iso-639.def: Add wae entry.
42863 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42866 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42870 * locale/C-translit.h.in: Add entry for U20B9.
42871 Patch by pravin.d.s@gmail.com.
42873 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42876 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42877 ENAMETOOLONG use generic getcwd.
42878 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42879 in rtld. Use *stat64.
42880 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42881 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42882 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42883 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42884 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42885 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42886 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42887 __fstatat64 macros.
42888 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42889 * dirent/rewinddir.c: Add libc_hidden_def.
42890 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42891 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42893 * include/dirent.h (__alloc_dir): Add flags parameter.
42894 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42895 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42897 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42898 from fdopendir if O_CLOEXEC is already set.
42900 2011-03-15 Alan Modra <amodra@gmail.com>
42902 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42903 l_tls_firstbyte_offset non-zero. Save padding offset in
42904 l_tls_firstbyte_offset for later use.
42905 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42906 freeing static tls block.
42908 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42910 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42911 where #ifdef was intended. The intent is to prevent ARG_MAX from
42912 being defined by the kernel headers.
42914 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42917 * resolv/resolv.h: Define RES_NOTLDQUERY.
42918 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42919 no-tld-query and set RES_NOTLDQUERY.
42920 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42921 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42922 modern BIND to search name as TLD unless forbidden.
42924 2011-05-07 Petr Baudis <pasky@suse.cz>
42925 Ulrich Drepper <drepper@gmail.com>
42928 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42929 (is_trusted_path): ...to here.
42930 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42931 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42932 using is_trusted_path_normalize() in setuid scripts.
42934 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42936 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42937 __BEGIN/__END_DECLS.
42939 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42942 NSS_STATUS_NOTFOUND if no record was found.
42944 2011-05-05 Andreas Schwab <schwab@redhat.com>
42946 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42947 (headers-not-in-tirpc): Remove rpc/netdb.h
42948 * resolv/netdb.h: Revert last change.
42950 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42952 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42953 circular dependency between libgcc.a and libc.a.
42955 2011-05-05 Andreas Schwab <schwab@redhat.com>
42957 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42958 * nis/Makefile: Don't install rpcsvc/*.
42959 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42960 instead of <rpc/types.h>.
42961 (MAXHOSTNAMELEN): Define.
42963 2011-05-03 Andreas Schwab <schwab@redhat.com>
42965 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42967 2011-04-28 Maciej Babinski <mbabinski@google.com>
42970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42971 gethostbyname4_r when IPv6 results are possible.
42973 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42976 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42977 _PC_PIPE_BUF handling.
42979 2011-04-30 Bruno Haible <bruno@clisp.org>
42982 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42983 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42985 * inet/getnameinfo.c (getnameinfo): Likewise.
42987 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42989 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42990 to groups setting in database lookup.
42991 * nss/nsswitch.conf: Add initgroups entry.
42993 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42996 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42998 Patch by Eric Blake <eblake@redhat.com>.
43000 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43002 * sunrpc/Makefile (need-export-routines): Add svc_run.
43003 (routines): Remove svc_run.
43004 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43005 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43006 * sunrpc/svc_run.c (svc_run): Likewise.
43007 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43009 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43011 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43012 problem in reallocation in last patch.
43014 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43016 * sunrpc/Makefile: Move inclusion of Rules.
43018 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43020 * nss/nss_files/files-initgroups.c: New file.
43021 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43022 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43023 _nss_files_initgroups_dyn.
43025 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43027 * elf/elf.h (R_ARM_IRELATIVE): Define.
43029 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43031 * po/ru.po: Update from translation team.
43033 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43035 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43038 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43041 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43042 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43047 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43049 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43051 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43055 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43058 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43060 * stdlib/bug-getcontext.c: New file.
43061 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43063 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43065 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43066 instructions into .machine "z9-109".
43067 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43068 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43070 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43072 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43073 between environment variables and auxiliary vector.
43075 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43077 * Makefile: Add rules to build linkobj/libc.so.
43078 * include/libc-symbols.h: Define libc_hidden_nolink.
43079 * include/rpc/auth.h: Mark functions which are to be hidden.
43080 * include/rpc/auth_des.h: Likewise.
43081 * include/rpc/auth_unix.h: Likewise.
43082 * include/rpc/clnt.h: Likewise.
43083 * include/rpc/des_crypt.h: Likewise.
43084 * include/rpc/key_prot.h: Likewise.
43085 * include/rpc/pmap_clnt.h: Likewise.
43086 * include/rpc/pmap_prot.h: Likewise.
43087 * include/rpc/pmap_rmt.h: Likewise.
43088 * include/rpc/rpc_msg.h: Likewise.
43089 * include/rpc/svc.h: Likewise.
43090 * include/rpc/svc_auth.h: Likewise.
43091 * include/rpc/xdr.h: Likewise.
43092 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43093 * nss/Makefile: Likewise.
43094 * sunrpc/Makefile: Don't install headers. Build library with normal
43095 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43096 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43097 for the compat linking library. Remove use of INTDEF/INTUSE.
43098 * sunrpc/auth_none.c: Likewise.
43099 * sunrpc/auth_unix.c: Likewise.
43100 * sunrpc/authdes_prot.c: Likewise.
43101 * sunrpc/authuxprot.c: Likewise.
43102 * sunrpc/clnt_gen.c: Likewise.
43103 * sunrpc/clnt_perr.c: Likewise.
43104 * sunrpc/clnt_raw.c: Likewise.
43105 * sunrpc/clnt_simp.c: Likewise.
43106 * sunrpc/clnt_tcp.c: Likewise.
43107 * sunrpc/clnt_udp.c: Likewise.
43108 * sunrpc/clnt_unix.c: Likewise.
43109 * sunrpc/des_crypt.c: Likewise.
43110 * sunrpc/des_soft.c: Likewise.
43111 * sunrpc/get_myaddr.c: Likewise.
43112 * sunrpc/key_call.c: Likewise.
43113 * sunrpc/key_prot.c: Likewise.
43114 * sunrpc/netname.c: Likewise.
43115 * sunrpc/pm_getmaps.c: Likewise.
43116 * sunrpc/pm_getport.c: Likewise.
43117 * sunrpc/pmap_clnt.c: Likewise.
43118 * sunrpc/pmap_prot.c: Likewise.
43119 * sunrpc/pmap_prot2.c: Likewise.
43120 * sunrpc/pmap_rmt.c: Likewise.
43121 * sunrpc/publickey.c: Likewise.
43122 * sunrpc/rpc_cmsg.c: Likewise.
43123 * sunrpc/rpc_common.c: Likewise.
43124 * sunrpc/rpc_dtable.c: Likewise.
43125 * sunrpc/rpc_prot.c: Likewise.
43126 * sunrpc/rpc_thread.c: Likewise.
43127 * sunrpc/rtime.c: Likewise.
43128 * sunrpc/svc.c: Likewise.
43129 * sunrpc/svc_auth.c: Likewise.
43130 * sunrpc/svc_authux.c: Likewise.
43131 * sunrpc/svc_raw.c: Likewise.
43132 * sunrpc/svc_run.c: Likewise.
43133 * sunrpc/svc_simple.c: Likewise.
43134 * sunrpc/svc_tcp.c: Likewise.
43135 * sunrpc/svc_udp.c: Likewise.
43136 * sunrpc/svc_unix.c: Likewise.
43137 * sunrpc/svcauth_des.c: Likewise.
43138 * sunrpc/xcrypt.c: Likewise.
43139 * sunrpc/xdr.c: Likewise.
43140 * sunrpc/xdr_array.c: Likewise.
43141 * sunrpc/xdr_float.c: Likewise.
43142 * sunrpc/xdr_intXX_t.c: Likewise.
43143 * sunrpc/xdr_mem.c: Likewise.
43144 * sunrpc/xdr_rec.c: Likewise.
43145 * sunrpc/xdr_ref.c: Likewise.
43146 * sunrpc/xdr_sizeof.c: Likewise.
43147 * sunrpc/xdr_stdio.c: Likewise.
43149 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43152 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43153 * sysdeps/ia64/dl-tls.h: Likewise.
43154 * sysdeps/powerpc/dl-tls.h: Likewise.
43155 * sysdeps/s390/dl-tls.h: Likewise.
43156 * sysdeps/sh/dl-tls.h: Likewise.
43157 * sysdeps/sparc/dl-tls.h: Likewise.
43158 * sysdeps/x86_64/dl-tls.h: Likewise.
43159 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43161 2011-03-14 Andreas Schwab <schwab@redhat.com>
43163 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43164 rpath element also skip the following colon.
43165 (expand_dynamic_string_token): Add is_path parameter and pass
43166 down to DL_DST_REQUIRED and _dl_dst_substitute.
43167 (decompose_rpath): Call expand_dynamic_string_token with
43168 non-zero is_path. Ignore empty rpaths.
43169 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43172 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43177 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43180 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43181 Patch by Filipe David Manana <fdmanana@apache.org>.
43183 2011-04-07 Andreas Schwab <schwab@redhat.com>
43185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43186 Maintain aligned stack.
43187 (CHECK_RSP): Remove unused macro.
43189 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43191 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43192 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43194 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43196 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43198 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43200 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43203 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43204 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43205 * sysdeps/x86_64/memmove.c: New file.
43206 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43207 (memcpy): Renamed to ...
43208 (__new_memcpy): This.
43209 (memcpy): Provide GLIBC_2_14 memcpy.
43210 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43211 (memcpy): Provide GLIBC_2_2_5 memcpy.
43213 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43216 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43218 2011-03-30 Andreas Schwab <schwab@redhat.com>
43220 * misc/syncfs.c: New file.
43221 * misc/Makefile (routines): Add syncfs.
43222 * posix/unistd.h: Declare syncfs.
43223 * sysdeps/unix/syscalls.list: Add syncfs.
43225 2011-04-01 Andreas Schwab <schwab@redhat.com>
43227 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43230 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43234 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43237 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43239 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43240 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43241 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43243 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43247 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43248 sync_file_range.c with -fexceptions.
43249 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43250 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43251 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43252 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43253 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43254 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43256 sync_file_range as cancellation point
43257 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43258 now a wrapper around __call_sync_file_range with cancellation handling.
43259 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43260 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43261 function name to __call_sync_file_range.
43262 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43263 Add call_sync_file_range.
43265 2011-04-01 Andreas Schwab <schwab@redhat.com>
43267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43270 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43272 * iconv/iconv.h: Fix typo in comment.
43273 * io/fcntl.h: Likewise.
43274 * libio/stdio.h: Likewise.
43275 * posix/spawn.h: Likewise.
43276 * posix/unistd.h: Likewise.
43277 * stdlib/stdlib.h: Likewise.
43278 * time/time.h: Likewise.
43279 * wcsmbs/wchar.h: Likewise.
43281 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43282 open_by_handle): Add.
43283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43284 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43285 Augment a few comments.
43286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43291 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43294 * io/fcntl.h (AT_EMPTY_PATH): Define.
43296 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43298 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43299 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43300 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43302 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43303 * Versions.def: Add GLIBC_2.14.
43304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43307 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43309 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43311 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43313 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43316 * string/test-strncmp.c (do_page_test): New function.
43317 (check2): Likewise.
43318 (test_main): Call check2.
43319 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43321 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43325 Handle cache information in CPU leaf 4.
43326 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43328 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43331 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43332 character representation.
43333 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43335 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43337 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43338 END(__isnan) to END(__isnanf) to match function entry point/label
43339 EALIGN(__isnanf,...).
43341 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43343 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43345 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43348 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43349 copy from the symbol referenced in the relocation to initialize the
43351 Patch by Piotr Bury <pbury@goahead.com>.
43352 * elf/Makefile: Add rules to build and tst-unique3.
43353 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43354 * elf/tst-unique3.cc: New file.
43355 * elf/tst-unique3.h: New file.
43356 * elf/tst-unique3lib.cc: New file.
43357 * elf/tst-unique3lib2.cc: New file.
43359 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43361 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43363 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43364 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43367 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43369 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43370 to-be-loaded object along a path to loader is ld.so.
43372 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43373 Ulrich Drepper <drepper@gmail.com>
43375 * sysdeps/x86_64/memset.S: After aligning destination, code
43376 branches to different locations depending on the value of
43377 misalignment, when multiarch is enabled. Fix this.
43379 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43381 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43382 Set _x86_64_preferred_memory_instruction for AMD processsors.
43383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43384 Set bit_Prefer_SSE_for_memop for AMD processors.
43386 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43388 * libio/fmemopen.c (fmemopen): Optimize a bit.
43390 2011-03-03 Andreas Schwab <schwab@redhat.com>
43392 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43394 2011-03-03 Roland McGrath <roland@redhat.com>
43396 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43398 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43400 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43401 __bzero_ultra1 instead of __memset_ultra1.
43403 2011-02-23 Andreas Schwab <schwab@redhat.com>
43404 Ulrich Drepper <drepper@gmail.com>
43407 * include/link.h (struct link_map): Add l_orig_initfini.
43408 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43409 returning unsuccessfully.
43410 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43411 close of a file loaded at startup, restore the original l_initfini
43413 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43414 list, store the pointer.
43415 * elf/Makefile ($(objpfx)noload-mem): New rule.
43416 (noload-ENV): Define.
43417 (tests): Add $(objpfx)noload-mem.
43418 * elf/noload.c: Include <memcheck.h>.
43419 (main): Call mtrace. Close all opened handles.
43421 2011-02-17 Andreas Schwab <schwab@redhat.com>
43424 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43425 dependencies are missing.
43427 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43429 Fix __if_freereq crash: Unlike the generic version which uses free,
43431 * sysdeps/mach/hurd/ifreq.h: New file.
43433 2011-01-27 Petr Baudis <pasky@suse.cz>
43434 Ulrich Drepper <drepper@gmail.com>
43437 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43438 to extend_alloca().
43439 * stdio-common/bug23.c: New file.
43440 * stdio-common/Makefile (tests): Add bug23.
43442 2010-09-28 Andreas Schwab <schwab@redhat.com>
43443 Ulrich Drepper <drepper@gmail.com>
43446 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43447 before performing relro protection. At old place add assertion
43448 to make sure nothing changed.
43450 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43451 Glauber de Oliveira Costa <glommer@gmail.com>
43453 * elf/elf.h: Add new ARM TLS relocs.
43455 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43458 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43460 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43462 * sysdeps/wordsize-64/tst-writev.c: New file.
43464 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43466 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43467 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43468 insns in _dl_start to prevent a TOC reference before relocs are
43471 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43474 * Makeconfig: Remove RANLIB definition.
43475 * Makerules: Don't use RANLIB.
43476 * aclocal.m4: Remove ranlib test.
43477 * configure.in: No need to check for ranlib.
43478 * elf/rtld-Rules: Don't use RANLIB.
43480 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43482 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43484 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43485 inclusion protection macro.
43487 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43488 SIGRTMIN and SIGRTMAX and print information in that case only when
43489 SIGRTMIN is defined.
43491 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43493 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43494 arginfo fn returning -1.
43496 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43497 and thousands string is zero terminated.
43499 2011-02-03 Andreas Schwab <schwab@redhat.com>
43501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43502 sysdeps/unix/sysv/linux/bits/socket.h.
43504 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43506 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43507 (__CPU_COUNT): Remove old macros.
43508 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43509 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43510 (__CPU_ALLOC, __CPU_FREE): Add macros.
43511 (__sched_cpualloc, __sched_cpufree): Add declarations.
43513 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43515 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43516 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43517 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43518 (readdhstai): Return value of addhstaiX call.
43519 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43520 (addgrbyX): Return value returned by cache_addgr.
43521 (readdgrbyname): Return value returned by addgrbyX.
43522 (readdgrbygid): Likewise.
43523 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43524 (addpwbyX): Return value returned by cache_addpw.
43525 (readdpwbyname): Return value returned by addhstbyX.
43526 (readdpwbyuid): Likewise.
43527 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43528 (addservbyX): Return value returned by cache_addserv.
43529 (readdservbyname): Return value returned by addservbyX:
43530 (readdservbyport): Likewise.
43531 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43532 (addhstbyX): Return value returned by cache_addhst.
43533 (readdhstbyname): Return value returned by addhstbyX.
43534 (readdhstbyaddr): Likewise.
43535 (readdhstbynamev6): Likewise.
43536 (readdhstbyaddrv6): Likewise.
43537 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43538 (readdinitgroups): Return value returned by addinitgroupsX.
43539 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43540 (prune_cache): Keep track of timeout value of re-added entries.
43541 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43542 * nscd/nscd.h: Adjust prototypes of readd* functions.
43544 2011-02-04 Roland McGrath <roland@redhat.com>
43546 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43547 (nis_stats): Likewise.
43548 * nis/nis_modify.c (nis_modify): Likewise.
43549 * nis/nis_remove.c (nis_remove): Likewise.
43550 * nis/nis_add.c (nis_add): Likewise.
43552 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43554 * posix/fnmatch_loop.c: Add some consts.
43556 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43558 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43561 * config.make.in (config-cflags-novzeroupper): Define.
43562 * configure.in: Substitute libc_cv_cc_novzeroupper.
43563 * elf/Makefile (AVX-CFLAGS): Define.
43564 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43565 (CFLAGS-tst-auditmod4a.c): Likewise.
43566 (CFLAGS-tst-auditmod4b.c): Likewise.
43567 (CFLAGS-tst-auditmod6b.c): Likewise.
43568 (CFLAGS-tst-auditmod6c.c): Likewise.
43569 (CFLAGS-tst-auditmod7b.c): Likewise.
43570 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43572 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43574 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43575 function to the callback.
43576 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43578 2011-02-02 Andreas Schwab <schwab@redhat.com>
43580 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43583 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43586 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43588 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43590 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43593 * elf/Makefile: Add rules to build and run new test.
43594 * elf/tst-initorder.c: New file.
43595 * elf/tst-initorder.exp: New file.
43596 * elf/tst-initordera1.c: New file.
43597 * elf/tst-initordera2.c: New file.
43598 * elf/tst-initordera3.c: New file.
43599 * elf/tst-initordera4.c: New file.
43600 * elf/tst-initorderb1.c: New file.
43601 * elf/tst-initorderb2.c: New file.
43602 * elf/tst-order-a1.c: New file.
43603 * elf/tst-order-a2.c: New file.
43604 * elf/tst-order-a3.c: New file.
43605 * elf/tst-order-a4.c: New file.
43606 * elf/tst-order-b1.c: New file.
43607 * elf/tst-order-b2.c: New file.
43608 * elf/tst-order-main.c: New file.
43609 New test case by George Gensure <werkt0@gmail.com>.
43611 2010-10-01 Andreas Schwab <schwab@redhat.com>
43613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43614 decoding ACE if AI_CANONIDN.
43616 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43618 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43620 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43622 * version.h (RELEASE): Bump for 2.13 release.
43623 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43625 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43627 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43629 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43630 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43631 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43632 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43634 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43636 * posix/getconf.c: Update copyright year.
43637 * catgets/gencat.c: Likewise.
43638 * csu/version.c: Likewise.
43639 * debug/catchsegv.sh: Likewise.
43640 * debug/xtrace.sh: Likewise.
43641 * elf/ldconfig.c: Likewise.
43642 * elf/ldd.bash.in: Likewise.
43643 * elf/sprof.c (print_version): Likewise.
43644 * iconv/iconv_prog.c: Likewise.
43645 * iconv/iconvconfig.c: Likewise.
43646 * locale/programs/locale.c: Likewise.
43647 * locale/programs/localedef.c: Likewise.
43648 * malloc/memusage.sh: Likewise.
43649 * malloc/mtrace.pl: Likewise.
43650 * nscd/nscd.c (print_version): Likewise.
43651 * nss/getent.c: Likewise.
43653 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43654 PF_CAIF, and PF_ALG.
43655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43657 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43659 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43660 (modules-names): Use them.
43661 (ifunc-test-modules, ifunc-pie-tests): Define.
43662 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43663 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43664 (test-extras): Likewise.
43665 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43666 $(compile-command.c).
43667 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43668 (all-built-dso): Define.
43669 (check-textrel.out, check-execstack.out): Depend on it.
43671 * configure.in: Don't override --enable-multi-arch.
43673 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43676 * nscd/hstcache.c (tryagain): Define.
43677 (cache_addhst): Return tryagain not notfound for temporary errors.
43678 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43681 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43684 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43685 to make the syscall.
43686 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43689 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43690 and fall back to matching as normal character if the string ends before
43691 the matching ']' is found. This is what POSIX requires.
43692 * posix/testfnm.c: Adjust test result.
43693 * posix/globtest.sh: Adjust test result. Add new test.
43694 * posix/tst-fnmatch.input: Likewise.
43695 * posix/tst-fnmatch2.c: Add new test.
43697 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43699 * elf/Makefile (check-execstack): Revert last change. Depend on
43701 (check-execstack.h): New target.
43702 (generated): Add check-execstack.h.
43703 * elf/check-execstack.c: Include "check-execstack.h".
43704 (main): Revert last change.
43705 (handle_file): Return zero if GNU_STACK is absent and
43706 DEFAULT_STACK_PERMS doesn't include PF_X.
43708 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43710 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43711 in child fails because the descriptor is already closed.
43712 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43713 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43714 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43717 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43721 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43722 temporary buffer used to handle multi lookups locally.
43723 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43725 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43727 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43730 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43732 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43733 alignment for SSE2.
43735 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43738 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43739 characters. When rounding increased number of integer digits recompute
43741 * stdio-common/tst-grouping.c: New file.
43742 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43744 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43746 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43747 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43749 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43751 * bits/select.h: Likewise.
43753 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43755 * po/ja.po: Update from translation team.
43757 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43760 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43761 implementation just like for lxstat, fxstatat, et al.
43763 2010-12-27 Jim Meyering <meyering@redhat.com>
43766 * posix/regexec.c (build_trtable): Return failure indication upon
43767 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43769 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43772 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43773 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43778 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43781 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43782 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43784 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43786 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43787 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43788 script has SORT_BY_INIT_PRIORITY.
43789 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43790 NO_CTORS_DTORS_SECTIONS is defined.
43791 * elf/soinit.c: Likewise.
43792 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43793 NO_CTORS_DTORS_SECTIONS is defined.
43794 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43795 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43796 * sysdeps/sh/init-first.c: Likewise.
43797 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43799 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43801 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43802 always use the slow path.
43804 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43806 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43807 similar rule which adds the sysdep directories to the header search in
43808 order to pick up the correct platform stackinfo.h.
43809 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43810 perform test if it is, otherwise return successfully without testing.
43811 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43812 DEFAULT_STACK_PERMS define in stackinfo.h.
43813 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43814 defined in stackinfo.h.
43815 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43816 DEFAULT_STACK_PERMS defined in stackinfo.h.
43817 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43818 * sysdeps/ia64/stackinfo.h: Likewise.
43819 * sysdeps/s390/stackinfo.h: Likewise.
43820 * sysdeps/sh/stackinfo.h: Likewise.
43821 * sysdeps/sparc/stackinfo.h: Likewise.
43822 * sysdeps/x86_64/stackinfo.h: Likewise.
43823 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43824 PF_X for powerpc64. Retain PF_X for powerpc32.
43826 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43828 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43830 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43831 GETDENTS_64BIT_ALIGNED.
43833 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43835 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43837 2010-12-10 Andreas Schwab <schwab@redhat.com>
43839 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43842 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43843 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43845 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43846 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43848 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43851 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43854 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43856 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43858 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43860 * po/it.po: Update from translation team.
43862 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43867 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43869 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43871 2010-11-24 Andreas Schwab <schwab@redhat.com>
43873 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43875 (gaih_getanswer_slice): Likewise.
43877 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43881 2010-05-31 Petr Baudis <pasky@suse.cz>
43884 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43885 silently even in the chroot mode.
43887 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43890 last patch a bit. Pretty printing
43892 2010-05-31 Petr Baudis <pasky@suse.cz>
43895 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43896 initialization of skip_initgroups_dyn.
43898 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43900 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43901 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43903 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43905 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43907 2010-11-11 Andreas Schwab <schwab@redhat.com>
43909 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43910 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43911 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43912 ($(objpfx)tst-fnmatch-mem): New rule.
43913 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43914 * posix/tst-fnmatch.c (main): Call mtrace.
43916 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43919 Support Intel processor model 6 and model 0x2c.
43921 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43923 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43926 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43929 * string/test-strncasecmp.c (check_result): New function.
43930 (do_one_test): Use it.
43931 (check1): New function.
43932 (test_main): Use it.
43933 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43934 Support strcasecmp and strncasecmp.
43936 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43939 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43942 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43944 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43948 * sysdeps/x86_64/multiarch/bzero.S: New file.
43949 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43950 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43951 * sysdeps/x86_64/multiarch/memset.S: New file.
43952 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43954 Set bit_Prefer_SSE_for_memop for Intel processors.
43955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43957 (index_Prefer_SSE_for_memop): Define.
43958 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43960 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43962 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43963 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43965 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43968 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43969 (__x86_64_raw_data_cache_size_half): Likewise.
43970 (__x86_64_raw_shared_cache_size): Likewise.
43971 (__x86_64_raw_shared_cache_size_half): Likewise.
43973 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43974 (__x86_64_raw_data_cache_size_half): Likewise.
43975 (__x86_64_raw_shared_cache_size): Likewise.
43976 (__x86_64_raw_shared_cache_size_half): Likewise.
43977 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43978 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43979 and __x86_64_raw_shared_cache_size_half. Round
43980 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43981 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43982 to multiple of 256 bytes.
43984 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43987 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43988 of inacessible symlinks. Verify result of symlink before returning it.
43989 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43990 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43992 2010-10-28 Erich Ritz <erichritz@gmail.com>
43994 * math/math.h (isinf): Fix typo in comment.
43996 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43998 * po/da.po: Update from translation team.
44000 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44002 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44003 is added to the list.
44005 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44006 Ulrich Drepper <drepper@gmail.com>
44008 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44009 the global list here. Move code to...
44010 (_dl_add_to_namespace_list): ...here. New function.
44011 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44012 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44013 * elf/dl-load.c (lose): Don't remove the element from the list.
44014 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44015 (_dl_map_object): Likewise.
44017 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44020 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44021 into all bytes of SSE register.
44022 Patch by Richard Li <richardpku@gmail.com>.
44024 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44027 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44030 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44032 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44033 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44034 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44035 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44040 2010-10-22 Andreas Schwab <schwab@redhat.com>
44042 * include/dlfcn.h (__RTLD_SECURE): Define.
44043 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44044 mode & __RTLD_SECURE instead.
44045 (open_path): Rename preloaded parameter to secure.
44046 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44047 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44048 * elf/dl-deps.c (openaux): Likewise.
44049 * elf/rtld.c (struct map_args): Remove is_preloaded.
44050 (map_doit): Don't use it.
44051 (dl_main): Likewise.
44052 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44053 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44055 2010-09-09 Andreas Schwab <schwab@redhat.com>
44057 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44058 (sysd-rules-targets): Remove duplicates.
44059 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44060 rtld-%.$o dependency.
44062 2010-10-18 Andreas Schwab <schwab@redhat.com>
44064 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44065 _dl_map_object do it.
44067 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44069 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44070 fast fma builtins, define the macros in the C99 standard.
44071 (FP_FAST_FMAF): Likewise.
44072 (FP_FAST_FMAL): Likewise.
44073 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44075 * bits/mathdef.h: Update copyright year.
44076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44078 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44080 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44081 builtins, define the macros in the C99 standard.
44082 (FP_FAST_FMAF): Likewise.
44083 (FP_FAST_FMAL): Likewise.
44084 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44086 (FP_FAST_FMAF): Likewise.
44088 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44091 * math/libm-test.inc (fma_test): Some new testcases.
44092 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44093 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44094 y and infinite z. Do multiplication by C already in long double.
44095 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44097 y and infinite z. Do bitwise or of inexact bit into u.d.
44098 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44099 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44100 * sysdeps/i386/fpu/s_fma.S: Removed.
44101 * sysdeps/i386/fpu/s_fmal.S: Removed.
44103 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44106 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44108 computation is not scheduled after fetestexcept. Fix value
44109 of minimum denormal long double.
44111 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44114 * math/libm-test.inc (fma_test): Add some more tests.
44115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44118 2010-10-15 Andreas Schwab <schwab@redhat.com>
44120 * scripts/data/localplt-s390-linux-gnu.data: New file.
44121 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44123 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44126 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44127 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44129 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44131 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44133 if one of x and y is very large and the other is subnormal.
44134 * sysdeps/s390/fpu/s_fmaf.c: New file.
44135 * sysdeps/s390/fpu/s_fma.c: New file.
44136 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44137 * sysdeps/powerpc/fpu/s_fma.S: New file.
44138 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44139 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44140 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44142 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44145 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44148 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44149 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44150 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44151 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44152 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44155 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44158 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44159 * posix/bug-regex31.input: Add test case.
44161 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44163 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44164 * posix/bug-regex31.input: New file.
44167 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44168 (parse_sub_exp): Fix last change, use postorder.
44170 * posix/bug-regex31.c: New file.
44171 * posix/Makefile: Add rules to build and run bug-regex31.
44173 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44176 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44179 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44180 to have entries in sys_siglist.
44183 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44186 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44189 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44190 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44191 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44192 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44193 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44194 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44195 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44196 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44197 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44198 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44199 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44200 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44201 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44202 * math/ftestexcept.c (fetestexcept): Likewise.
44203 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44204 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44205 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44206 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44207 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44208 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44209 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44211 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44214 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44217 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44219 * string/bug-strstr1.c: New file.
44220 * string/Makefile: Add rules to build and run bug-strstr1.
44222 2010-10-05 Eric Blake <eblake@redhat.com>
44225 * string/str-two-way.h (two_way_long_needle): Always clear memory
44226 when skipping input due to the shift table.
44228 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44231 * malloc/mcheck.c: Handle large requests.
44234 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44235 for strncmp and strncasecmp.
44236 * string/stratcliff.c: Add tests for strcmp and strncmp.
44237 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44239 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44241 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44244 2010-09-30 Andreas Jaeger <aj@suse.de>
44246 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44247 (CGROUP_SUPER_MAGIC): Define.
44248 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44249 Handle btrfs and cgroup file systems.
44250 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44253 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44255 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44256 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44258 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44261 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44262 trying to locate the ELF header.
44264 2010-09-27 Andreas Schwab <schwab@redhat.com>
44267 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44268 Mask out sign-bit copies when constructing f_fsid.
44270 2010-09-24 Petr Baudis <pasky@suse.cz>
44272 * debug/stack_chk_fail_local.c: Add missing licence exception.
44273 * debug/warning-nop.c: Likewise.
44275 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44278 implementing getdents64 using getdents syscall, set d_type if
44279 __ASSUME_GETDENTS32_D_TYPE.
44281 2010-09-16 Andreas Schwab <schwab@redhat.com>
44283 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44284 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44286 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44289 * posix/unistd.h: Undo change of feature selection for ftruncate from
44292 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44294 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44297 2010-09-20 Andreas Schwab <schwab@redhat.com>
44299 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44303 2010-09-14 Andreas Schwab <schwab@redhat.com>
44305 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44306 variables after CHECK_SP call.
44307 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44309 2010-09-13 Andreas Schwab <schwab@redhat.com>
44310 Ulrich Drepper <drepper@redhat.com>
44312 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44313 re-relocationg ld.so.
44314 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44315 _dl_init_paths call.
44316 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44319 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44321 * resolv/res_init.c (__res_vinit): Count the default server we added.
44323 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44324 Ulrich Drepper <drepper@redhat.com>
44327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44328 (____longjmp_chk): Use %ebx for saving value across system call.
44331 2010-09-06 Andreas Schwab <schwab@redhat.com>
44333 * manual/Makefile: Don't mix pattern rules with normal rules.
44335 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44337 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44339 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44340 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44341 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44342 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44346 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44349 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44350 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44352 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44354 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44355 * sysdeps/x86_64/addmul_1.S: Likewise.
44356 * sysdeps/x86_64/lshift.S: Likewise.
44357 * sysdeps/x86_64/mul_1.S: Likewise.
44358 * sysdeps/x86_64/rshift.S: Likewise.
44359 * sysdeps/x86_64/sub_n.S: Likewise.
44360 * sysdeps/x86_64/submul_1.S: Likewise.
44362 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44364 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44365 Define __sched_param instead of SCHED_* and sched_param when
44366 <bits/sched.h> is included with __need_schedparam defined.
44367 * bits/sched.h [__need_schedparam]
44368 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44369 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44370 (__defined_schedparam): Define to 1.
44371 (__sched_param): New structure, identical to sched_param.
44372 (__need_schedparam): Undefine.
44374 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44376 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44377 (epoll_create1): Declare.
44379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44381 2010-08-31 Andreas Schwab <schwab@redhat.com>
44384 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44385 shifting retval into place.
44387 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44389 * nis/rpcsvc/nis.h: Update copyright notice.
44390 * nis/rpcsvc/nis.x: Likewise.
44391 * nis/rpcsvc/nis_callback.h: Likewise.
44392 * nis/rpcsvc/nis_callback.x: Likewise.
44393 * nis/rpcsvc/nis_object.x: Likewise.
44394 * nis/rpcsvc/nis_tags.h: Likewise.
44395 * nis/rpcsvc/yp.h: Likewise.
44396 * nis/rpcsvc/yp.x: Likewise.
44397 * nis/rpcsvc/ypupd.h: Likewise.
44398 * nis/yp_xdr.c: Likewise.
44399 * nis/ypupdate_xdr.c: Likewise.
44401 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44402 mainly the body of pmap_getport. Add parameters to specify timeouts.
44403 (pmap_getport): Use __libc_rpc_getport.
44404 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44405 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44406 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44408 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44413 2010-08-27 Roland McGrath <roland@redhat.com>
44415 * sysdeps/i386/i686/multiarch/Makefile
44416 (CFLAGS-varshift.c): New variable.
44418 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44420 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44421 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44425 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44427 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44429 * sysdeps/x86_64/strlen.S: Unroll the loop.
44430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44431 strlen-sse2 strlen-sse2-bsf.
44432 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44433 __strlen_no_bsf if bit_Slow_BSF is set.
44434 (__strlen_sse42): Removed.
44435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44436 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44438 2010-08-25 Roland McGrath <roland@redhat.com>
44440 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44441 * sysdeps/x86_64/multiarch/varshift.c: New file.
44442 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44443 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44444 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44445 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44447 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44450 strlen-sse2 strlen-sse2-bsf.
44451 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44452 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44453 (__strlen_sse2): Removed.
44454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44457 bit_Slow_BSF for Atom.
44458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44459 (index_Slow_BSF): Define.
44460 (HAS_SLOW_BSF): Define.
44462 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44465 * resolv/res_init.c (__res_vinit): When no server address at all
44466 is given default to loopback.
44468 2010-08-24 Roland McGrath <roland@redhat.com>
44470 * configure.in: Remove config-name.h generation.
44471 * configure: Regenerated.
44472 * config-name.in: File removed.
44473 * scripts/config-uname.sh: New file.
44474 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44475 ($(objdir)config-name.h): New target.
44477 * sunrpc/rpc_parse.h: Avoid nested comment.
44479 2010-08-24 Richard Henderson <rth@redhat.com>
44480 Ulrich Drepper <drepper@redhat.com>
44481 H.J. Lu <hongjiu.lu@intel.com>
44483 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44485 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44486 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44487 _mm_alignr_epi8 with _mm_loadu_si128.
44488 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44489 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44490 (__m128i_shift_right): Removed.
44491 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44492 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44493 * sysdeps/x86_64/multiarch/varshift.h: New file.
44494 * sysdeps/x86_64/multiarch/varshift.S: New file.
44496 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44498 * configure.in: Move assembler checks to before sysdep dir checking.
44500 2010-08-20 Petr Baudis <pasky@suse.cz>
44502 * LICENSES: Sync the sunrpc license.
44504 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44506 * sunrpc/auth_des.c: Update copyright notice once again.
44507 * sunrpc/auth_none.c: Likewise.
44508 * sunrpc/auth_unix.c: Likewise.
44509 * sunrpc/authdes_prot.c: Likewise.
44510 * sunrpc/authuxprot.c: Likewise.
44511 * sunrpc/bindrsvprt.c: Likewise.
44512 * sunrpc/clnt_gen.c: Likewise.
44513 * sunrpc/clnt_perr.c: Likewise.
44514 * sunrpc/clnt_raw.c: Likewise.
44515 * sunrpc/clnt_simp.c: Likewise.
44516 * sunrpc/clnt_tcp.c: Likewise.
44517 * sunrpc/clnt_udp.c: Likewise.
44518 * sunrpc/clnt_unix.c: Likewise.
44519 * sunrpc/des_crypt.c: Likewise.
44520 * sunrpc/des_soft.c: Likewise.
44521 * sunrpc/get_myaddr.c: Likewise.
44522 * sunrpc/getrpcport.c: Likewise.
44523 * sunrpc/key_call.c: Likewise.
44524 * sunrpc/key_prot.c: Likewise.
44525 * sunrpc/openchild.c: Likewise.
44526 * sunrpc/pm_getmaps.c: Likewise.
44527 * sunrpc/pm_getport.c: Likewise.
44528 * sunrpc/pmap_clnt.c: Likewise.
44529 * sunrpc/pmap_prot.c: Likewise.
44530 * sunrpc/pmap_prot2.c: Likewise.
44531 * sunrpc/pmap_rmt.c: Likewise.
44532 * sunrpc/rpc/auth.h: Likewise.
44533 * sunrpc/rpc/auth_unix.h: Likewise.
44534 * sunrpc/rpc/clnt.h: Likewise.
44535 * sunrpc/rpc/des_crypt.h: Likewise.
44536 * sunrpc/rpc/key_prot.h: Likewise.
44537 * sunrpc/rpc/netdb.h: Likewise.
44538 * sunrpc/rpc/pmap_clnt.h: Likewise.
44539 * sunrpc/rpc/pmap_prot.h: Likewise.
44540 * sunrpc/rpc/pmap_rmt.h: Likewise.
44541 * sunrpc/rpc/rpc.h: Likewise.
44542 * sunrpc/rpc/rpc_des.h: Likewise.
44543 * sunrpc/rpc/rpc_msg.h: Likewise.
44544 * sunrpc/rpc/svc.h: Likewise.
44545 * sunrpc/rpc/svc_auth.h: Likewise.
44546 * sunrpc/rpc/types.h: Likewise.
44547 * sunrpc/rpc/xdr.h: Likewise.
44548 * sunrpc/rpc_clntout.c: Likewise.
44549 * sunrpc/rpc_cmsg.c: Likewise.
44550 * sunrpc/rpc_common.c: Likewise.
44551 * sunrpc/rpc_cout.c: Likewise.
44552 * sunrpc/rpc_dtable.c: Likewise.
44553 * sunrpc/rpc_hout.c: Likewise.
44554 * sunrpc/rpc_main.c: Likewise.
44555 * sunrpc/rpc_parse.c: Likewise.
44556 * sunrpc/rpc_parse.h: Likewise.
44557 * sunrpc/rpc_prot.c: Likewise.
44558 * sunrpc/rpc_sample.c: Likewise.
44559 * sunrpc/rpc_scan.c: Likewise.
44560 * sunrpc/rpc_scan.h: Likewise.
44561 * sunrpc/rpc_svcout.c: Likewise.
44562 * sunrpc/rpc_tblout.c: Likewise.
44563 * sunrpc/rpc_util.c: Likewise.
44564 * sunrpc/rpc_util.h: Likewise.
44565 * sunrpc/rpcinfo.c: Likewise.
44566 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44567 * sunrpc/rpcsvc/key_prot.x: Likewise.
44568 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44569 * sunrpc/rpcsvc/mount.x: Likewise.
44570 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44571 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44572 * sunrpc/rpcsvc/rex.x: Likewise.
44573 * sunrpc/rpcsvc/rstat.x: Likewise.
44574 * sunrpc/rpcsvc/rusers.x: Likewise.
44575 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44576 * sunrpc/rpcsvc/spray.x: Likewise.
44577 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44578 * sunrpc/rtime.c: Likewise.
44579 * sunrpc/svc.c: Likewise.
44580 * sunrpc/svc_auth.c: Likewise.
44581 * sunrpc/svc_authux.c: Likewise.
44582 * sunrpc/svc_raw.c: Likewise.
44583 * sunrpc/svc_run.c: Likewise.
44584 * sunrpc/svc_simple.c: Likewise.
44585 * sunrpc/svc_tcp.c: Likewise.
44586 * sunrpc/svc_udp.c: Likewise.
44587 * sunrpc/svc_unix.c: Likewise.
44588 * sunrpc/svcauth_des.c: Likewise.
44589 * sunrpc/xcrypt.c: Likewise.
44590 * sunrpc/xdr.c: Likewise.
44591 * sunrpc/xdr_array.c: Likewise.
44592 * sunrpc/xdr_float.c: Likewise.
44593 * sunrpc/xdr_mem.c: Likewise.
44594 * sunrpc/xdr_rec.c: Likewise.
44595 * sunrpc/xdr_ref.c: Likewise.
44596 * sunrpc/xdr_sizeof.c: Likewise.
44597 * sunrpc/xdr_stdio.c: Likewise.
44599 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44602 2010-08-19 Andreas Schwab <schwab@redhat.com>
44604 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44606 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44608 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44609 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44610 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44611 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44612 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44613 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44614 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44615 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44617 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44618 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44619 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44620 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44621 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44623 2010-07-26 Anton Blanchard <anton@samba.org>
44625 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44626 * malloc/arena.c (heap_trim): Likewise.
44628 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44630 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44633 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44635 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44637 * sysdeps/i386/elf/Makefile: New file.
44639 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44641 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44642 from fanotify_init.
44643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44644 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44646 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44648 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44650 * sysdeps/multiarch/strcmp.S: Likewise.
44652 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44654 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44655 strncase_l-nonascii.
44656 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44657 Add strncase_l-ssse3.
44658 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44659 * sysdeps/x86_64/strcmp.S: Likewise.
44660 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44661 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44662 * sysdeps/x86_64/strncase.S: New file.
44663 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44664 * sysdeps/x86_64/strncase_l.S: New file.
44665 * string/Makefile (strop-tests): Add strncasecmp.
44666 * string/test-strncasecmp.c: New file.
44668 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44671 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44672 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44674 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44676 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44678 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44680 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44681 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44682 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44684 2010-05-01 Alan Modra <amodra@gmail.com>
44686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44687 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44688 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44689 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44690 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44691 tidying. Don't tail-call __sigjmp_save for static lib.
44692 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44694 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44695 (CALL_MCOUNT): Add eh info, and nop after bl.
44696 (TAIL_CALL_SYSCALL_ERROR): New macro.
44697 (PSEUDO_RET): Use it.
44698 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44699 Correct save location of integer regs and cr.
44700 (_dl_profile_resolve): Correct cr save location. Delete nops
44701 after bl when SHARED. Reduce cfi size a little by better
44702 placement of cfi directives.
44703 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44704 make a stack frame. Instead use parm save area as a temp.
44705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44706 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44708 Don't make a stack frame for parent, use parm save area.
44709 Increase child stack frame to 112 bytes. Don't save unused reg,
44710 and adjust reg usage. Set up cfi on error recovery and
44711 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44713 (__makecontext): Add dummy nop after jump to exit.
44714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44715 Use correct parm save area and cr save, reduce stack frame.
44716 Correct cfi for possible PSEUDO_RET frame setup.
44717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44718 Branch to local label emitted by PSEUDO_RET rather than
44721 2010-08-12 Andreas Schwab <schwab@redhat.com>
44724 * locale/programs/locale.c (print_assignment): New function.
44725 (show_locale_vars): Use it.
44727 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44729 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44731 (struct statfs64): Likewise.
44732 (_STATFS_F_FLAGS): Define.
44733 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44735 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44736 (ST_VALID): Define locally.
44737 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44738 __statvfs_getflags, use the provided value.
44739 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44740 __ASSUME_STATFS_F_FLAGS.
44742 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44744 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44745 Add sys/fanotify.h.
44746 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44747 fanotify_mask for GLIBC_2.13.
44748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44749 fanotify_init and fanotify_mark.
44750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44751 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44753 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44755 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44756 prlimit64 for GLIBC_2.13.
44757 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44762 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44763 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44764 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44767 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44770 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44771 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44773 * nss/Makefile: Add rules to build and run tst-nss-test1.
44774 * shlib-versions: Add entry for libnss_test1.
44775 * nss/nss_test1.c: New file.
44776 * nss/tst-nss-test1.c: New file.
44778 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44779 (__nss_configure_lookup): Set appropriate entry in
44780 __nss_configure_lookup to true.
44781 * nss/nsswitch.h: Define enum with indeces of databases in
44782 databases and __nss_database_custom arrays. Declare
44783 __nss_database_custom.
44784 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44785 to avoid using nscd when custom rules are installed.
44786 * nss/getXXbyYY_r.c: Likewise.
44787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44789 * nss/nss_files/files-parse.c: Whitespace fixes.
44791 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44794 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44795 * posix/fnmatch_loop.c: Likewise.
44797 2010-07-17 Andi Kleen <ak@linux.intel.com>
44799 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44800 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44801 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44802 * Versions.def [GLIBC_2.13]: Add.
44804 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44806 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44807 Also fail if tpwd after pwuid call is NULL.
44809 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44811 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44812 when converting to ms.
44814 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44816 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44817 EOPNOTSUPP errors with ENOTTY.
44818 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44819 EOPNOTSUPP errors with ENOTTY.
44821 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44823 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44824 Add strcasecmp_l-ssse3.
44825 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44827 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44828 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44829 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44831 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44833 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44835 * string/Makefile (strop-tests): Add strcasecmp.
44836 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44837 strcasecmp_l-nonascii.
44838 (gen-as-const-headers): Add locale-defines.sym.
44839 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44840 * sysdeps/x86_64/strcasecmp.S: New file.
44841 * sysdeps/x86_64/strcasecmp_l.S: New file.
44842 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44843 * sysdeps/x86_64/locale-defines.sym: New file.
44844 * string/test-strcasecmp.c: New file.
44846 * string/test-strcasestr.c: Test both ends of the range of characters.
44847 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44849 2010-07-29 Roland McGrath <roland@redhat.com>
44852 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44854 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44856 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44859 2010-07-27 Andreas Schwab <schwab@redhat.com>
44861 * manual/memory.texi (Malloc Tunable Parameters): Document
44864 2010-07-26 Roland McGrath <roland@redhat.com>
44867 * configure.in (-fgnu89-inline check): Set and substitute
44868 gnu89_inline, not libc_cv_gnu89_inline.
44869 * configure: Regenerated.
44870 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44872 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44874 * string/test-strnlen.c: New file.
44875 * string/Makefile (strop-tests): Add strnlen.
44876 * string/tester.c (test_strnlen): Add a few more test cases.
44877 * string/tst-strlen.c: Better error reporting.
44879 * sysdeps/x86_64/strnlen.S: New file.
44881 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44884 lower-latency instructions.
44886 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44888 * string/test-strcasestr.c: New file.
44889 * string/test-strstr.c: New file.
44890 * string/Makefile (strop-tests): Add strstr and strcasestr.
44891 * string/str-two-way.h: Don't undefine MAX.
44892 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44894 2010-07-21 Andreas Schwab <schwab@redhat.com>
44896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44897 strcasestr-nonascii.
44898 (CFLAGS-strcasestr-nonascii.c): Define.
44899 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44901 Remove unused attribute.
44903 2010-07-20 Roland McGrath <roland@redhat.com>
44905 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44906 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44907 ld.so.cache was broken. With it, there is no way to disable dsocaps
44908 like LD_HWCAP_MASK can disable hwcaps.
44910 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44912 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44914 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44916 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44917 call in strcasestr.
44918 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44919 __strcasestr_sse42_nonascii.
44920 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44921 strcasestr-nonascii.c.
44922 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44924 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44926 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44927 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44928 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44929 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44931 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44936 2010-07-06 Andreas Schwab <schwab@redhat.com>
44939 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44942 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44944 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44945 _PC_PIPE_BUF using F_GETPIPE_SZ.
44947 2010-07-05 Roland McGrath <roland@redhat.com>
44949 * manual/arith.texi (Rounding Functions): Fix rint description
44950 implicit in round description.
44952 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44954 * elf/Makefile: Fix linking for a few tests to make recent linker
44957 2010-06-30 Andreas Schwab <schwab@redhat.com>
44959 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44960 $(common-objpfx)libc_nonshared.a.
44962 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44964 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44965 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44966 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44967 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44968 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44969 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44970 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44971 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44986 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44987 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44988 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44989 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44990 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44991 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44992 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44993 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44994 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44995 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44996 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44997 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45013 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45015 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45016 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45017 * string/memmove.c (memmove): Renamed to ...
45018 (MEMMOVE): ...this. Default to memmove.
45019 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45020 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45023 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45024 mempcpy-ssse3-back memmove-ssse3-back.
45025 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45027 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45028 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45029 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45030 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45031 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45032 * sysdeps/x86_64/multiarch/memmove.c: New file.
45033 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45034 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45035 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45036 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45037 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45040 (index_Fast_Copy_Backward): Define.
45041 (HAS_ARCH_FEATURE): Define.
45042 (HAS_FAST_REP_STRING): Define.
45043 (HAS_FAST_COPY_BACKWARD): Define.
45045 2010-06-21 Andreas Schwab <schwab@redhat.com>
45047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45048 Restore proper fallback handling.
45050 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45053 * posix/group_member.c (__group_member): Correct checking loop.
45055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45056 OOM in getpwuid_r correctly. Return error number when the caller
45057 should return, otherwise -1.
45058 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45059 call returning > 0 value.
45060 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45062 2010-06-07 Andreas Schwab <schwab@redhat.com>
45064 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45065 libc_nonshared.a from targets in modules-names.
45067 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45069 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45072 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45074 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45075 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45079 2010-06-02 Andreas Schwab <schwab@redhat.com>
45081 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45083 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45085 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45087 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45088 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45091 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45092 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45094 2010-06-14 Roland McGrath <roland@redhat.com>
45096 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45098 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45100 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45101 __REDIRECT followed by __THROW.
45102 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45103 * posix/getopt.h (getopt): Likewise.
45105 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45107 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45108 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45109 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45111 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45112 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45114 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45116 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45118 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45122 Properly check family and model.
45124 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45126 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45128 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45130 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45132 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45134 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45137 2010-05-19 Andreas Schwab <schwab@redhat.com>
45139 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45142 2010-05-21 Andreas Schwab <schwab@redhat.com>
45144 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45145 and internal_recvmmsg.
45146 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45147 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45148 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45149 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45151 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45152 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45153 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45155 2010-05-20 Andreas Schwab <schwab@redhat.com>
45157 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45159 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45161 POWER7 optimizations.
45162 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45163 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45165 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45167 * version.h: Update for 2.13 development version.
45169 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45171 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45172 exceptions. Return 0.
45174 2010-05-07 Roland McGrath <roland@redhat.com>
45176 * elf/ldconfig.c (main): Add a const.
45178 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45180 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45181 (args_options): Add no-idn option.
45182 (ahosts_keys_int): Add idn_flags to ai_flags.
45183 (parse_option): Handle 'i' option to clear idn_flags.
45185 * malloc/malloc.c (_int_free): Possible race in the most recently
45186 added check. Only act on the data if no current modification
45189 See ChangeLog.17 for earlier changes.